Class ArchiveEntryOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.birt.core.archive.RAOutputStream
org.eclipse.birt.core.archive.compound.ArchiveEntryOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
An OutputStream wraper for RandomAccessStreamImpl.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]protected intprotected intprotected ArchiveEntrythe stream item -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Field Details
-
entry
the stream item -
buffer
protected byte[] buffer -
buffer_offset
protected int buffer_offset -
buffer_size
protected int buffer_size
-
-
Method Details
-
getOffset
- Specified by:
getOffsetin classRAOutputStream- Throws:
IOException
-
seek
- Specified by:
seekin classRAOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
writeInt
- Specified by:
writeIntin classRAOutputStream- Throws:
IOException
-
writeLong
- Specified by:
writeLongin classRAOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
length
- Specified by:
lengthin classRAOutputStream- Throws:
IOException
-