com.judoscript.util
Class TarWriter.Dest

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

public static class TarWriter.Dest
extends StreamCopier.Dest


Constructor Summary
TarWriter.Dest(org.apache.commons.compress.archivers.tar.TarOutputStream tos, org.apache.commons.compress.archivers.tar.TarEntry te)
           
 
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

TarWriter.Dest

public TarWriter.Dest(org.apache.commons.compress.archivers.tar.TarOutputStream tos,
                      org.apache.commons.compress.archivers.tar.TarEntry te)
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)
Specified by:
setName in class StreamCopier.Dest

setTime

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