|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.core.util.tar.TarEntry
public class TarEntry
An entry in a tar file, either a folder or a file.
| Constructor Summary | |
|---|---|
TarEntry(byte[] header)
Creates a new TarEntry from the given metadata block. |
|
| Method Summary | |
|---|---|
IPath |
getPath()
Get the file or folder path associated with this entry. |
long |
getSize()
Get the size of the entry. |
boolean |
isDirectory()
Asserts whether the entry is a directory. |
boolean |
isNull()
Asserts whether the entry is null (end of tar marker). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TarEntry(byte[] header)
throws ProblemException
header - A 512 bytes block which is to be parsed for tar metadata
ProblemException - if the header could not be parsed or
some unsupported feature was found| Method Detail |
|---|
public boolean isNull()
true if the entry is nullpublic boolean isDirectory()
true if the entry is a folderpublic IPath getPath()
path associated with this entry.
public long getSize()
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||