Class NoneCompressionProvider

    • Constructor Detail

      • NoneCompressionProvider

        public NoneCompressionProvider()
    • Method Detail

      • supportsInput

        public boolean supportsInput()
        Description copied from interface: CompressionProvider
        Whether this compression provider supports input streams
        Specified by:
        supportsInput in interface CompressionProvider
        Returns:
        true if the provider supports input streams, false otherwise
      • supportsOutput

        public boolean supportsOutput()
        Description copied from interface: CompressionProvider
        Whether this compression provider supports output streams
        Specified by:
        supportsOutput in interface CompressionProvider
        Returns:
        true if the provider supports output streams, false otherwise
      • getDescription

        public String getDescription()
        Gets the description for the compression provider.
        Specified by:
        getDescription in interface CompressionProvider
        Returns:
        a description of the provider. For core plugins this needs to match what's in the XML file
      • getName

        public String getName()
        Gets the name for the compression provider.
        Specified by:
        getName in interface CompressionProvider
        Returns:
        the name of the provider. For core plugins this needs to match what's in the XML file
      • getDefaultExtension

        public String getDefaultExtension()
        Description copied from interface: CompressionProvider
        Gets the default file extension for this provider. If the streams are wrapped in File streams, this method can be used to determine an appropriate extension to append to the filename so the file will be recognized as an artifact of the compression mechanism (.zip, .bz2, e.g.)
        Specified by:
        getDefaultExtension in interface CompressionProvider
        Returns:
        A String containing the default file extension for this provider