|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.marshalling.ByteWriter
public final class ByteWriter

A writer for class or object tables which simply writes a flat sequence of bytes.
| Constructor Summary | |
|---|---|
ByteWriter(byte... bytes)
Construct a new instance. |
|
| Method Summary | |
|---|---|
void |
writeClass(Marshaller marshaller,
Class<?> clazz)
Write the predefined class reference to the stream. |
void |
writeObject(Marshaller marshaller,
Object object)
Write the predefined object reference to the stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteWriter(byte... bytes)
bytes - the bytes to write| Method Detail |
|---|
public void writeObject(Marshaller marshaller,
Object object)
throws IOException
ObjectTable.Writer
writeObject in interface ObjectTable.Writermarshaller - the marshaller to write toobject - the object reference to write
IOException - if an I/O error occurs
public void writeClass(Marshaller marshaller,
Class<?> clazz)
throws IOException
ClassTable.Writer
writeClass in interface ClassTable.Writermarshaller - the marshaller to write toclazz - the class reference to write
IOException - if an I/O error occurs
|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||