public static interface MessageMarshaller.ProtoStreamReader
| Modifier and Type | Method and Description |
|---|---|
<A> A[] |
readArray(String fieldName,
Class<? extends A> clazz) |
Boolean |
readBoolean(String fieldName) |
byte[] |
readBytes(String fieldName) |
<A,C extends Collection<? super A>> |
readCollection(String fieldName,
C collection,
Class<? extends A> clazz) |
Double |
readDouble(String fieldName) |
Float |
readFloat(String fieldName) |
Integer |
readInt(String fieldName)
Can't return an
int here because the field might be declared optional and missing so we might need to
return a null. |
Long |
readLong(String fieldName) |
<A> A |
readObject(String fieldName,
Class<? extends A> clazz) |
String |
readString(String fieldName) |
Integer readInt(String fieldName) throws IOException
int here because the field might be declared optional and missing so we might need to
return a null.IOExceptionLong readLong(String fieldName) throws IOException
IOExceptionFloat readFloat(String fieldName) throws IOException
IOExceptionDouble readDouble(String fieldName) throws IOException
IOExceptionBoolean readBoolean(String fieldName) throws IOException
IOExceptionString readString(String fieldName) throws IOException
IOExceptionbyte[] readBytes(String fieldName) throws IOException
IOException<A> A readObject(String fieldName, Class<? extends A> clazz) throws IOException
IOException<A,C extends Collection<? super A>> C readCollection(String fieldName, C collection, Class<? extends A> clazz) throws IOException
IOException<A> A[] readArray(String fieldName, Class<? extends A> clazz) throws IOException
IOExceptionCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.