public class PDNamedTextStream extends Object implements DualCOSObjectable
Constructor and Description |
---|
PDNamedTextStream()
Constructor.
|
PDNamedTextStream(COSName name,
COSBase str)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.