Class FromFileHandler

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, ContentHandler, Serializable

    public class FromFileHandler
    extends AbstractContentHandler
    Displays files using the preview handler configuration (command-line or nested format) stored in the specified file.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -configuration <> (property: configuration)
        The file with the preview handler configuration to use (command-line or
        nested format).
        default: ${CWD}
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Configuration

        protected PlaceholderFile m_Configuration
        the file with the configuration.
    • Constructor Detail

      • FromFileHandler

        public FromFileHandler()
    • Method Detail

      • setConfiguration

        public void setConfiguration​(PlaceholderFile value)
        Sets the file with the preview handler configuration to use.
        value - the configuration to use
      • getConfiguration

        public PlaceholderFile getConfiguration()
        Returns the file with the preview handler configuration in use.
        the configuration to use
      • configurationTipText

        public String configurationTipText()
        Returns the tip text for this property.
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getExtensions

        public String[] getExtensions()
        Returns the list of extensions (without dot) that this handler can take care of.
        the list of extensions (no dot)