bundles/org.tukani.xz/src/org/tukaani/xz/XZOutputStream.java
public void updateFilters(FilterOptions filterOptions)
            throws XZIOException {
        FilterOptions[] opts = new FilterOptions[1];
        opts[0] = filterOptions;
        updateFilters(opts);
    }
public void updateFilters(FilterOptions filterOptions)
            throws XZIOException {
        FilterOptions[] opts = new FilterOptions[1];
        opts[0] = filterOptions;
        updateFilters(opts);
    }
public void updateFilters ( FilterOptions filterOptions ) throws XZIOException { FilterOptions [ ] opts = new FilterOptions [ 1 ] ; opts [ 0 ] = filterOptions ; updateFilters ( opts ) ; }
Updates the filter chain with a single filter.
This is equivalent to passing a single-member FilterOptions array
to <code>updateFilters(FilterOptions[])</code>.

@param       filterOptions
new filter to use

@throws      UnsupportedOptionsException
unsupported filter chain, or trying to change
the filter chain in the middle of a Block
Updates the filter chain with a single filter . This is equivalent to passing a single - member FilterOptions array to <code > updateFilters ( FilterOptions [] ) < / code > .