API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.tar. TarUtils View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      TarUtils
Implements
Subclasses
Description
public class TarUtils
This class provides static utility methods to work with byte streams.
See also:   
Constructors
public TarUtils ()
Methods
Hide/Show inherited methods
publicstatic long computeCheckSum (byte[] buf)
  Compute the checksum of a tar entry header.
publicstatic int getCheckSumOctalBytes (long value, byte[] buf, int offset, int length)
  Parse the checksum octal integer from a header buffer.
publicstatic int getLongOctalBytes (long value, byte[] buf, int offset, int length)
  Parse an octal long integer from a header buffer.
publicstatic int getNameBytes (java.lang.StringBuffer name, byte[] buf, int offset, int length)
  Determine the number of bytes in an entry name.
publicstatic int getOctalBytes (long value, byte[] buf, int offset, int length)
  Parse an octal integer from a header buffer.
publicstatic java.lang.StringBuffer parseName (byte[] header, int offset, int length)
  Parse an entry name from a header buffer.
publicstatic long parseOctal (byte[] header, int offset, int length)
  Parse an octal string from a header buffer.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar