The methods of the TarEntry class are listed below. For a complete list of TarEntry class members, see the TarEntry Members topic.
Public Static Methods
![]() ![]() | Construct an entry for a file. File is set to file, and the header is constructed from information from the file. |
![]() ![]() | Construct an entry with only a name. This allows the programmer to construct the entry's header "by hand". |
Public Instance Methods
![]() | Convenience method that will modify an entry's name directly in place in an entry header buffer byte array. |
![]() | Clone this tar entry. |
![]() | Determine if the two entries are equal. Equality is determined by the header names being equal. |
![]() | Get entries for all files present in this entries directory. If this entry doesnt represent a directory zero entries are returned. |
![]() | Fill in a TarHeader with information from a File. |
![]() | Must be overridden when you override Equals. |
![]() | Gets the Type of the current instance. |
![]() | Determine if the given entry is a descendant of this entry. Descendancy is determined by the name of the descendant starting with this entry's name. |
![]() | Fill in a TarHeader given only the entry's name. |
![]() | Convenience method to set this entry's group and user ids. |
![]() | Convenience method to set this entry's group and user names. |
![]() | Returns a String that represents the current Object. |
![]() | Write an entry's header information to a header buffer. |
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. |