com.sun.jini.tool
Class JarWrapper.JarIndexWriter
java.lang.Object
com.sun.jini.tool.JarWrapper.JarIndexWriter
- Enclosing class:
- JarWrapper
private static class JarWrapper.JarIndexWriter
- extends Object
Assembles and writes JAR indexes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
urls
private final List urls
contentMap
private final Map contentMap
JarWrapper.JarIndexWriter
JarWrapper.JarIndexWriter()
addEntries
void addEntries(JarFile jar,
JarWrapper.SourceJarURL url)
- Tabulates contents of the given JAR file, associating them with the
provided URL for the JAR file.
write
void write(JarOutputStream jout)
throws IOException
- Writes JAR index to the given output stream.
- Throws:
IOException
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.