TarBuffer Methods
The methods of the TarBuffer class are listed below. For a complete list of TarBuffer class members, see the TarBuffer Members topic.
Public Static Methods
| Overloaded. Create TarBuffer for reading with default BlockFactor | |
| Overloaded. Construct TarBuffer for writing with default BlockFactor |
Public Instance Methods
| Close the TarBuffer. If this is an output buffer, also flush the current block before closing. | |
| Determines whether the specified Object is equal to the current Object. | |
| Obsolete. Get the TAR Buffer's block factor | |
| Obsolete. Get the current block number, within the current record, zero based. | |
| Obsolete. Get the current record number. | |
| Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| Obsolete. Get the TAR Buffer's record size. | |
| Gets the Type of the current instance. | |
| Determine if an archive block indicates End of Archive. End of archive is indicated by a block that consists entirely of null bytes. All remaining blocks for the record should also be null's However some older tars only do a couple of null blocks (Old GNU tar for one) and also partial records | |
| Read a block from the input stream. | |
| Skip over a block on the input stream. | |
| Returns a String that represents the current Object. | |
| Overloaded. Write a block of data to the archive. |
Protected Instance Methods
| Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| Creates a shallow copy of the current Object. |