com.sun.jini.tool
Class JarWrapper.JarIndexWriter

java.lang.Object
  extended by com.sun.jini.tool.JarWrapper.JarIndexWriter
Enclosing class:
JarWrapper

private static class JarWrapper.JarIndexWriter
extends Object

Assembles and writes JAR indexes.


Field Summary
private  Map contentMap
           
private  List urls
           
 
Constructor Summary
JarWrapper.JarIndexWriter()
           
 
Method Summary
(package private)  void addEntries(JarFile jar, JarWrapper.SourceJarURL url)
          Tabulates contents of the given JAR file, associating them with the provided URL for the JAR file.
(package private)  void write(JarOutputStream jout)
          Writes JAR index to the given output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urls

private final List urls

contentMap

private final Map contentMap
Constructor Detail

JarWrapper.JarIndexWriter

JarWrapper.JarIndexWriter()
Method Detail

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.