public class MapPageSegment extends AbstractAFPObject
AbstractAFPObject.Category, AbstractAFPObject.Type
LOG, SF_CLASS, SF_HEADER_LENGTH
Constructor and Description |
---|
MapPageSegment()
Constructor for the Map Page Overlay
|
Modifier and Type | Method and Description |
---|---|
void |
addPageSegment(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(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(String name) throws MaximumSizeExceededException
name
- the name of the page segment.MaximumSizeExceededException
- if the maximum size is reachedpublic boolean isFull()
public void writeToStream(OutputStream os) throws IOException
os
- the outputsteam streamIOException
- an I/O exception of some sort has occurred.Copyright © 2025 Apache Software Foundation. All rights reserved.