| java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordAtom org.apache.poi.hslf.record.ExOleObjStg
ExOleObjStg | public class ExOleObjStg extends RecordAtom (Code) | | Storage for embedded OLE objects.
author: Daniel Noll |
Constructor Summary | |
protected | ExOleObjStg() Constructs a new empty storage container. | protected | ExOleObjStg(byte[] source, int start, int len) Constructs the link related atom record from its
source data. |
Method Summary | |
public InputStream | getData() Opens an input stream which will decompress the data on the fly. | public int | getDataLength() Gets the uncompressed length of the data. | public long | getRecordType() Gets the record type. | public void | writeOut(OutputStream out) Write the contents of the record back, so it can be written
to disk. |
ExOleObjStg | protected ExOleObjStg()(Code) | | Constructs a new empty storage container.
|
ExOleObjStg | protected ExOleObjStg(byte[] source, int start, int len)(Code) | | Constructs the link related atom record from its
source data.
Parameters: source - the source data as a byte array. Parameters: start - the start offset into the byte array. Parameters: len - the length of the slice in the byte array. |
getData | public InputStream getData()(Code) | | Opens an input stream which will decompress the data on the fly.
the data input stream. |
getDataLength | public int getDataLength()(Code) | | Gets the uncompressed length of the data.
the uncompressed length of the data. |
getRecordType | public long getRecordType()(Code) | | Gets the record type.
the record type. |
writeOut | public void writeOut(OutputStream out) throws IOException(Code) | | Write the contents of the record back, so it can be written
to disk.
Parameters: out - the output stream to write to. throws: IOException - if an error occurs. |
|
|