|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.twitter.elephantbird.cascading2.io.protobuf.ProtobufReflectionUtil
public final class ProtobufReflectionUtil
Utility methods for reflection based protobuf deserialization
| Method Summary | |
|---|---|
static com.google.protobuf.Message |
parseMessage(Class<com.google.protobuf.Message> klass,
InputStream in)
Parse the message in a given Message container |
static com.google.protobuf.Message |
parseMessage(Method parseMethod,
InputStream in)
Parse the message in a given InputStream using scpecified Method |
static Method |
parseMethodFor(Class<com.google.protobuf.Message> klass)
Parse the method for a message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Method parseMethodFor(Class<com.google.protobuf.Message> klass)
klass - the class containing the message
public static com.google.protobuf.Message parseMessage(Method parseMethod,
InputStream in)
parseMethod - the method used for parsingin - the input stream
public static com.google.protobuf.Message parseMessage(Class<com.google.protobuf.Message> klass,
InputStream in)
klass - the class containing the messagein - the input stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||