|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.Resource com.cete.dynamicpdf.text.SingleByteEncodingResource
public class SingleByteEncodingResource
Represents a single byte encoding resource.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
Constructor Summary | |
---|---|
SingleByteEncodingResource(long uid,
byte[] data)
Initializes a new instance of the SingleByteEncodingResource
font class. |
Method Summary | |
---|---|
void |
draw(DocumentWriter writer)
Draws the encoder to the given DocumentWriter object. |
int |
getRequiredPdfObjects()
Gets the number of PDF objects required by the single byte encoding. |
ResourceType |
getResourceType()
Gets the resource type. |
Methods inherited from class com.cete.dynamicpdf.Resource |
---|
getUid, newUid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleByteEncodingResource(long uid, byte[] data)
SingleByteEncodingResource
font class.
uid
- long unique ID of the encoder.data
- byte[] array containing the encoders output stream.Method Detail |
---|
public int getRequiredPdfObjects()
getRequiredPdfObjects
in class Resource
public void draw(DocumentWriter writer)
DocumentWriter
object.
draw
in class Resource
writer
- DocumentWriter
to receive the encoder's output.DocumentWriter
public ResourceType getResourceType()
getResourceType
in class Resource
ResourceType
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |