| java.lang.Object com.etymon.pj.object.BaseObject
All known Subclasses: com.etymon.pj.object.pagemark.PageMark, com.etymon.pj.object.PjObject,
BaseObject | abstract public class BaseObject implements Cloneable(Code) | | The base class for all high level objects and page markings.
author: Nassib Nassar |
Method Summary | |
abstract public Object | clone() Returns a deep copy of this object. | public String | toString() Returns a string representation of this object in PDF format. | public static long | write(OutputStream os, char c) Writes a char to a stream.
Parameters: os - the stream to write to. Parameters: c - the character to write. | public static long | write(OutputStream os, byte[] b) Writes a byte[] to a stream.
Parameters: os - the stream to write to. Parameters: b - the byte[] to write. | public static long | write(OutputStream os, Object obj) Writes an Object to a stream.
Parameters: os - the stream to write to. Parameters: obj - the Object to write. | abstract public long | writePdf(OutputStream os) Writes this object to a file in PDF format.
Parameters: raf - the file to write to. | public static long | writeln(OutputStream os, Object obj) Writes an Object to a stream followed by a carriage return.
Parameters: os - the stream to write to. Parameters: obj - the Object to write. |
toString | public String toString()(Code) | | Returns a string representation of this object in PDF format.
the string representation. |
write | public static long write(OutputStream os, char c) throws IOException(Code) | | Writes a char to a stream.
Parameters: os - the stream to write to. Parameters: c - the character to write. the number of bytes written. exception: IOException - if an I/O error occurs. |
write | public static long write(OutputStream os, byte[] b) throws IOException(Code) | | Writes a byte[] to a stream.
Parameters: os - the stream to write to. Parameters: b - the byte[] to write. the number of bytes written. exception: IOException - if an I/O error occurs. |
write | public static long write(OutputStream os, Object obj) throws IOException(Code) | | Writes an Object to a stream.
Parameters: os - the stream to write to. Parameters: obj - the Object to write. the number of bytes written. exception: IOException - if an I/O error occurs. |
writePdf | abstract public long writePdf(OutputStream os) throws IOException(Code) | | Writes this object to a file in PDF format.
Parameters: raf - the file to write to. the number of bytes written. exception: IOException - if an I/O error occurs. |
writeln | public static long writeln(OutputStream os, Object obj) throws IOException(Code) | | Writes an Object to a stream followed by a carriage return.
Parameters: os - the stream to write to. Parameters: obj - the Object to write. the number of bytes written. exception: IOException - if an I/O error occurs. |
|
|