TrueUpdate Core 0.5

net.java.trueupdate.core.zip.io
Class JarOutputStreamAdapter

java.lang.Object
  extended by net.java.trueupdate.core.zip.io.ZipOutputStreamAdapter
      extended by net.java.trueupdate.core.zip.io.JarOutputStreamAdapter
All Implemented Interfaces:
Closeable, ZipOutput

public class JarOutputStreamAdapter
extends ZipOutputStreamAdapter

Adapts a JarOutputStream to a ZipOutput.

Author:
Christian Schlichtherle

Field Summary
 
Fields inherited from class net.java.trueupdate.core.zip.io.ZipOutputStreamAdapter
zip
 
Constructor Summary
JarOutputStreamAdapter(JarOutputStream jar)
           
 
Method Summary
 ZipEntry entry(String name)
          Returns a new ZIP entry.
 
Methods inherited from class net.java.trueupdate.core.zip.io.ZipOutputStreamAdapter
close, stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarOutputStreamAdapter

public JarOutputStreamAdapter(@WillCloseWhenClosed
                              JarOutputStream jar)
Method Detail

entry

public ZipEntry entry(String name)
Description copied from interface: ZipOutput
Returns a new ZIP entry.

Specified by:
entry in interface ZipOutput
Overrides:
entry in class ZipOutputStreamAdapter

TrueUpdate Core 0.5

Copyright © 2013 Schlichtherle IT Services. All rights reserved.