|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.etymon.pj.object.BaseObject
public abstract class BaseObject
The base class for all high level objects and page markings.
Constructor Summary | |
---|---|
BaseObject()
|
Method Summary | |
---|---|
abstract java.lang.Object |
clone()
Returns a deep copy of this object. |
java.lang.String |
toString()
Returns a string representation of this object in PDF format. |
static long |
write(java.io.OutputStream os,
byte[] b)
Writes a byte[] to a stream. |
static long |
write(java.io.OutputStream os,
char c)
Writes a char to a stream. |
static long |
write(java.io.OutputStream os,
java.lang.Object obj)
Writes an Object to a stream. |
static long |
writeln(java.io.OutputStream os,
java.lang.Object obj)
Writes an Object to a stream followed by a carriage return. |
abstract long |
writePdf(java.io.OutputStream os)
Writes this object to a file in PDF format. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseObject()
Method Detail |
---|
public abstract java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the instance can not be cloned.public abstract long writePdf(java.io.OutputStream os) throws java.io.IOException
raf
- the file to write to.
java.io.IOException
- if an I/O error occurs.public static long write(java.io.OutputStream os, char c) throws java.io.IOException
os
- the stream to write to.c
- the character to write.
java.io.IOException
- if an I/O error occurs.public static long write(java.io.OutputStream os, byte[] b) throws java.io.IOException
os
- the stream to write to.b
- the byte[] to write.
java.io.IOException
- if an I/O error occurs.public static long write(java.io.OutputStream os, java.lang.Object obj) throws java.io.IOException
os
- the stream to write to.obj
- the Object to write.
java.io.IOException
- if an I/O error occurs.public static long writeln(java.io.OutputStream os, java.lang.Object obj) throws java.io.IOException
os
- the stream to write to.obj
- the Object to write.
java.io.IOException
- if an I/O error occurs.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |