|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface provides for transforming various java primitive types to a destination format that is dependent on the class implementing this interface.
| Method Summary | |
boolean |
isAtServer()
Indicates that this is executing at the server |
void |
writeBoolean(java.lang.String label,
boolean b)
Writes a boolean |
void |
writeByte(java.lang.String label,
int b)
Write a byte |
void |
writeInt(java.lang.String label,
int i)
Writes an int |
void |
writeLong(java.lang.String label,
long l)
Writes a long |
void |
writeObject(java.lang.String label,
java.lang.Object obj)
Writes an Object. |
void |
writeSerializedBytes(java.lang.String label,
byte[] bytes)
Write a sequence of bytes that is the output of the same kind of Serializer that is active now, i.e., providing this XmaOutput. |
void |
writeShort(java.lang.String label,
int s)
Writes a short |
void |
writeString(java.lang.String label,
java.lang.String s)
Outputs a String |
void |
writeStringN(java.lang.String label,
java.lang.String s)
Same as writeString, except that s may be null; |
| Method Detail |
public void writeString(java.lang.String label,
java.lang.String s)
throws java.io.IOException
label - short string that describes what the second parameter means;
this string has only descriptive purpose.s - the String; must not be null
java.lang.NullPointerException - if s is null
java.io.IOException
public void writeStringN(java.lang.String label,
java.lang.String s)
throws java.io.IOException
java.io.IOException
public void writeInt(java.lang.String label,
int i)
throws java.io.IOException
label - short string that describes what the second parameter means;
this string has only descriptive purpose.i - the int
java.io.IOException
public void writeLong(java.lang.String label,
long l)
throws java.io.IOException
label - short string that describes what the second parameter means;
this string has only descriptive purpose.l - the long
java.io.IOException
public void writeShort(java.lang.String label,
int s)
throws java.io.IOException
label - short string that describes what the second parameter means;
this string has only descriptive purpose.s - the short
java.io.IOException
public void writeBoolean(java.lang.String label,
boolean b)
throws java.io.IOException
label - short string that describes what the second parameter means;
this string has only descriptive purpose.b - the boolean
java.io.IOException
public void writeByte(java.lang.String label,
int b)
throws java.io.IOException
label - short string that describes what the second parameter means;
this string has only descriptive purpose.b - the byte
java.io.IOException
public void writeSerializedBytes(java.lang.String label,
byte[] bytes)
throws java.io.IOException
bytes - sequence of bytes; must not be null
java.io.IOException
public void writeObject(java.lang.String label,
java.lang.Object obj)
throws java.io.IOException
obj - the object to serialize; must not be null
java.io.IOExceptionpublic boolean isAtServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||