public class ContainerDataDescriptor extends AbstractDescriptor
AbstractAFPObject.Category, AbstractAFPObject.Type
height, heightRes, width, widthRes
triplets
log, SF_CLASS, SF_HEADER
Constructor and Description |
---|
ContainerDataDescriptor(int width,
int height,
int widthRes,
int heightRes)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
void |
writeToStream(java.io.OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
getHeight, getWidth, toString
addTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setObjectClassification, writeTriplets
writeContent, writeEnd, writeStart
copyChunks, copySF, copySF, truncate, writeChunksToStream, writeObjects
public ContainerDataDescriptor(int width, int height, int widthRes, int heightRes)
width
- the container data widthheight
- the container data heightwidthRes
- the container width resolutionheightRes
- the container height resolutionpublic void writeToStream(java.io.OutputStream os) throws java.io.IOException
writeToStream
in interface Streamable
writeToStream
in class AbstractStructuredObject
os
- the outputsteam streamjava.io.IOException
- an I/O exception of some sort has occurred.Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.