public final class SerializationPolicyLoader
extends java.lang.Object
SerializationPolicy.| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLIENT_FIELDS_KEYWORDKeyword for listing the serializable fields of an enhanced class that are
 visible to client code. | 
| static java.lang.String | FINAL_FIELDS_KEYWORDKeyword for final field serialization strategy. | 
| static java.lang.String | SERIALIZATION_POLICY_FILE_ENCODINGDefault encoding for serialization policy files. | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.lang.String | getSerializationPolicyFileName(java.lang.String serializationPolicyStrongName)Returns the serialization policy file name from the serialization
 policy strong name. | 
| static SerializationPolicy | loadFromStream(java.io.InputStream inputStream)Deprecated. 
 | 
| static SerializationPolicy | loadFromStream(java.io.InputStream inputStream,
              java.util.List<java.lang.ClassNotFoundException> classNotFoundExceptions)Loads a SerializationPolicy from an input stream and optionally record any
  ClassNotFoundExceptions. | 
public static final java.lang.String CLIENT_FIELDS_KEYWORD
public static final java.lang.String FINAL_FIELDS_KEYWORD
public static final java.lang.String SERIALIZATION_POLICY_FILE_ENCODING
public static java.lang.String getSerializationPolicyFileName(java.lang.String serializationPolicyStrongName)
serializationPolicyStrongName - the serialization policy strong name@Deprecated public static SerializationPolicy loadFromStream(java.io.InputStream inputStream) throws java.io.IOException, java.text.ParseException, java.lang.ClassNotFoundException
loadFromStream(InputStream, List)inputStream - stream to load fromSerializationPolicy loaded from the input streamjava.io.IOException - if an error occurs while reading the streamjava.text.ParseException - if the input stream is not properly formattedjava.lang.ClassNotFoundException - if a class specified in the serialization
           policy cannot be loadedpublic static SerializationPolicy loadFromStream(java.io.InputStream inputStream, java.util.List<java.lang.ClassNotFoundException> classNotFoundExceptions) throws java.io.IOException, java.text.ParseException
ClassNotFoundExceptions.inputStream - stream to load the SerializationPolicy from.classNotFoundExceptions - if not null, all of the
          ClassNotFoundExceptions thrown while loading this
          serialization policy will be added to this listSerializationPolicy loaded from the input stream.java.io.IOException - if an error occurs while reading the streamjava.text.ParseException - if the input stream is not properly formatted