Streamable
public class MapDataResource extends AbstractTripletStructuredObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
triplets
Constructor | Description |
---|---|
MapDataResource() |
Main constructor
|
Modifier and Type | Method | Description |
---|---|---|
void |
finishElement() |
|
protected int |
getTripletDataLength() |
Returns the triplet data length
|
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, writeObjects
writeContent, writeEnd, writeStart
addTriplet, addTriplets, getFullyQualifiedName, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTriplets
public void finishElement()
protected int getTripletDataLength()
AbstractTripletStructuredObject
getTripletDataLength
in class AbstractTripletStructuredObject
public 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-2016 The Apache Software Foundation. All Rights Reserved.