|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Deserializer
An object deserializer.
Method Summary | |
---|---|
java.lang.Object |
deserialize(java.io.InputStream content,
Importer connect,
java.lang.String base,
java.lang.ClassLoader code,
java.lang.reflect.Type type)
Deserializes an object. |
ConstArray<?> |
deserializeTuple(java.io.InputStream content,
Importer connect,
java.lang.String base,
java.lang.ClassLoader code,
java.lang.reflect.Type... parameters)
Deserializes an argument list. |
Method Detail |
---|
java.lang.Object deserialize(java.io.InputStream content, Importer connect, java.lang.String base, java.lang.ClassLoader code, java.lang.reflect.Type type) throws java.lang.Exception
content
- serialized content, will be closedconnect
- reference importerbase
- base URLcode
- class loadertype
- expected type of the referenced object
java.lang.Exception
- any exceptionConstArray<?> deserializeTuple(java.io.InputStream content, Importer connect, java.lang.String base, java.lang.ClassLoader code, java.lang.reflect.Type... parameters) throws java.lang.Exception
content
- serialized content, will be closedconnect
- reference importerbase
- base URLcode
- class loaderparameters
- expected type of each argument
java.lang.Exception
- any exception
|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.