public final class ResourceGroup extends AbstractNamedAFPObject
name, nameBytes
log
Constructor and Description |
---|
ResourceGroup()
Default constructor
|
ResourceGroup(java.lang.String name)
Constructor for the ResourceGroup, this takes a
name parameter which must be 8 characters long.
|
Modifier and Type | Method and Description |
---|---|
void |
addOverlay(Overlay overlay)
Adds an overlay to the resource group
|
java.util.List |
getOverlays()
Returns the list of overlays
|
void |
writeDataStream(java.io.OutputStream os)
Accessor method to obtain write the AFP datastream for
the resource group.
|
writeObjectList
public ResourceGroup()
public ResourceGroup(java.lang.String name)
name
- the resource group namepublic void addOverlay(Overlay overlay)
overlay
- the overlay to addpublic java.util.List getOverlays()
public void writeDataStream(java.io.OutputStream os) throws java.io.IOException
writeDataStream
in class AbstractAFPObject
os
- The stream to write tojava.io.IOException
- if an I/O exception of some sort has occurredCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.