| java.lang.Object org.eclipse.ui.internal.wizards.datatransfer.TarFile
TarFile | public class TarFile (Code) | | Reads a .tar or .tar.gz archive file, providing an index enumeration
and allows for accessing an InputStream for arbitrary files in the
archive.
since: 3.1 |
Constructor Summary | |
public | TarFile(File file) Create a new TarFile for the given file. | public | TarFile(String filename) Create a new TarFile for the given path name. |
close | public void close() throws IOException(Code) | | Close the tar file input stream.
throws: IOException - if the file cannot be successfully closed |
entries | public Enumeration entries()(Code) | | Returns an enumeration cataloguing the tar archive.
enumeration of all files in the archive |
getName | public String getName()(Code) | | Returns the path name of the file this archive represents.
path |
|
|