|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.vxart.zipupdate.Indexer
public class Indexer
Creates an index file from ZIP/JAR archives used by the client-side update mechanism to download individual ZIP entries from a web server.
| Method Summary | |
|---|---|
static void |
index(java.io.File archive)
Creates an index file for the specified archive in the same directory. |
static void |
main(java.lang.String[] args)
Provides a basic stand-alone way to index archives. |
static java.util.Map<Resource,java.lang.Long> |
parseZipFile(java.io.File archive)
Manually parses a ZIP file without using any classes from java.util.zip.* to create a list of minimal Resources in the ZIP file including the end offsets of those entries. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
args -
java.lang.Exception
public static void index(java.io.File archive)
throws java.io.IOException
archive - the archive to generate an index for
java.io.IOException
public static java.util.Map<Resource,java.lang.Long> parseZipFile(java.io.File archive)
throws java.io.IOException
archive - the ZIP file to parse
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||