public class ArchiveEntryOutputStream extends RAOutputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buffer |
protected int |
buffer_offset |
protected int |
buffer_size |
protected ArchiveEntry |
entry
the stream item
|
protected ArchiveEntry entry
protected byte[] buffer
protected int buffer_offset
protected int buffer_size
public long getOffset() throws java.io.IOException
getOffset
in class RAOutputStream
java.io.IOException
public void seek(long localPos) throws java.io.IOException
seek
in class RAOutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void writeInt(int value) throws java.io.IOException
writeInt
in class RAOutputStream
java.io.IOException
public void writeLong(long value) throws java.io.IOException
writeLong
in class RAOutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public long length() throws java.io.IOException
length
in class RAOutputStream
java.io.IOException
Copyright © 2014 OpenText Corp. All rights reserved.