|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.pdmodel.common.PDNamedTextStream
A named text stream is a combination of a name and a PDTextStream object. This is used in name trees.
Constructor Summary | |
PDNamedTextStream()
Constructor. |
|
PDNamedTextStream(COSName name,
COSBase str)
Constructor. |
Method Summary | |
COSBase |
getFirstCOSObject()
Convert this standard java object to a COS object. |
String |
getName()
The name of the named text stream. |
COSBase |
getSecondCOSObject()
Convert this standard java object to a COS object. |
PDTextStream |
getStream()
This will get the stream. |
void |
setName(String name)
This will set the name of the named text stream. |
void |
setStream(PDTextStream str)
This will set the stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDNamedTextStream()
public PDNamedTextStream(COSName name, COSBase str)
name
- The name of the stream.str
- The stream.Method Detail |
public String getName()
public void setName(String name)
name
- The name of the named text stream.public PDTextStream getStream()
public void setStream(PDTextStream str)
str
- The stream associated with this name.public COSBase getFirstCOSObject()
getFirstCOSObject
in interface DualCOSObjectable
public COSBase getSecondCOSObject()
getSecondCOSObject
in interface DualCOSObjectable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |