Class FilterOptions

java.lang.Object
com.idrsolutions.image.filter.FilterOptions
Direct Known Subclasses:
ASCII85FilterOptions, ASCIIHexFilterOptions, CCITTFilterOptions, DCTFilterOptions, JBIG2FilterOptions, JPXFilterOptions, PredictorFilterOptions, RunLengthFilterOptions

public abstract class FilterOptions extends Object
Base class for options used by subclasses of Filter
  • Constructor Details

  • Method Details

    • getMode

      public FilterOptions.FilterMode getMode()
      Get Returns the mode of the filter.: Decompress or Compress
      Returns:
      the mode of the filter
    • setMode

      public void setMode(FilterOptions.FilterMode mode)
      Set the mode of the filter: Decompress or Compress
      Parameters:
      mode - The new mode for the filter
    • getFilter

      public abstract Filter getFilter()
      Get an instance of the filter that uses these options
      Returns:
      The filter represented by these options
      Implementation Note:
      Subclasses should override this to provide their own Filter