Constructor and Description |
---|
BaseObject() |
Modifier and Type | Method and Description |
---|---|
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.
|
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