|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.file.ArchiveTOC
public class ArchiveTOC
This is a wrapper class around a zip archive's table of contents. It reads in the table of contents of an archive and provides it as a NamedValueList where the names are the directories and the values are arrays of FileInfo.
| Constructor Summary | |
|---|---|
ArchiveTOC(java.io.File archive)
Initialize the new instance with the archive identified by the given file. |
|
ArchiveTOC(java.lang.String filename)
Initialize the new instance with the archive named by the given filename. |
|
| Method Summary | |
|---|---|
NamedValueList |
toc()
Returns a named value list, where the names are directory names and the values are FileInfo[] objects containing all files inside the directories. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArchiveTOC(java.lang.String filename)
throws java.io.IOException
java.io.IOException
public ArchiveTOC(java.io.File archive)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public NamedValueList toc()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||