Class BZip2FileType


  • public class BZip2FileType
    extends FileType
    A BZip2FileType represents file compressed with bzip2.
    Version:
    $Revision: 305 $
    Author:
    $Author: $
    • Method Detail

      • createInputStream

        protected java.io.InputStream createInputStream()
                                                 throws java.io.IOException
        Description copied from class: FileType
        Creates an InputStream for the underlying file.
        Overrides:
        createInputStream in class FileType
        Returns:
        an InputStream of the underlying file.
        Throws:
        java.io.IOException - If the file cannot be opened for reading
      • createOutputStream

        protected java.io.OutputStream createOutputStream()
                                                   throws java.io.IOException
        Description copied from class: FileType
        Creates an OutputStream for the underlying file.
        Overrides:
        createOutputStream in class FileType
        Returns:
        an OutputStream of the underlying file.
        Throws:
        java.io.IOException - If the file cannot be opened for writing
      • getInnerName

        public java.lang.String getInnerName()
        Description copied from class: FileType
        Returns the most inner name of the FileType. Will be overwritten in ZipFileType
        Overrides:
        getInnerName in class FileType
        Returns:
        the most inner name of a FileType.
        See Also:
        FileType.getInnerName()