| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 SingleByteEncodingResourcefont class. | |
| Method Summary | |
|---|---|
|  void | draw(DocumentWriter writer)Draws the encoder to the given DocumentWriterobject. | 
|  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 Resourcepublic void draw(DocumentWriter writer)
DocumentWriter object.
draw in class Resourcewriter - DocumentWriter to receive the encoder's output.DocumentWriterpublic ResourceType getResourceType()
getResourceType in class ResourceResourceType| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||