wt.ixb.clientAccess
Class IXBJarWriter

java.lang.Object
  extended bywt.ixb.clientAccess.IXBJarWriter

public class IXBJarWriter
extends Object


Field Summary
private  JarOutputStream jout
           
private  File pathToSave
           
 
Constructor Summary
IXBJarWriter(File jarF)
           
IXBJarWriter(OutputStream jarS)
           
 
Method Summary
 void addEntry(byte[] bytes, String name)
           
 void addEntry(File entry)
           
 void addEntry(InputStream eis, String name)
           
private  void copyStreams(InputStream in, OutputStream out)
           
 void finalizeJar()
          This method must be called before Jar Archive may be used!!!!!
private  File getPathToSave()
           
private static void PP(String s)
           
 void setPathToSave(File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jout

private JarOutputStream jout

pathToSave

private File pathToSave
Constructor Detail

IXBJarWriter

public IXBJarWriter(OutputStream jarS)
             throws IOException

IXBJarWriter

public IXBJarWriter(File jarF)
             throws IOException
Method Detail

setPathToSave

public void setPathToSave(File f)

getPathToSave

private File getPathToSave()

addEntry

public void addEntry(File entry)
              throws IOException
Throws:
IOException

addEntry

public void addEntry(InputStream eis,
                     String name)
              throws IOException
Throws:
IOException

addEntry

public void addEntry(byte[] bytes,
                     String name)
              throws IOException
Throws:
IOException

finalizeJar

public void finalizeJar()
                 throws IOException
This method must be called before Jar Archive may be used!!!!!

Throws:
IOException

copyStreams

private void copyStreams(InputStream in,
                         OutputStream out)
                  throws IOException
Throws:
IOException

PP

private static void PP(String s)