Class HHCFilter2

  • All Implemented Interfaces:
    IFilter

    public class HHCFilter2
    extends HTMLFilter2
    A filter to translate HHC and HHK files.

    • Constructor Detail

      • HHCFilter2

        public HHCFilter2()
    • Method Detail

      • getDefaultInstances

        public Instance[] getDefaultInstances()
        Description copied from class: AbstractFilter
        The default list of filter instances that this filter class has. One filter class may have different filter instances, different by source file mask, encoding of the source file etc.

        Note that the user may change the instances freely.

        Specified by:
        getDefaultInstances in interface IFilter
        Overrides:
        getDefaultInstances in class HTMLFilter2
        Returns:
        Default filter instances
      • getHint

        public java.lang.String getHint()
        Returns the editing hint for HHC filter.

        In English, the hint is as follows:
        Note: Source File Encoding setting affects only the HHC and HHK files that have no encoding declaration inside. If a HHC or HHK file has an encoding declaration, it will be used disregarding any value you set in this dialog.

        Specified by:
        getHint in interface IFilter
        Overrides:
        getHint in class HTMLFilter2
        Returns:
        The hint for editing the filter in a non-geek language.
      • hasOptions

        public boolean hasOptions()
        Returns true to indicate that a filter has options.
        Specified by:
        hasOptions in interface IFilter
        Overrides:
        hasOptions in class HTMLFilter2
        Returns:
        False, because HHC filter has no options.