public class IncludedResourceObject extends AbstractNamedAFPObject
AbstractAFPObject.Category, AbstractAFPObject.TypenametripletsLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
IncludedResourceObject(String name,
AFPResourceAccessor resourceAccessor,
URI uri)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeToStream(OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, getName, getNameBytes, getNameLength, setName, toStringaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletswriteContent, writeEnd, writeStartcopySF, truncate, writeChunksToStream, writeObjectspublic IncludedResourceObject(String name, AFPResourceAccessor resourceAccessor, URI uri)
name - the name of the included resourceresourceAccessor - the resource accessor to load the external file withuri - the URI of the external filepublic void writeToStream(OutputStream os) throws IOException
writeToStream in interface StreamablewriteToStream in class AbstractStructuredObjectos - the outputsteam streamIOException - an I/O exception of some sort has occurred.Copyright © 2025 Apache Software Foundation. All rights reserved.