Streamablepublic class IncludedResourceObject extends AbstractNamedAFPObject
AbstractAFPObject.Category, AbstractAFPObject.TypeLOG, SF_CLASS, SF_HEADER_LENGTHnametriplets| Constructor | Description |
|---|---|
IncludedResourceObject(java.lang.String name,
AFPResourceAccessor resourceAccessor,
java.net.URI uri) |
Main constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
writeToStream(java.io.OutputStream os) |
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
copySF, truncate, writeChunksToStream, writeObjectscopySF, getName, getNameBytes, getNameLength, setName, toStringwriteContent, writeEnd, writeStartaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletspublic IncludedResourceObject(java.lang.String name,
AFPResourceAccessor resourceAccessor,
java.net.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(java.io.OutputStream os)
throws java.io.IOException
writeToStream in interface StreamablewriteToStream in class AbstractStructuredObjectos - the outputsteam streamjava.io.IOException - an I/O exception of some sort has occurred.Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.