-
-
- serialVersionUID:
- 1L
-
Serialization Methods
-
readObject
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method
need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is
sufficient to initialize the permission.
- Parameters:
inputStream
- The stream from which the fields are read
- Throws:
ClassNotFoundException
- If the class of an object couldn't be found
IOException
- If an I/O error occurs
-
writeObject
writeObject is used to establish the values of the serialized fields before they are written to the output stream and
need not be implemented if the values of the serialized fields are always available and up to date. The serialized
fields are written to the output stream in the same form as they would be written by defaultWriteObject.
- Parameters:
outputStream
- The stream to which the serialized fields are written
- Throws:
IOException
- If an I/O error occurs while writing to the underlying stream
-
-
-
- serialVersionUID:
- 1L
-
Serialization Methods
-
readObject
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method
need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is
sufficient to initialize the permission.
- Parameters:
inputStream
- The stream from which the fields are read
- Throws:
ClassNotFoundException
- If the class of an object couldn't be found
IOException
- If an I/O error occurs
-
writeObject
writeObject is used to establish the values of the serialized fields before they are written to the output stream and
need not be implemented if the values of the serialized fields are always available and up to date. The serialized
fields are written to the output stream in the same form as they would be written by defaultWriteObject.
- Parameters:
outputStream
- The stream to which the serialized fields are written
- Throws:
IOException
- If an I/O error occurs while writing to the underlying stream
-
-
-
- serialVersionUID:
- 3925692572777572935L
-
- serialVersionUID:
- 1L
-
Serialization Methods
-
readObject
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method
need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is
sufficient to initialize the permission.
- Parameters:
inputStream
- The stream from which the fields are read
- Throws:
ClassNotFoundException
- If the class of an object couldn't be found
IOException
- If an I/O error occurs
-
writeObject
writeObject is used to establish the values of the serialized fields before they are written to the output stream and
need not be implemented if the values of the serialized fields are always available and up to date. The serialized
fields are written to the output stream in the same form as they would be written by defaultWriteObject.
- Parameters:
outputStream
- The stream to which the serialized fields are written
- Throws:
IOException
- If an I/O error occurs while writing to the underlying stream
-
-
-
- serialVersionUID:
- 1L
-
Serialization Methods
-
readObject
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method
need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is
sufficient to initialize the permission.
- Parameters:
inputStream
- The stream from which the fields are read
- Throws:
ClassNotFoundException
- If the class of an object couldn't be found
IOException
- If an I/O error occurs
-
writeObject
writeObject is used to establish the values of the serialized fields before they are written to the output stream and
need not be implemented if the values of the serialized fields are always available and up to date. The serialized
fields are written to the output stream in the same form as they would be written by defaultWriteObject.
- Parameters:
outputStream
- The stream to which the serialized fields are written
- Throws:
IOException
- If an I/O error occurs while writing to the underlying stream
-
-
-
- serialVersionUID:
- -970193775626385011L
-
Serialization Methods
-
readObject
readObject reads the serialized fields from the input stream and uses them to restore the permission. This method
need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is
sufficient to initialize the permission.
- Parameters:
inputStream
- The stream from which the fields are read
- Throws:
ClassNotFoundException
- If the class of an object couldn't be found
IOException
- If an I/O error occurs
-
writeObject
writeObject is used to establish the values of the serialized fields before they are written to the output stream and
need not be implemented if the values of the serialized fields are always available and up to date. The serialized
fields are written to the output stream in the same form as they would be written by defaultWriteObject.
- Parameters:
outputStream
- The stream to which the serialized fields are written
- Throws:
IOException
- If an I/O error occurs while writing to the underlying stream
-
-