com.judoscript.util
Class ZipWriter.Dest

java.lang.Object
  extended by java.io.OutputStream
      extended by com.judoscript.util.StreamCopier.Dest
          extended by com.judoscript.util.ZipWriter.Dest
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
ZipWriter

public static class ZipWriter.Dest
extends StreamCopier.Dest


Constructor Summary
ZipWriter.Dest(java.util.zip.ZipOutputStream zos, java.util.zip.ZipEntry ze)
           
 
Method Summary
 void close()
           
 java.lang.String getName()
           
 void getOutputStream()
           
 void setName(java.lang.String n)
           
 void setTime(long t)
           
 
Methods inherited from class com.judoscript.util.StreamCopier.Dest
copy, flush, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipWriter.Dest

public ZipWriter.Dest(java.util.zip.ZipOutputStream zos,
                      java.util.zip.ZipEntry ze)
Method Detail

getOutputStream

public void getOutputStream()
                     throws java.io.IOException
Specified by:
getOutputStream in class StreamCopier.Dest
Throws:
java.io.IOException

getName

public java.lang.String getName()
Specified by:
getName in class StreamCopier.Dest

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class StreamCopier.Dest
Throws:
java.io.IOException

setName

public void setName(java.lang.String n)
             throws java.lang.IllegalStateException
Specified by:
setName in class StreamCopier.Dest
Throws:
java.lang.IllegalStateException

setTime

public void setTime(long t)
Specified by:
setTime in class StreamCopier.Dest