Class UnTARNode


  • public class UnTARNode
    extends AbstractUnArchiveNode
    A Node used to untar the data contained in the input streams, i.e. unpack data archived using the GNU tar format. Each file within the TAR archive will produce a corresponding Stream in the output bundle.

    Archives in the .tar.gz or .tgz format (GZIP compressed TARs) must first be filtered through the UnGZIPNode in order to undo the GZIP compression.

    • Field Detail

      • DEFAULT_RCDSIZE

        public static final int DEFAULT_RCDSIZE
        The default record size (512 bytes).
        See Also:
        Constant Field Values
      • DEFAULT_BLKSIZE

        public static final int DEFAULT_BLKSIZE
        The default block size (20 times the default record size).
        See Also:
        Constant Field Values
    • Constructor Detail

      • UnTARNode

        public UnTARNode()
    • Method Detail

      • getRecordSize

        public int getRecordSize()
        Returns:
        the record size
      • setRecordSize

        public void setRecordSize​(int recordSize)
        Set the record size to use.
        Parameters:
        recordSize - record size to use
      • getBlockSize

        public int getBlockSize()
        Returns:
        the block size
      • setBlockSize

        public void setBlockSize​(int blockSize)
        Set the block size to use.
        Parameters:
        blockSize - block size to use