|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fontbox.cff.DataOutput
public class DataOutput
| Constructor Summary | |
|---|---|
DataOutput()
Constructor. |
|
DataOutput(String encoding)
Constructor with a given encoding. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
Returns the written data buffer as byte array. |
void |
print(String string)
Write the given string to the buffer using the given encoding. |
void |
println()
Add a newline to the given string. |
void |
println(String string)
Write the given string to the buffer using the given encoding. |
void |
write(byte[] buffer)
Write a byte array to the buffer. |
void |
write(byte[] buffer,
int offset,
int length)
Write a part of a byte array to the buffer. |
void |
write(int value)
Write an int value to the buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataOutput()
public DataOutput(String encoding)
encoding - the encoding to be used for writing| Method Detail |
|---|
public byte[] getBytes()
public void write(int value)
value - the given valuepublic void write(byte[] buffer)
buffer - the given byte array
public void write(byte[] buffer,
int offset,
int length)
buffer - the given byte bufferoffset - the offset where to startlength - the amount of bytes to be written from the array
public void print(String string)
throws IOException
string - the given string
IOException - If an error occurs during writing the data to the buffer
public void println(String string)
throws IOException
string - the given string
IOException - If an error occurs during writing the data to the bufferpublic void println()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||