StreamableAbstractTripletStructuredObject, ImageContent, MapCodedFont, Tilepublic abstract class AbstractStructuredObject extends AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.TypeLOG, SF_CLASS, SF_HEADER_LENGTH| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractStructuredObject() |
Default constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
writeContent(java.io.OutputStream os) |
Helper method to write the contents of the Object.
|
protected void |
writeEnd(java.io.OutputStream os) |
Helper method to write the end of the Object.
|
protected void |
writeStart(java.io.OutputStream os) |
Helper method to write the start of the Object.
|
void |
writeToStream(java.io.OutputStream os) |
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, copySF, truncate, writeChunksToStream, writeObjectsprotected AbstractStructuredObject()
protected void writeStart(java.io.OutputStream os)
throws java.io.IOException
os - The stream to write tojava.io.IOException - throws an I/O exception if one occurredprotected void writeEnd(java.io.OutputStream os)
throws java.io.IOException
os - The stream to write tojava.io.IOException - an I/O exception if one occurredprotected void writeContent(java.io.OutputStream os)
throws java.io.IOException
os - The stream to write tojava.io.IOException - throws an I/O exception if one occurredpublic void writeToStream(java.io.OutputStream os)
throws java.io.IOException
os - the outputsteam streamjava.io.IOException - an I/O exception of some sort has occurred.Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.