Class ArArchiveOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class ArArchiveOutputStream extends ArchiveOutputStream<ArArchiveEntry>
Implements the "ar" archive format as an output stream.
  • Field Details

    • LONGFILE_ERROR

      public static final int LONGFILE_ERROR
      Fail if a long file name is required in the archive.
      See Also:
    • LONGFILE_BSD

      public static final int LONGFILE_BSD
      BSD ar extensions are used to store long file names in the archive.
      See Also:
    • out

      private final OutputStream out
    • entryOffset

      private long entryOffset
    • prevEntry

      private ArArchiveEntry prevEntry
    • haveUnclosedEntry

      private boolean haveUnclosedEntry
    • longFileMode

      private int longFileMode
    • finished

      private boolean finished
      indicates if this archive is finished
  • Constructor Details

    • ArArchiveOutputStream

      public ArArchiveOutputStream(OutputStream out)
  • Method Details