| java.lang.Object |
| ↳ |
java.io.OutputStream |
| |
↳ |
java.io.FilterOutputStream |
| |
|
↳ |
java.util.zip.DeflaterOutputStream |
| |
|
|
↳ |
java.util.zip.ZipOutputStream |
| |
|
|
|
↳ |
java.util.jar.JarOutputStream |
| |
|
|
|
|
↳ |
org.ops4j.pax.exam.spi.intern.DuplicateAwareJarOutputStream |
Class Overview
This is a more convenient JarOutputStream that imits any writing of duplicate entries.
If someone tries to do so, it just does not write anything.
Be aware that this could be a source of trouble - but it simplifies merging jars with first come first serve policy.
Implementation note: some silly class init starvation prevents constructor initialization of m_entrynames..
Summary
|
[Expand]
Inherited Constants |
From class
java.util.zip.ZipOutputStream
| int |
CENATT |
|
| int |
CENATX |
|
| int |
CENCOM |
|
| int |
CENCRC |
|
| int |
CENDSK |
|
| int |
CENEXT |
|
| int |
CENFLG |
|
| int |
CENHDR |
|
| int |
CENHOW |
|
| int |
CENLEN |
|
| int |
CENNAM |
|
| int |
CENOFF |
|
| long |
CENSIG |
|
| int |
CENSIZ |
|
| int |
CENTIM |
|
| int |
CENVEM |
|
| int |
CENVER |
|
| int |
DEFLATED |
|
| int |
ENDCOM |
|
| int |
ENDHDR |
|
| int |
ENDOFF |
|
| long |
ENDSIG |
|
| int |
ENDSIZ |
|
| int |
ENDSUB |
|
| int |
ENDTOT |
|
| int |
EXTCRC |
|
| int |
EXTHDR |
|
| int |
EXTLEN |
|
| long |
EXTSIG |
|
| int |
EXTSIZ |
|
| int |
LOCCRC |
|
| int |
LOCEXT |
|
| int |
LOCFLG |
|
| int |
LOCHDR |
|
| int |
LOCHOW |
|
| int |
LOCLEN |
|
| int |
LOCNAM |
|
| long |
LOCSIG |
|
| int |
LOCSIZ |
|
| int |
LOCTIM |
|
| int |
LOCVER |
|
| int |
STORED |
|
|
|
[Expand]
Inherited Fields |
From class
java.util.zip.DeflaterOutputStream
|
protected
byte[] |
buf |
|
|
protected
Deflater |
def |
|
|
From class
java.io.FilterOutputStream
|
protected
OutputStream |
out |
|
|
| Public Methods |
|
void
|
putNextEntry(ZipEntry zipEntry)
|
|
void
|
write(byte[] bytes)
|
|
synchronized
void
|
write(byte[] bytes, int i, int i1)
|
|
void
|
write(int i)
|
|
[Expand]
Inherited Methods |
From class
java.util.jar.JarOutputStream
|
void
|
putNextEntry(ZipEntry arg0)
|
|
From class
java.util.zip.ZipOutputStream
|
void
|
close()
|
|
void
|
closeEntry()
|
|
void
|
finish()
|
|
void
|
putNextEntry(ZipEntry arg0)
|
|
void
|
setComment(String arg0)
|
|
void
|
setLevel(int arg0)
|
|
void
|
setMethod(int arg0)
|
|
synchronized
void
|
write(byte[] arg0, int arg1, int arg2)
|
|
From class
java.util.zip.DeflaterOutputStream
|
void
|
close()
|
|
void
|
deflate()
|
|
void
|
finish()
|
|
void
|
write(byte[] arg0, int arg1, int arg2)
|
|
void
|
write(int arg0)
|
|
From class
java.io.FilterOutputStream
|
void
|
close()
|
|
void
|
flush()
|
|
void
|
write(byte[] arg0)
|
|
void
|
write(byte[] arg0, int arg1, int arg2)
|
|
void
|
write(int arg0)
|
|
From class
java.io.OutputStream
|
void
|
close()
|
|
void
|
flush()
|
|
void
|
write(byte[] arg0)
|
|
void
|
write(byte[] arg0, int arg1, int arg2)
|
|
abstract
void
|
write(int arg0)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait(long arg0, int arg1)
|
|
From interface
java.io.Closeable
|
From interface
java.io.Flushable
|
Public Constructors
public
DuplicateAwareJarOutputStream
(OutputStream outputStream)
public
DuplicateAwareJarOutputStream
(OutputStream outputStream, Manifest manifest)
Public Methods
public
void
putNextEntry
(ZipEntry zipEntry)
public
void
write
(byte[] bytes)
public
synchronized
void
write
(byte[] bytes, int i, int i1)
public
void
write
(int i)