Streamable
public class MapPageSegment extends AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor | Description |
---|---|
MapPageSegment() |
Constructor for the Map Page Overlay
|
Modifier and Type | Method | Description |
---|---|---|
void |
addPageSegment(java.lang.String name) |
Add a page segment to to the map page segment object.
|
boolean |
isFull() |
Indicates whether this object already contains the maximum number of
page segments.
|
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
public void addPageSegment(java.lang.String name) throws MaximumSizeExceededException
name
- the name of the page segment.MaximumSizeExceededException
- if the maximum size is reachedpublic boolean isFull()
public 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.