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 int
protected int
protected ArchiveEntry
the 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:
getOffset
in classRAOutputStream
- Throws:
IOException
-
seek
- Specified by:
seek
in classRAOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
writeInt
- Specified by:
writeInt
in classRAOutputStream
- Throws:
IOException
-
writeLong
- Specified by:
writeLong
in classRAOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
length
- Specified by:
length
in classRAOutputStream
- Throws:
IOException
-