org.pdfbox.pdmodel.common
Class PDNamedTextStream
java.lang.Object
org.pdfbox.pdmodel.common.PDNamedTextStream
- DualCOSObjectable
public class PDNamedTextStream
extends java.lang.Object
A named text stream is a combination of a name and a PDTextStream object. This
is used in name trees.
PDNamedTextStream
public PDNamedTextStream()
Constructor.
PDNamedTextStream
public PDNamedTextStream(COSName name,
COSBase str)
Constructor.
name
- The name of the stream.str
- The stream.
getName
public String getName()
The name of the named text stream.
getStream
public PDTextStream getStream()
This will get the stream.
- The stream associated with this name.
setName
public void setName(String name)
This will set the name of the named text stream.
name
- The name of the named text stream.
setStream
public void setStream(PDTextStream str)
This will set the stream.
str
- The stream associated with this name.