Class ArjArchiveInputStream

    • Constructor Detail

      • ArjArchiveInputStream

        public ArjArchiveInputStream​(InputStream inputStream,
                                     String charsetName)
                              throws ArchiveException
        Constructs the ArjInputStream, taking ownership of the inputStream that is passed in.
        Parameters:
        inputStream - the underlying stream, whose ownership is taken
        charsetName - the charset used for file names and comments in the archive. May be null to use the platform default.
        Throws:
        ArchiveException - if an exception occurs while reading
      • ArjArchiveInputStream

        public ArjArchiveInputStream​(InputStream inputStream)
                              throws ArchiveException
        Constructs the ArjInputStream, taking ownership of the inputStream that is passed in, and using the CP437 character encoding.
        Parameters:
        inputStream - the underlying stream, whose ownership is taken
        Throws:
        ArchiveException - if an exception occurs while reading