bundles/org.tukani.xz/src/org/tukaani/xz/LZMA2Options.java
public void setMode(int mode) throws UnsupportedOptionsException {
        if (mode < MODE_UNCOMPRESSED || mode > MODE_NORMAL)
            throw new UnsupportedOptionsException(
                    "Unsupported compression mode: " + mode);

        this.mode = mode;
    }
public void setMode(int mode) throws UnsupportedOptionsException {
        if (mode < MODE_UNCOMPRESSED || mode > MODE_NORMAL)
            throw new UnsupportedOptionsException(
                    "Unsupported compression mode: " + mode);

        this.mode = mode;
    }
public void setMode ( int mode ) throws UnsupportedOptionsException { if ( mode < MODE_UNCOMPRESSED || mode > MODE_NORMAL ) throw new UnsupportedOptionsException ( "Unsupported compression mode: " + mode ) ; this . mode = mode ; }
Sets the compression mode.
<p>
This specifies the method to analyze the data produced by
a match finder. The default is <code>MODE_FAST</code> for presets
0-3 and <code>MODE_NORMAL</code> for presets 4-9.
<p>
Usually <code>MODE_FAST</code> is used with Hash Chain match finders
and <code>MODE_NORMAL</code> with Binary Tree match finders. This is
also what the presets do.
<p>
The special mode <code>MODE_UNCOMPRESSED</code> doesn't try to
compress the data at all (and doesn't use a match finder) and will
simply wrap it in uncompressed LZMA2 chunks.

@throws      UnsupportedOptionsException
<code>mode</code> is not supported
Sets the compression mode . <p > This specifies the method to analyze the data produced by a match finder . The default is <code > MODE_FAST< / code > for presets 0 - 3 and <code > MODE_NORMAL< / code > for presets 4 - 9 . <p > Usually <code > MODE_FAST< / code > is used with Hash Chain match finders and <code > MODE_NORMAL< / code > with Binary Tree match finders . This is also what the presets do . <p > The special mode <code > MODE_UNCOMPRESSED< / code > doesn t try to compress the data at all ( and doesn t use a match finder ) and will simply wrap it in uncompressed LZMA2 chunks .