Serialized Form

Class java.security.CodeSource implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream ois)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Restores this object from a stream (i.e., deserializes it).

writeObject

private void writeObject(java.io.ObjectOutputStream oos)
                  throws java.io.IOException
Writes this object out to a stream (i.e., serializes it).
Serial Data:
An initial URL is followed by an int indicating the number of certificates to follow (a value of "zero" denotes that there are no certificates associated with this object). Each certificate is written out starting with a String denoting the certificate type, followed by an int specifying the length of the certificate encoding, followed by the certificate encoding itself which is written out as an array of bytes.
Serialized Fields

location

java.net.URL location
The code location.
 


Class java.net.InetAddress implements Serializable

Serialized Fields

hostName

java.lang.String hostName
 

address

byte[] address

family

int family
 


Class java.net.SocketPermission implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
readObject is called to restore the state of the SocketPermission from a stream.

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.io.IOException
WriteObject is called to save the state of the SocketPermission to a stream. The actions are serialized, and the superclass takes care of the name.
Serialized Fields

actions

java.lang.String actions
the actions string.