java.lang.Object | |
↳ | com.google.gwt.user.server.rpc.SerializationPolicyLoader |
API for loading a SerializationPolicy
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CLIENT_FIELDS_KEYWORD | Keyword for listing the serializable fields of an enchanced class that are visible to client code. | |||||||||
String | SERIALIZATION_POLICY_FILE_ENCODING | Default encoding for serialization policy files. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the serialization policy file name from the serialization
policy strong name.
| |||||||||||
This method is deprecated.
see
loadFromStream(InputStream, List)
| |||||||||||
Loads a SerializationPolicy from an input stream and optionally record any
ClassNotFoundException s. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Keyword for listing the serializable fields of an enchanced class that are visible to client code.
Default encoding for serialization policy files.
Returns the serialization policy file name from the serialization policy strong name.
serializationPolicyStrongName | the serialization policy strong name |
---|
This method is deprecated.
see loadFromStream(InputStream, List)
Loads a SerializationPolicy from an input stream.
inputStream | stream to load from |
---|
SerializationPolicy
loaded from the input streamIOException | if an error occurs while reading the stream |
---|---|
ParseException | if the input stream is not properly formatted |
ClassNotFoundException | if a class specified in the serialization policy cannot be loaded |
Loads a SerializationPolicy from an input stream and optionally record any
ClassNotFoundException
s.
inputStream | stream to load the SerializationPolicy from. |
---|---|
classNotFoundExceptions | if not null , all of the
ClassNotFoundException s thrown while loading this
serialization policy will be added to this list |
SerializationPolicy
loaded from the input stream.IOException | if an error occurs while reading the stream |
---|---|
ParseException | if the input stream is not properly formatted |