Foundation 1.1.2

Serialized Form


Package java.io

Class java.io.CharConversionException extends IOException implements Serializable

Class java.io.EOFException extends IOException implements Serializable

Class java.io.File extends Object implements Serializable

serialVersionUID: 301077366599181567l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore this filename. The original separator character is read. If it is different than the separator character on this system, then the old seperator is replaced by the local separator.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
WriteObject is called to save this filename. The separator character is saved also so it can be replaced in case the path is reconstituted on a different host type.

Serialized Fields

path

String path
This abstract pathname's normalized pathname string. A normalized pathname string uses the default name-separator character and does not contain any duplicate or redundant separators.

 

Class java.io.FileNotFoundException extends IOException implements Serializable

Class java.io.FilePermissionCollection extends PermissionCollection implements Serializable

serialVersionUID: 2202956749081564585l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serial Data:
"permissions" field (a Vector containing the FilePermissions).
Throws:
IOException
Serialized Fields

permissions

Vector permissions
A list of FilePermission objects.

Class java.io.InterruptedIOException extends IOException implements Serializable

Serialized Fields

bytesTransferred

int bytesTransferred
Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.

 

Class java.io.InvalidClassException extends ObjectStreamException implements Serializable

Serialized Fields

classname

String classname
Name of the invalid class.

Name of the invalid class.

Class java.io.InvalidObjectException extends ObjectStreamException implements Serializable

Class java.io.IOException extends Exception implements Serializable

Class java.io.NotActiveException extends ObjectStreamException implements Serializable

Class java.io.NotSerializableException extends ObjectStreamException implements Serializable

Class java.io.ObjectStreamClass extends Object implements Serializable

serialVersionUID: -6120832682080437368l

Serialized Fields

Class java.io.ObjectStreamException extends IOException implements Serializable

Class java.io.OptionalDataException extends ObjectStreamException implements Serializable

Serialized Fields

length

int length
The number of bytes of primitive data available to be read in the current buffer.

 

eof

boolean eof
True if there is no more data in the buffered part of the stream.

 

Class java.io.SerializablePermission extends BasicPermission implements Serializable

Serialized Fields

actions

String actions
 

Class java.io.StreamCorruptedException extends ObjectStreamException implements Serializable

Class java.io.SyncFailedException extends IOException implements Serializable

Class java.io.UnsupportedEncodingException extends IOException implements Serializable

Class java.io.UTFDataFormatException extends IOException implements Serializable

Class java.io.WriteAbortedException extends ObjectStreamException implements Serializable

serialVersionUID: -3326426625597282442l

Serialized Fields

detail

Exception detail
Exception that was caught while writing the ObjectStream.

This field predates the general-purpose exception chaining facility. The Throwable.getCause() method is now the preferred means of obtaining this information.

 


Package java.lang

Class java.lang.AbstractMethodError extends IncompatibleClassChangeError implements Serializable

Class java.lang.ArithmeticException extends RuntimeException implements Serializable

Class java.lang.ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException implements Serializable

Class java.lang.ArrayStoreException extends RuntimeException implements Serializable

Class java.lang.AssertionError extends Error implements Serializable

Class java.lang.Boolean extends Object implements Serializable

serialVersionUID: -3665804199014368530l

Serialized Fields

value

boolean value
The value of the Boolean.

 

Class java.lang.Byte extends Number implements Serializable

serialVersionUID: -7183698231559129828l

Serialized Fields

value

byte value
The value of the Byte.

 

Class java.lang.Character extends Object implements Serializable

serialVersionUID: 3786198910865385080l

Serialized Fields

value

char value
The value of the Character.

 

Class java.lang.Class extends Object implements Serializable

serialVersionUID: 3206093459760846163l

Serialization Overview
Class Class is special cased within the Serialization Stream Protocol. A Class instance is written intially into an ObjectOutputStream in the following format:
      TC_CLASS ClassDescriptor
      A ClassDescriptor is a special cased serialization of 
      a java.io.ObjectStreamClass instance. 
 
A new handle is generated for the initial time the class descriptor is written into the stream. Future references to the class descriptor are written as references to the initial class descriptor instance.

See Also:
ObjectStreamClass
Serialized Fields

Class java.lang.ClassCastException extends RuntimeException implements Serializable

Class java.lang.ClassCircularityError extends LinkageError implements Serializable

Class java.lang.ClassFormatError extends LinkageError implements Serializable

Class java.lang.ClassNotFoundException extends Exception implements Serializable

serialVersionUID: 9176873029745254542l

Serialized Fields

ex

Throwable ex
This field holds the exception ex if the ClassNotFoundException(String s, Throwable ex) constructor was used to instantiate the object

 
Since:
1.2

Class java.lang.CloneNotSupportedException extends Exception implements Serializable

Class java.lang.Double extends Number implements Serializable

serialVersionUID: -9172774392245257468l

Serialized Fields

value

double value
The value of the Double.

 

Class java.lang.Error extends Throwable implements Serializable

serialVersionUID: 4980196508277280342l

Class java.lang.Exception extends Throwable implements Serializable

serialVersionUID: -3387516993124229948l

Class java.lang.ExceptionInInitializerError extends LinkageError implements Serializable

serialVersionUID: 1521711792217232256l

Serialized Fields

exception

Throwable exception
This field holds the exception if the ExceptionInInitializerError(Throwable thrown) constructor was used to instantiate the object

 

Class java.lang.Float extends Number implements Serializable

serialVersionUID: -2671257302660747028l

Serialized Fields

value

float value
The value of the Float.

 

Class java.lang.IllegalAccessError extends IncompatibleClassChangeError implements Serializable

Class java.lang.IllegalAccessException extends Exception implements Serializable

Class java.lang.IllegalArgumentException extends RuntimeException implements Serializable

Class java.lang.IllegalMonitorStateException extends RuntimeException implements Serializable

Class java.lang.IllegalStateException extends RuntimeException implements Serializable

Class java.lang.IllegalThreadStateException extends IllegalArgumentException implements Serializable

Class java.lang.IncompatibleClassChangeError extends LinkageError implements Serializable

Class java.lang.IndexOutOfBoundsException extends RuntimeException implements Serializable

Class java.lang.InstantiationError extends IncompatibleClassChangeError implements Serializable

Class java.lang.InstantiationException extends Exception implements Serializable

Class java.lang.Integer extends Number implements Serializable

serialVersionUID: 1360826667806852920l

Serialized Fields

value

int value
The value of the Integer.

 

Class java.lang.InternalError extends VirtualMachineError implements Serializable

Class java.lang.InterruptedException extends Exception implements Serializable

Class java.lang.LinkageError extends Error implements Serializable

Class java.lang.Long extends Number implements Serializable

serialVersionUID: 4290774380558885855l

Serialized Fields

value

long value
The value of the Long.

 

Class java.lang.NegativeArraySizeException extends RuntimeException implements Serializable

Class java.lang.NoClassDefFoundError extends LinkageError implements Serializable

Class java.lang.NoSuchFieldError extends IncompatibleClassChangeError implements Serializable

Class java.lang.NoSuchFieldException extends Exception implements Serializable

Class java.lang.NoSuchMethodError extends IncompatibleClassChangeError implements Serializable

Class java.lang.NoSuchMethodException extends Exception implements Serializable

Class java.lang.NullPointerException extends RuntimeException implements Serializable

Class java.lang.Number extends Object implements Serializable

serialVersionUID: -8742448824652078965l

Class java.lang.NumberFormatException extends IllegalArgumentException implements Serializable

serialVersionUID: -2848938806368998894l

Class java.lang.OutOfMemoryError extends VirtualMachineError implements Serializable

Class java.lang.RuntimeException extends Exception implements Serializable

serialVersionUID: -7034897190745766939l

Class java.lang.RuntimePermission extends BasicPermission implements Serializable

Class java.lang.SecurityException extends RuntimeException implements Serializable

Class java.lang.Short extends Number implements Serializable

serialVersionUID: 7515723908773894738l

Serialized Fields

value

short value
The value of the Short.

 

Class java.lang.StackOverflowError extends VirtualMachineError implements Serializable

Class java.lang.StackTraceElement extends Object implements Serializable

serialVersionUID: 6992337162326171013l

Serialized Fields

declaringClass

String declaringClass

methodName

String methodName

fileName

String fileName

lineNumber

int lineNumber

isCompiled

boolean isCompiled

methodSignature

String methodSignature

Class java.lang.String extends Object implements Serializable

serialVersionUID: -6849794470754667710l

Serialization Overview
Class String is special cased within the Serialization Stream Protocol. A String instance is written intially into an ObjectOutputStream in the following format:
      TC_STRING (utf String)
 
The String is written by method DataOutput.writeUTF. A new handle is generated to refer to all future references to the string instance within the stream.

Serialized Fields

Class java.lang.StringBuffer extends Object implements Serializable

serialVersionUID: 3388685877147921107l

Serialization Methods

readObject

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

Serialized Fields

value

char[] value
The value is used for character storage.

 

count

int count
The count is the number of characters in the buffer.

 

shared

boolean shared
A flag indicating whether the buffer is shared

 

Class java.lang.StringIndexOutOfBoundsException extends IndexOutOfBoundsException implements Serializable

Class java.lang.ThreadDeath extends Error implements Serializable

Class java.lang.Throwable extends Object implements Serializable

serialVersionUID: -3042686055658047285l

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serialized Fields

detailMessage

String detailMessage
Specific details about the Throwable. For example, for FileNotFoundException, this contains the name of the file that could not be found.

 

cause

Throwable cause
The throwable that caused this throwable to get thrown, or null if this throwable was not caused by another throwable, or if the causative throwable is unknown. If this field is equal to this throwable itself, it indicates that the cause of this throwable has not yet been initialized.

 
Since:
1.4

stackTrace

StackTraceElement[] stackTrace
The stack trace, as returned by Throwable.getStackTrace().

 
Since:
1.4

Class java.lang.UnknownError extends VirtualMachineError implements Serializable

Class java.lang.UnsatisfiedLinkError extends LinkageError implements Serializable

Class java.lang.UnsupportedClassVersionError extends ClassFormatError implements Serializable

Class java.lang.UnsupportedOperationException extends RuntimeException implements Serializable

Class java.lang.VerifyError extends LinkageError implements Serializable

Class java.lang.VirtualMachineError extends Error implements Serializable


Package java.lang.reflect

Class java.lang.reflect.InvocationTargetException extends Exception implements Serializable

serialVersionUID: 4085088731926701167l

Serialized Fields

target

Throwable target
This field holds the target if the InvocationTargetException(Throwable target) constructor was used to instantiate the object

 

Class java.lang.reflect.Proxy extends Object implements Serializable

Serialized Fields

h

InvocationHandler h
the invocation handler for this proxy instance.

 

Class java.lang.reflect.ReflectPermission extends BasicPermission implements Serializable

Class java.lang.reflect.UndeclaredThrowableException extends RuntimeException implements Serializable

serialVersionUID: 330127114055056639l

Serialized Fields

undeclaredThrowable

Throwable undeclaredThrowable
the undeclared checked exception that was thrown

 


Package java.math

Class java.math.BigDecimal extends Number implements Serializable

serialVersionUID: 6108874887143696463l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the BigDecimal instance from a stream (that is, deserialize it).

Serialized Fields

intVal

BigInteger intVal
The unscaled value of this BigDecimal, as returned by unscaledValue().

 
See Also:
BigDecimal.unscaledValue()

scale

int scale
The scale of this BigDecimal, as returned by scale().

 
See Also:
BigDecimal.scale()

Class java.math.BigInteger extends Number implements Serializable

serialVersionUID: -8287574255936472291l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the BigInteger instance from a stream (that is, deserialize it). The magnitude is read in as an array of bytes for historical reasons, but it is converted to an array of ints and the byte array is discarded.


writeReplace

private Object writeReplace()
Ensure that magnitude (the obsolete byte array representation) is set prior to serializaing this BigInteger. This provides a serialized form that is compatible with older (pre-1.3) versions.

Serialized Fields

signum

int signum
The signum of this BigInteger: -1 for negative, 0 for zero, or 1 for positive. Note that the BigInteger zero must have a signum of 0. This is necessary to ensures that there is exactly one representation for each BigInteger value.

 

magnitude

byte[] magnitude
This field is required for historical reasons. The magnitude of a BigInteger used to be in a byte representation, and is still serialized that way. The mag field is used in all real computations but the magnitude field is required for storage.

 

bitCount

int bitCount
The bitCount of this BigInteger, as returned by bitCount(), or -1 (either value is acceptable).

 
See Also:
BigInteger.bitCount()

bitLength

int bitLength
The bitLength of this BigInteger, as returned by bitLength(), or -1 (either value is acceptable).

 
See Also:
BigInteger.bitLength()

lowestSetBit

int lowestSetBit
The lowest set bit of this BigInteger, as returned by getLowestSetBit(), or -2 (either value is acceptable).

 
See Also:
BigInteger.getLowestSetBit()

firstNonzeroByteNum

int firstNonzeroByteNum
The index of the lowest-order byte in the magnitude of this BigInteger that contains a nonzero byte, or -2 (either value is acceptable). The least significant byte has int-number 0, the next byte in order of increasing significance has byte-number 1, and so forth.

 


Package java.net

Class java.net.BindException extends SocketException implements Serializable

Class java.net.ConnectException extends SocketException implements Serializable

Class java.net.Inet4Address extends InetAddress implements Serializable

serialVersionUID: 3286316764910316507l

Serialization Methods

writeReplace

private Object writeReplace()
                     throws ObjectStreamException
Replaces the object to be serialized with an InetAddress object.

Throws:
ObjectStreamException - if a new object replacing this object could not be created

Class java.net.Inet6Address extends InetAddress implements Serializable

serialVersionUID: 6880410070516793377l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

ipaddress

byte[] ipaddress
Holds a 128-bit (16 bytes) IPv6 address.

 

Class java.net.InetAddress extends Object implements Serializable

serialVersionUID: 3286316764910316507l

Serialization Methods

readResolve

private Object readResolve()
                    throws ObjectStreamException
Replaces the de-serialized object with an Inet4Address object.

Throws:
ObjectStreamException - if a new object replacing this object could not be created
Serialized Fields

hostName

String hostName
 

address

int address
Holds a 32-bit IPv4 address.

 

family

int family
Specifies the address family type, for instance, '1' for IPv4 addresses, and '2' for IPv6 addresses.

 

Class java.net.InetSocketAddress extends SocketAddress implements Serializable

serialVersionUID: 5076001401234631237l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

hostname

String hostname

addr

InetAddress addr

port

int port

Class java.net.MalformedURLException extends IOException implements Serializable

Class java.net.NetPermission extends BasicPermission implements Serializable

serialVersionUID: -8343910153355041693l

Class java.net.NoRouteToHostException extends SocketException implements Serializable

Class java.net.PortUnreachableException extends SocketException implements Serializable

Class java.net.ProtocolException extends IOException implements Serializable

Class java.net.SocketAddress extends Object implements Serializable

Class java.net.SocketException extends IOException implements Serializable

Class java.net.SocketPermissionCollection extends PermissionCollection implements Serializable

serialVersionUID: 2787186408602843674l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serial Data:
"permissions" field (a Vector containing the SocketPermissions).
Throws:
IOException
Serialized Fields

permissions

Vector permissions
A list of the SocketPermissions for this set.

Class java.net.SocketTimeoutException extends InterruptedIOException implements Serializable

Class java.net.UnknownHostException extends IOException implements Serializable

Class java.net.UnknownServiceException extends IOException implements Serializable

Class java.net.URI extends Object implements Serializable

serialVersionUID: -6052424284110960213l

Serialization Methods

readObject

private void readObject(ObjectInputStream is)
                 throws ClassNotFoundException,
                        IOException
Reconstitutes a URI from the given serial stream.

The ObjectInputStream.defaultReadObject() method is invoked to read the value of the string field. The result is then parsed in the usual way.


writeObject

private void writeObject(ObjectOutputStream os)
                  throws IOException
Saves the content of this URI to the given serial stream.

The only serializable field of a URI instance is its string field. That field is given a value, if it does not have one already, and then the ObjectOutputStream.defaultWriteObject() method of the given object-output stream is invoked.

Serialized Fields

string

String string
The string form of this URI.

 

Class java.net.URISyntaxException extends Exception implements Serializable

Serialized Fields

input

String input

index

int index

Class java.net.URL extends Object implements Serializable

serialVersionUID: -7627629688361524110l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore the state of the URL from the stream. It reads the components of the URL and finds the local stream handler.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
WriteObject is called to save the state of the URL to an ObjectOutputStream. The handler is not saved since it is specific to this system.

Serial Data:
the default write object value. When read back in, the reader must ensure that calling getURLStreamHandler with the protocol variable returns a valid URLStreamHandler and throw an IOException if it does not.
Throws:
IOException
Serialized Fields

protocol

String protocol
The protocol to use (ftp, http, nntp, ... etc.) .

 

host

String host
The host name to connect to.

 

port

int port
The protocol port to connect to.

 

file

String file
The specified file name on that host. file is defined as path[?query]

 

authority

String authority
The authority part of this URL.

 

ref

String ref
# reference.

 

hashCode

int hashCode


Package java.security

Class java.security.AccessControlException extends SecurityException implements Serializable

Serialized Fields

perm

Permission perm

Class java.security.AllPermissionCollection extends PermissionCollection implements Serializable

serialVersionUID: -4023755556366636806l

Serialized Fields

all_allowed

boolean all_allowed

Class java.security.BasicPermission extends Permission implements Serializable

Serialization Methods

readObject

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

Class java.security.BasicPermissionCollection extends PermissionCollection implements Serializable

serialVersionUID: 739301742472979399l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore the state of the BasicPermissionCollection from a stream.


writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serial Data:
Default fields.
Throws:
IOException
Serialized Fields

all_allowed

boolean all_allowed
This is set to true if this BasicPermissionCollection contains a BasicPermission with '*' as its permission name.

permClass

Class permClass
The class to which all BasicPermissions in this BasicPermissionCollection belongs.

permissions

Hashtable permissions
The BasicPermissions in this BasicPermissionCollection. All BasicPermissions in the collection must belong to the same class. The Hashtable is indexed by the BasicPermission name; the value of the Hashtable entry is the permission.

Class java.security.CodeSource extends Object implements Serializable

Serialization Methods

readObject

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


writeObject

private void writeObject(ObjectOutputStream oos)
                  throws 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.
Throws:
IOException
Serialized Fields

location

URL location
The code location.

 

Class java.security.DigestException extends GeneralSecurityException implements Serializable

Class java.security.GeneralSecurityException extends Exception implements Serializable

Class java.security.GuardedObject extends Object implements Serializable

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream oos)
                  throws IOException
Writes this object out to a stream (i.e., serializes it). We check the guard if there is one.

Serialized Fields

object

Object object

guard

Guard guard

Class java.security.Identity extends Object implements Serializable

serialVersionUID: 3609922007826600659l

Serialized Fields

name

String name
Deprecated. 
The name for this identity.

 

publicKey

PublicKey publicKey
Deprecated. 
The public key for this identity.

 

info

String info
Deprecated. 
Generic, descriptive information about the identity.

 

scope

IdentityScope scope
Deprecated. 
The scope of the identity.

 

certificates

Vector certificates
Deprecated. 
The certificates for this identity.

 

Class java.security.IdentityScope extends Identity implements Serializable

Class java.security.InvalidAlgorithmParameterException extends GeneralSecurityException implements Serializable

Class java.security.InvalidKeyException extends KeyException implements Serializable

Class java.security.InvalidParameterException extends IllegalArgumentException implements Serializable

Class java.security.KeyException extends GeneralSecurityException implements Serializable

Class java.security.KeyManagementException extends KeyException implements Serializable

Class java.security.KeyPair extends Object implements Serializable

Serialized Fields

privateKey

PrivateKey privateKey

publicKey

PublicKey publicKey

Class java.security.KeyStoreException extends GeneralSecurityException implements Serializable

Class java.security.NoSuchAlgorithmException extends GeneralSecurityException implements Serializable

Class java.security.NoSuchProviderException extends GeneralSecurityException implements Serializable

Class java.security.Permission extends Object implements Serializable

Serialized Fields

name

String name

Class java.security.PermissionCollection extends Object implements Serializable

serialVersionUID: -6727011328946861783l

Serialized Fields

readOnly

boolean readOnly

Class java.security.PermissionsHash extends PermissionCollection implements Serializable

serialVersionUID: -8491988220802933440l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serial Data:
Default fields.
Throws:
IOException
Serialized Fields

perms

Hashtable perms
A table of the Permissions (both key and value are same).

Class java.security.PrivilegedActionException extends Exception implements Serializable

serialVersionUID: 4724086851538908602l

Serialized Fields

exception

Exception exception
 

Class java.security.Provider extends Properties implements Serializable

serialVersionUID: -4298000515446427739l

Serialized Fields

name

String name
The provider name.

 

info

String info
A description of the provider and its services.

 

version

double version
The provider version number.

 

Class java.security.ProviderException extends RuntimeException implements Serializable

Class java.security.SecureRandom extends Random implements Serializable

serialVersionUID: 4940670005562187l

Serialized Fields

provider

Provider provider
The provider.

 
Since:
1.2

secureRandomSpi

SecureRandomSpi secureRandomSpi
The provider implementation.

 
Since:
1.2

state

byte[] state
 

digest

MessageDigest digest
 

randomBytes

byte[] randomBytes
We know that the MessageDigest class does not implement java.io.Serializable. However, since this field is no longer used, it will always be NULL and won't affect the serialization of the SecureRandom class itself.

randomBytesUsed

int randomBytesUsed
 

counter

long counter
 

Class java.security.SecureRandomSpi extends Object implements Serializable

Class java.security.SecurityPermission extends BasicPermission implements Serializable

Class java.security.SignatureException extends GeneralSecurityException implements Serializable

Class java.security.SignedObject extends Object implements Serializable

Serialization Methods

readObject

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

Serialized Fields

content

byte[] content

signature

byte[] signature

thealgorithm

String thealgorithm

Class java.security.Signer extends Identity implements Serializable

Serialized Fields

privateKey

PrivateKey privateKey
Deprecated. 
The signer's private key.

 

Class java.security.UnrecoverableKeyException extends GeneralSecurityException implements Serializable

Class java.security.UnresolvedPermission extends Permission implements Serializable

Serialization Methods

readObject

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


writeObject

private void writeObject(ObjectOutputStream oos)
                  throws IOException
Writes this object out to a stream (i.e., serializes it).

Serial Data:
An initial String denoting the type is followed by a String denoting the name is followed by a String denoting the actions 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.
Throws:
IOException
Serialized Fields

type

String type
The class name of the Permission class that will be created when this unresolved permission is resolved.

 

name

String name
The permission name.

 

actions

String actions
The actions of the permission.

 

Class java.security.UnresolvedPermissionCollection extends PermissionCollection implements Serializable

serialVersionUID: -7176153071733132400l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serial Data:
Default field.
Throws:
IOException
Serialized Fields

permissions

Hashtable permissions
A table of the UnresolvedPermissions keyed on type, value is Vector of permissions


Package java.security.acl

Class java.security.acl.AclNotFoundException extends Exception implements Serializable

Class java.security.acl.LastOwnerException extends Exception implements Serializable

Class java.security.acl.NotOwnerException extends Exception implements Serializable


Package java.security.cert

Class java.security.cert.Certificate extends Object implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Replace the Certificate to be serialized.

Throws:
ObjectStreamException - if a new object representing this Certificate could not be created
Serialized Fields

type

String type

Class java.security.cert.Certificate.CertificateRep extends Object implements Serializable

Serialization Methods

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Resolve the Certificate Object.

Throws:
ObjectStreamException - if the Certificate could not be resolved
Serialized Fields

type

String type

data

byte[] data

Class java.security.cert.CertificateEncodingException extends CertificateException implements Serializable

Class java.security.cert.CertificateException extends GeneralSecurityException implements Serializable

Class java.security.cert.CertificateExpiredException extends CertificateException implements Serializable

Class java.security.cert.CertificateNotYetValidException extends CertificateException implements Serializable

Class java.security.cert.CertificateParsingException extends CertificateException implements Serializable

Class java.security.cert.CertPath extends Object implements Serializable

Serialization Methods

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Replaces the CertPath to be serialized with a CertPathRep object.

Throws:
ObjectStreamException - if a CertPathRep object representing this certification path could not be created
Serialized Fields

type

String type

Class java.security.cert.CertPath.CertPathRep extends Object implements Serializable

Serialization Methods

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Returns a CertPath constructed from the type and data.

Throws:
ObjectStreamException - if a CertPath could not be constructed
Serialized Fields

type

String type
The Certificate type


data

byte[] data
The encoded form of the cert path

Class java.security.cert.CertPathBuilderException extends GeneralSecurityException implements Serializable

Class java.security.cert.CertPathValidatorException extends GeneralSecurityException implements Serializable

Serialized Fields

index

int index

certPath

CertPath certPath

Class java.security.cert.CertStoreException extends GeneralSecurityException implements Serializable

Class java.security.cert.CRLException extends GeneralSecurityException implements Serializable

Class java.security.cert.X509Certificate extends Certificate implements Serializable


Package java.security.spec

Class java.security.spec.InvalidKeySpecException extends GeneralSecurityException implements Serializable

Class java.security.spec.InvalidParameterSpecException extends GeneralSecurityException implements Serializable


Package java.text

Class java.text.AttributedCharacterIterator.Attribute extends Object implements Serializable

serialVersionUID: -9142742483513960612l

Serialization Methods

readResolve

protected Object readResolve()
                      throws InvalidObjectException
Resolves instances being deserialized to the predefined constants.

Serialized Fields

name

String name
The name of this Attribute. The name is used primarily by readResolve to look up the corresponding predefined instance when deserializing an instance.

 

Class java.text.ChoiceFormat extends NumberFormat implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
After reading an object from the input stream, do a simple verification to maintain class invariants.

Throws:
InvalidObjectException - if the objects read from the stream is invalid.
IOException
ClassNotFoundException
Serialized Fields

choiceLimits

double[] choiceLimits
A list of lower bounds for the choices. The formatter will return choiceFormats[i] if the number being formatted is greater than or equal to choiceLimits[i] and less than choiceLimits[i+1].

 

choiceFormats

String[] choiceFormats
A list of choice strings. The formatter will return choiceFormats[i] if the number being formatted is greater than or equal to choiceLimits[i] and less than choiceLimits[i+1].

 

Class java.text.DateFormat extends Format implements Serializable

serialVersionUID: 7218322306649953788l

Serialized Fields

calendar

Calendar calendar
The calendar that DateFormat uses to produce the time field values needed to implement date and time formatting. Subclasses should initialize this to a calendar appropriate for the locale associated with this DateFormat.

 

numberFormat

NumberFormat numberFormat
The number formatter that DateFormat uses to format numbers in dates and times. Subclasses should initialize this to a number format appropriate for the locale associated with this DateFormat.

 

Class java.text.DateFormat.Field extends Format.Field implements Serializable

Serialization Methods

readResolve

protected Object readResolve()
                      throws InvalidObjectException
Resolves instances being deserialized to the predefined constants.

Throws:
InvalidObjectException - if the constant could not be resolved.
Serialized Fields

calendarField

int calendarField
Calendar field.

Class java.text.DateFormatSymbols extends Object implements Serializable

serialVersionUID: -5987973545549424702l

Serialized Fields

eras

String[] eras
Era strings. For example: "AD" and "BC". An array of 2 strings, indexed by Calendar.BC and Calendar.AD.

 

months

String[] months
Month strings. For example: "January", "February", etc. An array of 13 strings (some calendars have 13 months), indexed by Calendar.JANUARY, Calendar.FEBRUARY, etc.

 

shortMonths

String[] shortMonths
Short month strings. For example: "Jan", "Feb", etc. An array of 13 strings (some calendars have 13 months), indexed by Calendar.JANUARY, Calendar.FEBRUARY, etc.

 

weekdays

String[] weekdays
Weekday strings. For example: "Sunday", "Monday", etc. An array of 8 strings, indexed by Calendar.SUNDAY, Calendar.MONDAY, etc. The element weekdays[0] is ignored.

 

shortWeekdays

String[] shortWeekdays
Short weekday strings. For example: "Sun", "Mon", etc. An array of 8 strings, indexed by Calendar.SUNDAY, Calendar.MONDAY, etc. The element shortWeekdays[0] is ignored.

 

ampms

String[] ampms
AM and PM strings. For example: "AM" and "PM". An array of 2 strings, indexed by Calendar.AM and Calendar.PM.

 

zoneStrings

String[][] zoneStrings
Localized names of time zones in this locale. This is a two-dimensional array of strings of size n by m, where m is at least 5. Each of the n rows is an entry containing the localized names for a single TimeZone. Each such row contains (with i ranging from 0..n-1): The zone ID is not localized; it corresponds to the ID value associated with a system time zone object. All other entries are localized names. If a zone does not implement daylight savings time, the daylight savings time names are ignored.

 
See Also:
TimeZone

localPatternChars

String localPatternChars
Localized date-time pattern characters. For example, a locale may wish to use 'u' rather than 'y' to represent years in its date format pattern strings. This string must be exactly 18 characters long, with the index of the characters described by DateFormat.ERA_FIELD, DateFormat.YEAR_FIELD, etc. Thus, if the string were "Xz...", then localized patterns would use 'X' for era and 'z' for year.

 

Class java.text.DecimalFormat extends NumberFormat implements Serializable

serialVersionUID: 864413376551465018l

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
First, read the default serializable fields from the stream. Then if serialVersionOnStream is less than 1, indicating that the stream was written by JDK 1.1, initialize useExponentialNotation to false, since it was not present in JDK 1.1. Finally, set serialVersionOnStream back to the maximum allowed value so that default serialization will work properly if this object is streamed out again.

If the minimum or maximum integer digit count is larger than DOUBLE_INTEGER_DIGITS or if the minimum or maximum fraction digit count is larger than DOUBLE_FRACTION_DIGITS, then the stream data is invalid and this method throws an InvalidObjectException.

Stream versions older than 2 will not have the affix pattern variables posPrefixPattern etc. As a result, they will be initialized to null, which means the affix strings will be taken as literal values. This is exactly what we want, since that corresponds to the pre-version-2 behavior.

Serialized Fields

positivePrefix

String positivePrefix
The symbol used as a prefix when formatting positive numbers, e.g. "+".

 
See Also:
DecimalFormat.getPositivePrefix()

positiveSuffix

String positiveSuffix
The symbol used as a suffix when formatting positive numbers. This is often an empty string.

 
See Also:
DecimalFormat.getPositiveSuffix()

negativePrefix

String negativePrefix
The symbol used as a prefix when formatting negative numbers, e.g. "-".

 
See Also:
DecimalFormat.getNegativePrefix()

negativeSuffix

String negativeSuffix
The symbol used as a suffix when formatting negative numbers. This is often an empty string.

 
See Also:
DecimalFormat.getNegativeSuffix()

posPrefixPattern

String posPrefixPattern
The prefix pattern for non-negative numbers. This variable corresponds to positivePrefix.

This pattern is expanded by the method expandAffix() to positivePrefix to update the latter to reflect changes in symbols. If this variable is null then positivePrefix is taken as a literal value that does not change when symbols changes. This variable is always null for DecimalFormat objects older than stream version 2 restored from stream.

 
Since:
1.3

posSuffixPattern

String posSuffixPattern
The suffix pattern for non-negative numbers. This variable corresponds to positiveSuffix. This variable is analogous to posPrefixPattern; see that variable for further documentation.

 
Since:
1.3

negPrefixPattern

String negPrefixPattern
The prefix pattern for negative numbers. This variable corresponds to negativePrefix. This variable is analogous to posPrefixPattern; see that variable for further documentation.

 
Since:
1.3

negSuffixPattern

String negSuffixPattern
The suffix pattern for negative numbers. This variable corresponds to negativeSuffix. This variable is analogous to posPrefixPattern; see that variable for further documentation.

 
Since:
1.3

multiplier

int multiplier
The multiplier for use in percent, permill, etc.

 
See Also:
DecimalFormat.getMultiplier()

groupingSize

byte groupingSize
The number of digits between grouping separators in the integer portion of a number. Must be greater than 0 if NumberFormat.groupingUsed is true.

 
See Also:
DecimalFormat.getGroupingSize(), NumberFormat.isGroupingUsed()

decimalSeparatorAlwaysShown

boolean decimalSeparatorAlwaysShown
If true, forces the decimal separator to always appear in a formatted number, even if the fractional part of the number is zero.

 
See Also:
DecimalFormat.isDecimalSeparatorAlwaysShown()

symbols

DecimalFormatSymbols symbols
The DecimalFormatSymbols object used by this format. It contains the symbols used to format numbers, e.g. the grouping separator, decimal separator, and so on.

 
See Also:
DecimalFormat.setDecimalFormatSymbols(java.text.DecimalFormatSymbols), DecimalFormatSymbols

useExponentialNotation

boolean useExponentialNotation
True to force the use of exponential (i.e. scientific) notation when formatting numbers.

 
Since:
1.2

minExponentDigits

byte minExponentDigits
The minimum number of digits used to display the exponent when a number is formatted in exponential notation. This field is ignored if useExponentialNotation is not true.

 
Since:
1.2

serialVersionOnStream

int serialVersionOnStream
The internal serial version which says which version was written. Possible values are:

 
Since:
1.2

Class java.text.DecimalFormatSymbols extends Object implements Serializable

serialVersionUID: 5772796243397350300l

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Reads the default serializable fields, provides default values for objects in older serial versions, and initializes non-serializable fields. If serialVersionOnStream is less than 1, initializes monetarySeparator to be the same as decimalSeparator and exponential to be 'E'. If serialVersionOnStream is less then 2, initializes localeto the root locale. Sets serialVersionOnStream back to the maximum allowed value so that default serialization will work properly if this object is streamed out again. Initializes the currency from the intlCurrencySymbol field.

Throws:
IOException
ClassNotFoundException
Since:
JDK 1.1.6
Serialized Fields

zeroDigit

char zeroDigit
Character used for zero.

 
See Also:
DecimalFormatSymbols.getZeroDigit()

groupingSeparator

char groupingSeparator
Character used for thousands separator.

 
See Also:
DecimalFormatSymbols.getGroupingSeparator()

decimalSeparator

char decimalSeparator
Character used for decimal sign.

 
See Also:
DecimalFormatSymbols.getDecimalSeparator()

perMill

char perMill
Character used for mille percent sign.

 
See Also:
DecimalFormatSymbols.getPerMill()

percent

char percent
Character used for percent sign.

 
See Also:
DecimalFormatSymbols.getPercent()

digit

char digit
Character used for a digit in a pattern.

 
See Also:
DecimalFormatSymbols.getDigit()

patternSeparator

char patternSeparator
Character used to separate positive and negative subpatterns in a pattern.

 
See Also:
DecimalFormatSymbols.getPatternSeparator()

infinity

String infinity
String used to represent infinity.

 
See Also:
DecimalFormatSymbols.getInfinity()

NaN

String NaN
String used to represent "not a number".

 
See Also:
DecimalFormatSymbols.getNaN()

minusSign

char minusSign
Character used to represent minus sign.

 
See Also:
DecimalFormatSymbols.getMinusSign()

currencySymbol

String currencySymbol
String denoting the local currency, e.g. "$".

 
See Also:
DecimalFormatSymbols.getCurrencySymbol()

intlCurrencySymbol

String intlCurrencySymbol
ISO 4217 currency code denoting the local currency, e.g. "USD".

 
See Also:
DecimalFormatSymbols.getInternationalCurrencySymbol()

monetarySeparator

char monetarySeparator
The decimal separator used when formatting currency values.

 
Since:
JDK 1.1.6
See Also:
DecimalFormatSymbols.getMonetaryDecimalSeparator()

exponential

char exponential
The character used to distinguish the exponent in a number formatted in exponential notation, e.g. 'E' for a number such as "1.23E45".

Note that the public API provides no way to set this field, even though it is supported by the implementation and the stream format. The intent is that this will be added to the API in the future.

 
Since:
JDK 1.1.6

locale

Locale locale
The locale of these currency format symbols.

 
Since:
1.4

serialVersionOnStream

int serialVersionOnStream
Describes the version of DecimalFormatSymbols present on the stream. Possible values are: When streaming out a DecimalFormatSymbols, the most recent format (corresponding to the highest allowable serialVersionOnStream) is always written.

 
Since:
JDK 1.1.6

Class java.text.Format extends Object implements Serializable

serialVersionUID: -299282585814624189l

Class java.text.Format.Field extends AttributedCharacterIterator.Attribute implements Serializable

Class java.text.MessageFormat extends Format implements Serializable

serialVersionUID: 6479157306784022952l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
After reading an object from the input stream, do a simple verification to maintain class invariants.

Throws:
InvalidObjectException - if the objects read from the stream is invalid.
IOException
ClassNotFoundException
Serialized Fields

locale

Locale locale
The locale to use for formatting numbers and dates.

 

pattern

String pattern
The string that the formatted values are to be plugged into. In other words, this is the pattern supplied on construction with all of the {} expressions taken out.

 

formats

Format[] formats
An array of formatters, which are used to format the arguments.

 

offsets

int[] offsets
The positions where the results of formatting each argument are to be inserted into the pattern.

 

argumentNumbers

int[] argumentNumbers
The argument numbers corresponding to each formatter. (The formatters are stored in the order they occur in the pattern, not in the order in which the arguments are specified.)

 

maxOffset

int maxOffset
One less than the number of entries in offsets. Can also be thought of as the index of the highest-numbered element in offsets that is being used. All of these arrays should have the same number of elements being used as offsets does, and so this variable suffices to tell us how many entries are in all of them.

 

Class java.text.MessageFormat.Field extends Format.Field implements Serializable

Serialization Methods

readResolve

protected Object readResolve()
                      throws InvalidObjectException
Resolves instances being deserialized to the predefined constants.

Throws:
InvalidObjectException - if the constant could not be resolved.

Class java.text.NumberFormat extends Format implements Serializable

serialVersionUID: -2308460125733713944l

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
First, read in the default serializable data. Then, if serialVersionOnStream is less than 1, indicating that the stream was written by JDK 1.1, set the int fields such as maximumIntegerDigits to be equal to the byte fields such as maxIntegerDigits, since the int fields were not present in JDK 1.1. Finally, set serialVersionOnStream back to the maximum allowed value so that default serialization will work properly if this object is streamed out again.

If minimumIntegerDigits is greater than maximumIntegerDigits or minimumFractionDigits is greater than maximumFractionDigits, then the stream data is invalid and this method throws an InvalidObjectException. In addition, if any of these values is negative, then this method throws an InvalidObjectException.

Throws:
IOException
ClassNotFoundException
Since:
1.2

writeObject

private void writeObject(ObjectOutputStream stream)
                  throws IOException
Write out the default serializable data, after first setting the byte fields such as maxIntegerDigits to be equal to the int fields such as maximumIntegerDigits (or to Byte.MAX_VALUE, whichever is smaller), for compatibility with the JDK 1.1 version of the stream format.

Throws:
IOException
Since:
1.2
Serialized Fields

groupingUsed

boolean groupingUsed
True if the the grouping (i.e. thousands) separator is used when formatting and parsing numbers.

 
See Also:
NumberFormat.isGroupingUsed()

maxIntegerDigits

byte maxIntegerDigits
The maximum number of digits allowed in the integer portion of a number. maxIntegerDigits must be greater than or equal to minIntegerDigits.

Note: This field exists only for serialization compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new int field maximumIntegerDigits is used instead. When writing to a stream, maxIntegerDigits is set to maximumIntegerDigits or Byte.MAX_VALUE, whichever is smaller. When reading from a stream, this field is used only if serialVersionOnStream is less than 1.

 
See Also:
NumberFormat.getMaximumIntegerDigits()

minIntegerDigits

byte minIntegerDigits
The minimum number of digits allowed in the integer portion of a number. minimumIntegerDigits must be less than or equal to maximumIntegerDigits.

Note: This field exists only for serialization compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new int field minimumIntegerDigits is used instead. When writing to a stream, minIntegerDigits is set to minimumIntegerDigits or Byte.MAX_VALUE, whichever is smaller. When reading from a stream, this field is used only if serialVersionOnStream is less than 1.

 
See Also:
NumberFormat.getMinimumIntegerDigits()

maxFractionDigits

byte maxFractionDigits
The maximum number of digits allowed in the fractional portion of a number. maximumFractionDigits must be greater than or equal to minimumFractionDigits.

Note: This field exists only for serialization compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new int field maximumFractionDigits is used instead. When writing to a stream, maxFractionDigits is set to maximumFractionDigits or Byte.MAX_VALUE, whichever is smaller. When reading from a stream, this field is used only if serialVersionOnStream is less than 1.

 
See Also:
NumberFormat.getMaximumFractionDigits()

minFractionDigits

byte minFractionDigits
The minimum number of digits allowed in the fractional portion of a number. minimumFractionDigits must be less than or equal to maximumFractionDigits.

Note: This field exists only for serialization compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new int field minimumFractionDigits is used instead. When writing to a stream, minFractionDigits is set to minimumFractionDigits or Byte.MAX_VALUE, whichever is smaller. When reading from a stream, this field is used only if serialVersionOnStream is less than 1.

 
See Also:
NumberFormat.getMinimumFractionDigits()

parseIntegerOnly

boolean parseIntegerOnly
True if this format will parse numbers as integers only.

 
See Also:
NumberFormat.isParseIntegerOnly()

maximumIntegerDigits

int maximumIntegerDigits
The maximum number of digits allowed in the integer portion of a number. maximumIntegerDigits must be greater than or equal to minimumIntegerDigits.

 
Since:
1.2
See Also:
NumberFormat.getMaximumIntegerDigits()

minimumIntegerDigits

int minimumIntegerDigits
The minimum number of digits allowed in the integer portion of a number. minimumIntegerDigits must be less than or equal to maximumIntegerDigits.

 
Since:
1.2
See Also:
NumberFormat.getMinimumIntegerDigits()

maximumFractionDigits

int maximumFractionDigits
The maximum number of digits allowed in the fractional portion of a number. maximumFractionDigits must be greater than or equal to minimumFractionDigits.

 
Since:
1.2
See Also:
NumberFormat.getMaximumFractionDigits()

minimumFractionDigits

int minimumFractionDigits
The minimum number of digits allowed in the fractional portion of a number. minimumFractionDigits must be less than or equal to maximumFractionDigits.

 
Since:
1.2
See Also:
NumberFormat.getMinimumFractionDigits()

serialVersionOnStream

int serialVersionOnStream
Describes the version of NumberFormat present on the stream. Possible values are: When streaming out a NumberFormat, the most recent format (corresponding to the highest allowable serialVersionOnStream) is always written.

 
Since:
1.2

Class java.text.NumberFormat.Field extends Format.Field implements Serializable

Serialization Methods

readResolve

protected Object readResolve()
                      throws InvalidObjectException
Resolves instances being deserialized to the predefined constants.

Throws:
InvalidObjectException - if the constant could not be resolved.

Class java.text.ParseException extends Exception implements Serializable

Serialized Fields

errorOffset

int errorOffset
The zero-based character offset into the string being parsed at which the error was found during parsing.

 

Class java.text.SimpleDateFormat extends DateFormat implements Serializable

serialVersionUID: 4774881970558875024l

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
After reading an object from the input stream, the format pattern in the object is verified.

Throws:
InvalidObjectException - if the pattern is invalid
IOException
ClassNotFoundException
Serialized Fields

serialVersionOnStream

int serialVersionOnStream
The version of the serialized data on the stream. Possible values: When streaming out this class, the most recent format and the highest allowable serialVersionOnStream is written.

 
Since:
JDK1.1.4

pattern

String pattern
The pattern string of this formatter. This is always a non-localized pattern. May not be null. See class documentation for details.

 

formatData

DateFormatSymbols formatData
The symbols used by this formatter for week names, month names, etc. May not be null.

 
See Also:
DateFormatSymbols

defaultCenturyStart

Date defaultCenturyStart
We map dates with two-digit years into the century starting at defaultCenturyStart, which may be any date. May not be null.

 
Since:
JDK1.1.4


Package java.util

Class java.util.ArrayList extends AbstractList implements Serializable

serialVersionUID: 8683452581122892189l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the ArrayList instance from a stream (that is, deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the ArrayList instance to a stream (that is, serialize it).

Serial Data:
The length of the array backing the ArrayList instance is emitted (int), followed by all of its elements (each an Object) in the proper order.
Throws:
IOException
Serialized Fields

size

int size
The size of the ArrayList (the number of elements it contains).

 

Class java.util.Arrays.ArrayList extends AbstractList implements Serializable

serialVersionUID: -2764017481108945198l

Serialized Fields

a

Object[] a

Class java.util.BitSet extends Object implements Serializable

serialVersionUID: 7997698588986878753l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
This override of readObject makes sure unitsInUse is set properly when deserializing a bitset

Serialized Fields

bits

long[] bits
The bits in this BitSet. The ith bit is stored in bits[i/64] at bit position i % 64 (where bit position 0 refers to the least significant bit and 63 refers to the most significant bit). INVARIANT: The words in bits[] above unitInUse-1 are zero.

 

Class java.util.Calendar extends Object implements Serializable

serialVersionUID: -1807547505821590642l

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Reconstitute this object from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream stream)
                  throws IOException
Save the state of this object to a stream (i.e., serialize it). Ideally, Calendar would only write out its state data and the current time, and not write any field data out, such as fields[], isTimeSet, areFieldsSet, and isSet[]. nextStamp also should not be part of the persistent state. Unfortunately, this didn't happen before JDK 1.1 shipped. To be compatible with JDK 1.1, we will always have to write out the field values and state flags. However, nextStamp can be removed from the serialization stream; this will probably happen in the near future.

Serialized Fields

fields

int[] fields
The field values for the currently set time for this calendar. This is an array of FIELD_COUNT integers, with index values ERA through DST_OFFSET.

 

isSet

boolean[] isSet
The flags which tell if a specified time field for the calendar is set. A new object has no fields set. After the first call to a method which generates the fields, they all remain set after that. This is an array of FIELD_COUNT booleans, with index values ERA through DST_OFFSET.

 

time

long time
The currently set time for this calendar, expressed in milliseconds after January 1, 1970, 0:00:00 GMT.

 
See Also:
Calendar.isTimeSet

isTimeSet

boolean isTimeSet
True if then the value of time is valid. The time is made invalid by a change to an item of field[].

 
See Also:
Calendar.time

areFieldsSet

boolean areFieldsSet
True if fields[] are in sync with the currently set time. If false, then the next attempt to get the value of a field will force a recomputation of all fields from the current value of time.

 

lenient

boolean lenient
True if this calendar allows out-of-range field values during computation of time from fields[].

 
See Also:
Calendar.setLenient(boolean)

zone

TimeZone zone
The TimeZone used by this calendar. Calendar uses the time zone data to translate between locale and GMT time.

 

firstDayOfWeek

int firstDayOfWeek
The first day of the week, with possible values SUNDAY, MONDAY, etc. This is a locale-dependent value.

 

minimalDaysInFirstWeek

int minimalDaysInFirstWeek
The number of days required for the first week in a month or year, with possible values from 1 to 7. This is a locale-dependent value.

 

nextStamp

int nextStamp
The next available value for stamp[], an internal array. This actually should not be written out to the stream, and will probably be removed from the stream in the near future. In the meantime, a value of MINIMUM_USER_STAMP should be used.

 

serialVersionOnStream

int serialVersionOnStream
The version of the serialized data on the stream. Possible values:
0 or not present on stream
JDK 1.1.5 or earlier.
1
JDK 1.1.6 or later. Writes a correct 'time' value as well as compatible values for other fields. This is a transitional format.
When streaming out this class, the most recent format and the highest allowable serialVersionOnStream is written.

 
Since:
JDK1.1.6

Class java.util.Collections.CopiesList extends AbstractList implements Serializable

serialVersionUID: 2739099268398711800l

Serialized Fields

n

int n

element

Object element

Class java.util.Collections.EmptyList extends AbstractList implements Serializable

serialVersionUID: 8842843931221139166l

Serialization Methods

readResolve

private Object readResolve()

Class java.util.Collections.EmptySet extends AbstractSet implements Serializable

serialVersionUID: 1582296315990362920l

Serialization Methods

readResolve

private Object readResolve()

Class java.util.Collections.ReverseComparator extends Object implements Serializable

serialVersionUID: 7207038068494060240l

Class java.util.Collections.SingletonSet extends AbstractSet implements Serializable

serialVersionUID: 3193687207550431679l

Serialized Fields

element

Object element

Class java.util.Collections.SynchronizedCollection extends Object implements Serializable

serialVersionUID: 3053995032091335093l

Serialized Fields

c

Collection c

mutex

Object mutex

Class java.util.Collections.SynchronizedList extends java.util.Collections.SynchronizedCollection implements Serializable

serialVersionUID: -7754090372962971524l

Serialization Methods

readResolve

private Object readResolve()
SynchronizedRandomAccessList instances are serialized as SynchronizedList instances to allow them to be deserialized in pre-1.4 JREs (which do not have SynchronizedRandomAccessList). This method inverts the transformation. As a beneficial side-effect, it also grafts the RandomAccess marker onto SynchronizedList instances that were serialized in pre-1.4 JREs. Note: Unfortunately, SynchronizedRandomAccessList instances serialized in 1.4.1 and deserialized in 1.4 will become SynchronizedList instances, as this method was missing in 1.4.

Serialized Fields

list

List list

Class java.util.Collections.SynchronizedMap extends Object implements Serializable

serialVersionUID: 1978198479659022715l

Serialized Fields

m

Map m

mutex

Object mutex

Class java.util.Collections.SynchronizedRandomAccessList extends java.util.Collections.SynchronizedList implements Serializable

serialVersionUID: 1530674583602358482l

Serialization Methods

writeReplace

private Object writeReplace()
Allows instances to be deserialized in pre-1.4 JREs (which do not have SynchronizedRandomAccessList). SynchronizedList has a readResolve method that inverts this transformation upon deserialization.

Class java.util.Collections.SynchronizedSet extends java.util.Collections.SynchronizedCollection implements Serializable

Class java.util.Collections.SynchronizedSortedMap extends java.util.Collections.SynchronizedMap implements Serializable

Serialized Fields

sm

SortedMap sm

Class java.util.Collections.SynchronizedSortedSet extends java.util.Collections.SynchronizedSet implements Serializable

Serialized Fields

ss

SortedSet ss

Class java.util.Collections.UnmodifiableCollection extends Object implements Serializable

serialVersionUID: 1820017752578914078l

Serialized Fields

c

Collection c

Class java.util.Collections.UnmodifiableList extends java.util.Collections.UnmodifiableCollection implements Serializable

serialVersionUID: -283967356065247728l

Serialization Methods

readResolve

private Object readResolve()
UnmodifiableRandomAccessList instances are serialized as UnmodifiableList instances to allow them to be deserialized in pre-1.4 JREs (which do not have UnmodifiableRandomAccessList). This method inverts the transformation. As a beneficial side-effect, it also grafts the RandomAccess marker onto UnmodifiableList instances that were serialized in pre-1.4 JREs. Note: Unfortunately, UnmodifiableRandomAccessList instances serialized in 1.4.1 and deserialized in 1.4 will become UnmodifiableList instances, as this method was missing in 1.4.

Serialized Fields

list

List list

Class java.util.Collections.UnmodifiableMap extends Object implements Serializable

serialVersionUID: -1034234728574286014l

Serialized Fields

m

Map m

Class java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet extends java.util.Collections.UnmodifiableSet implements Serializable

Class java.util.Collections.UnmodifiableRandomAccessList extends java.util.Collections.UnmodifiableList implements Serializable

serialVersionUID: -2542308836966382001l

Serialization Methods

writeReplace

private Object writeReplace()
Allows instances to be deserialized in pre-1.4 JREs (which do not have UnmodifiableRandomAccessList). UnmodifiableList has a readResolve method that inverts this transformation upon deserialization.

Class java.util.Collections.UnmodifiableSet extends java.util.Collections.UnmodifiableCollection implements Serializable

Class java.util.Collections.UnmodifiableSortedMap extends java.util.Collections.UnmodifiableMap implements Serializable

Serialized Fields

sm

SortedMap sm

Class java.util.Collections.UnmodifiableSortedSet extends java.util.Collections.UnmodifiableSet implements Serializable

Serialized Fields

ss

SortedSet ss

Class java.util.ConcurrentModificationException extends RuntimeException implements Serializable

Class java.util.Currency extends Object implements Serializable

Serialization Methods

readResolve

private Object readResolve()
Resolves instances being deserialized to a single instance per currency.

Serialized Fields

currencyCode

String currencyCode
ISO 4217 currency code for this currency.

 

Class java.util.Date extends Object implements Serializable

serialVersionUID: 7523967970034938905l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute this object from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of this object to a stream (i.e., serialize it).

Serial Data:
The value returned by getTime() is emitted (long). This represents the offset from January 1, 1970, 00:00:00 GMT in milliseconds.
Throws:
IOException

Class java.util.EmptyStackException extends RuntimeException implements Serializable

Class java.util.EventObject extends Object implements Serializable

Class java.util.GregorianCalendar extends Calendar implements Serializable

serialVersionUID: -8125100834729963327l

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Updates internal state.

Serialized Fields

gregorianCutover

long gregorianCutover
The point at which the Gregorian calendar rules are used, measured in milliseconds from the standard epoch. Default is October 15, 1582 (Gregorian) 00:00:00 UTC or -12219292800000L. For this value, October 4, 1582 (Julian) is followed by October 15, 1582 (Gregorian). This corresponds to Julian day number 2299161.

 

Class java.util.HashMap extends AbstractMap implements Serializable

serialVersionUID: 362498820763181265l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the HashMap instance from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the HashMap instance to a stream (i.e., serialize it).

Serial Data:
The capacity of the HashMap (the length of the bucket array) is emitted (int), followed by the size of the HashMap (the number of key-value mappings), followed by the key (Object) and value (Object) for each key-value mapping represented by the HashMap The key-value mappings are emitted in the order that they are returned by entrySet().iterator().
Throws:
IOException
Serialized Fields

threshold

int threshold
The next size value at which to resize (capacity * load factor).

 

loadFactor

float loadFactor
The load factor for the hash table.

 

Class java.util.HashSet extends AbstractSet implements Serializable

serialVersionUID: -5024744406713321676l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the HashSet instance from a stream (that is, deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of this HashSet instance to a stream (that is, serialize this set).

Serial Data:
The capacity of the backing HashMap instance (int), and its load factor (float) are emitted, followed by the size of the set (the number of elements it contains) (int), followed by all of its elements (each an Object) in no particular order.
Throws:
IOException

Class java.util.Hashtable extends Dictionary implements Serializable

serialVersionUID: 1421746759512286392l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the Hashtable from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the Hashtable to a stream (i.e., serialize it).

Serial Data:
The capacity of the Hashtable (the length of the bucket array) is emitted (int), followed by the size of the Hashtable (the number of key-value mappings), followed by the key (Object) and value (Object) for each key-value mapping represented by the Hashtable The key-value mappings are emitted in no particular order.
Throws:
IOException
Serialized Fields

threshold

int threshold
The table is rehashed when its size exceeds this threshold. (The value of this field is (int)(capacity * loadFactor).)

 

loadFactor

float loadFactor
The load factor for the hashtable.

 

Class java.util.IdentityHashMap extends AbstractMap implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the IdentityHashMap instance from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the IdentityHashMap instance to a stream (i.e., serialize it).

Serial Data:
The size of the HashMap (the number of key-value mappings) (int), followed by the key (Object) and value (Object) for each key-value mapping represented by the IdentityHashMap. The key-value mappings are emitted in no particular order.
Throws:
IOException
Serialized Fields

size

int size
The number of key-value mappings contained in this identity hash map.

 

Class java.util.LinkedHashMap extends HashMap implements Serializable

Serialized Fields

accessOrder

boolean accessOrder
The iteration ordering method for this linked hash map: true for access-order, false for insertion-order.

 

Class java.util.LinkedHashSet extends HashSet implements Serializable

Class java.util.LinkedList extends AbstractSequentialList implements Serializable

serialVersionUID: 876323262645176354l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute this LinkedList instance from a stream (that is deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of this LinkedList instance to a stream (that is, serialize it).

Serial Data:
The size of the list (the number of elements it contains) is emitted (int), followed by all of its elements (each an Object) in the proper order.
Throws:
IOException

Class java.util.Locale extends Object implements Serializable

serialVersionUID: 9149081749638150636l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Serial Data:
The first three fields are three String objects: the first is a 2-letter ISO 639 code representing the locale's language, the second is a 2-letter ISO 3166 code representing the locale's region or country, and the third is an optional chain of variant codes defined by this library. Any of the fields may be the empty string. The fourth field is an intrepresenting the locale's hash code, but is ignored by readObject(). Whatever this field's value, the hash code is initialized to -1, a sentinel value that indicates the hash code must be recomputed.
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serial Data:
The first three fields are three String objects: the first is a 2-letter ISO 639 code representing the locale's language, the second is a 2-letter ISO 3166 code representing the locale's region or country, and the third is an optional chain of variant codes defined by this library. Any of the fields may be the empty string. The fourth field is an int whose value is always -1. This is a sentinel value indicating the Locale's hash code must be recomputed.
Throws:
IOException
Serialized Fields

language

String language
 
See Also:
Locale.getLanguage()

country

String country
 
See Also:
Locale.getCountry()

variant

String variant
 
See Also:
Locale.getVariant()

hashcode

int hashcode
Placeholder for the object's hash code. Always -1.

 

Class java.util.MissingResourceException extends RuntimeException implements Serializable

Serialized Fields

className

String className
The class name of the resource bundle requested by the user.

 

key

String key
The name of the specific resource requested by the user.

 

Class java.util.NoSuchElementException extends RuntimeException implements Serializable

Class java.util.Properties extends Hashtable implements Serializable

serialVersionUID: 4112578634029874840l

Serialized Fields

defaults

Properties defaults
A property list that contains default values for any keys not found in this property list.

 

Class java.util.PropertyPermissionCollection extends PermissionCollection implements Serializable

serialVersionUID: 7015263904581634791l

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serial Data:
Default fields.
Throws:
IOException
Serialized Fields

all_allowed

boolean all_allowed
boolean saying if "*" is in the collection.

permissions

Hashtable permissions
A table of the PropertyPermissions.

Class java.util.Random extends Object implements Serializable

serialVersionUID: 3905348978240129619l

Serialized Fields

seed

long seed
The internal state associated with this pseudorandom number generator. (The specs for the methods in this class describe the ongoing computation of this value.)

 

nextNextGaussian

double nextNextGaussian

haveNextNextGaussian

boolean haveNextNextGaussian

Class java.util.SimpleTimeZone extends TimeZone implements Serializable

serialVersionUID: -403250971215465050l

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Reconstitute this object from a stream (i.e., deserialize it). We handle both JDK 1.1 binary formats and full formats with a packed byte array.


writeObject

private void writeObject(ObjectOutputStream stream)
                  throws IOException
Save the state of this object to a stream (i.e., serialize it).

Serial Data:
We write out two formats, a JDK 1.1 compatible format, using DOW_IN_MONTH_MODE rules, in the required section, followed by the full rules, in packed format, in the optional section. The optional section will be ignored by JDK 1.1 code upon stream in.

Contents of the optional section: The length of a byte array is emitted (int); this is 4 as of this release. The byte array of the given length is emitted. The contents of the byte array are the true values of the fields startDay, startDayOfWeek, endDay, and endDayOfWeek. The values of these fields in the required section are approximate values suited to the rule mode DOW_IN_MONTH_MODE, which is the only mode recognized by JDK 1.1.

Throws:
IOException
Serialized Fields

startMonth

int startMonth
The month in which daylight saving time starts. This value must be between Calendar.JANUARY and Calendar.DECEMBER inclusive. This value must not equal endMonth.

If useDaylight is false, this value is ignored.

 

startDay

int startDay
This field has two possible interpretations:
startMode == DOW_IN_MONTH
startDay indicates the day of the month of startMonth on which daylight saving time starts, from 1 to 28, 30, or 31, depending on the startMonth.
startMode != DOW_IN_MONTH
startDay indicates which startDayOfWeek in th month startMonth daylight saving time starts on. For example, a value of +1 and a startDayOfWeek of Calendar.SUNDAY indicates the first Sunday of startMonth. Likewise, +2 would indicate the second Sunday, and -1 the last Sunday. A value of 0 is illegal.

If useDaylight is false, this value is ignored.

 

startDayOfWeek

int startDayOfWeek
The day of the week on which daylight saving time starts. This value must be between Calendar.SUNDAY and Calendar.SATURDAY inclusive.

If useDaylight is false or startMode == DAY_OF_MONTH, this value is ignored.

 

startTime

int startTime
The time in milliseconds after midnight at which daylight saving time starts. This value is expressed as wall time, standard time, or UTC time, depending on the setting of startTimeMode.

If useDaylight is false, this value is ignored.

 

startTimeMode

int startTimeMode
The format of startTime, either WALL_TIME, STANDARD_TIME, or UTC_TIME.

 
Since:
1.3

endMonth

int endMonth
The month in which daylight saving time ends. This value must be between Calendar.JANUARY and Calendar.UNDECIMBER. This value must not equal startMonth.

If useDaylight is false, this value is ignored.

 

endDay

int endDay
This field has two possible interpretations:
endMode == DOW_IN_MONTH
endDay indicates the day of the month of endMonth on which daylight saving time ends, from 1 to 28, 30, or 31, depending on the endMonth.
endMode != DOW_IN_MONTH
endDay indicates which endDayOfWeek in th month endMonth daylight saving time ends on. For example, a value of +1 and a endDayOfWeek of Calendar.SUNDAY indicates the first Sunday of endMonth. Likewise, +2 would indicate the second Sunday, and -1 the last Sunday. A value of 0 is illegal.

If useDaylight is false, this value is ignored.

 

endDayOfWeek

int endDayOfWeek
The day of the week on which daylight saving time ends. This value must be between Calendar.SUNDAY and Calendar.SATURDAY inclusive.

If useDaylight is false or endMode == DAY_OF_MONTH, this value is ignored.

 

endTime

int endTime
The time in milliseconds after midnight at which daylight saving time ends. This value is expressed as wall time, standard time, or UTC time, depending on the setting of endTimeMode.

If useDaylight is false, this value is ignored.

 

endTimeMode

int endTimeMode
The format of endTime, either WALL_TIME, STANDARD_TIME, or UTC_TIME.

 
Since:
1.3

startYear

int startYear
The year in which daylight saving time is first observed. This is an AD value. If this value is less than 1 then daylight saving time is observed for all AD years.

If useDaylight is false, this value is ignored.

 

rawOffset

int rawOffset
The offset in milliseconds between this zone and GMT. Negative offsets are to the west of Greenwich. To obtain local standard time, add the offset to GMT time. To obtain local wall time it may also be necessary to add dstSavings.

 

useDaylight

boolean useDaylight
A boolean value which is true if and only if this zone uses daylight saving time. If this value is false, several other fields are ignored.

 

monthLength

byte[] monthLength
This field was serialized in JDK 1.1, so we have to keep it that way to maintain serialization compatibility. However, there's no need to recreate the array each time we create a new time zone.

An array of bytes containing the values {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}. This is ignored as of the Java 2 platform v1.2, however, it must be streamed out for compatibility with JDK 1.1.

startMode

int startMode
Variables specifying the mode of the start rule. Takes the following values:
DOM_MODE
Exact day of week; e.g., March 1.
DOW_IN_MONTH_MODE
Day of week in month; e.g., last Sunday in March.
DOW_GE_DOM_MODE
Day of week after day of month; e.g., Sunday on or after March 15.
DOW_LE_DOM_MODE
Day of week before day of month; e.g., Sunday on or before March 15.
The setting of this field affects the interpretation of the startDay field.

If useDaylight is false, this value is ignored.

 
Since:
1.1.4

endMode

int endMode
Variables specifying the mode of the end rule. Takes the following values:
DOM_MODE
Exact day of week; e.g., March 1.
DOW_IN_MONTH_MODE
Day of week in month; e.g., last Sunday in March.
DOW_GE_DOM_MODE
Day of week after day of month; e.g., Sunday on or after March 15.
DOW_LE_DOM_MODE
Day of week before day of month; e.g., Sunday on or before March 15.
The setting of this field affects the interpretation of the endDay field.

If useDaylight is false, this value is ignored.

 
Since:
1.1.4

dstSavings

int dstSavings
A positive value indicating the amount of time saved during DST in milliseconds. Typically one hour (3600000); sometimes 30 minutes (1800000).

If useDaylight is false, this value is ignored.

 
Since:
1.1.4

serialVersionOnStream

int serialVersionOnStream
The version of the serialized data on the stream. Possible values:
0 or not present on stream
JDK 1.1.3 or earlier.
1
JDK 1.1.4 or later. Includes three new fields: startMode, endMode, and dstSavings.
2
JDK 1.3 or later. Includes two new fields: startTimeMode and endTimeMode.
When streaming out this class, the most recent format and the highest allowable serialVersionOnStream is written.

 
Since:
1.1.4

Class java.util.Stack extends Vector implements Serializable

serialVersionUID: 1224463164541339165l

Class java.util.TimeZone extends Object implements Serializable

serialVersionUID: 3581463369166924961l

Serialized Fields

ID

String ID
The string identifier of this TimeZone. This is a programmatic identifier used internally to look up TimeZone objects from the system table and also to map them to their localized display names. ID values are unique in the system table but may not be for dynamically created zones.

 

Class java.util.TooManyListenersException extends Exception implements Serializable

Class java.util.TreeMap extends AbstractMap implements Serializable

serialVersionUID: 919286545866124006l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the TreeMap instance from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the TreeMap instance to a stream (i.e., serialize it).

Serial Data:
The size of the TreeMap (the number of key-value mappings) is emitted (int), followed by the key (Object) and value (Object) for each key-value mapping represented by the TreeMap. The key-value mappings are emitted in key-order (as determined by the TreeMap's Comparator, or by the keys' natural ordering if the TreeMap has no Comparator).
Throws:
IOException
Serialized Fields

comparator

Comparator comparator
The Comparator used to maintain order in this TreeMap, or null if this TreeMap uses its elements natural ordering.

 

Class java.util.TreeSet extends AbstractSet implements Serializable

serialVersionUID: -2479143000061671589l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the TreeSet instance from a stream (that is, deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the TreeSet instance to a stream (that is, serialize it).

Serial Data:
Emits the comparator used to order this set, or null if it obeys its elements' natural ordering (Object), followed by the size of the set (the number of elements it contains) (int), followed by all of its elements (each an Object) in order (as determined by the set's Comparator, or by the elements' natural ordering if the set has no Comparator).
Throws:
IOException

Class java.util.Vector extends AbstractList implements Serializable

serialVersionUID: -2767605614048989439l

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the Vector instance to a stream (that is, serialize it). This method is present merely for synchronization. It just calls the default readObject method.

Serialized Fields

elementData

Object[] elementData
The array buffer into which the components of the vector are stored. The capacity of the vector is the length of this array buffer, and is at least large enough to contain all the vector's elements.

Any array elements following the last element in the Vector are null.

 

elementCount

int elementCount
The number of valid components in this Vector object. Components elementData[0] through elementData[elementCount-1] are the actual items.

 

capacityIncrement

int capacityIncrement
The amount by which the capacity of the vector is automatically incremented when its size becomes greater than its capacity. If the capacity increment is less than or equal to zero, the capacity of the vector is doubled each time it needs to grow.

 


Package java.util.jar

Class java.util.jar.JarException extends ZipException implements Serializable


Package java.util.zip

Class java.util.zip.DataFormatException extends Exception implements Serializable

Class java.util.zip.ZipException extends IOException implements Serializable


Package javax.microedition.io

Class javax.microedition.io.ConnectionNotFoundException extends IOException implements Serializable


Package javax.microedition.pki

Class javax.microedition.pki.CertificateException extends IOException implements Serializable

Serialized Fields

reason

byte reason
The reason code for this exception


cert

Certificate cert
The certificate that caused the exception


Package javax.security.auth.x500

Class javax.security.auth.x500.X500Principal extends Object implements Serializable

serialVersionUID: -500463348111345721l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        NotActiveException,
                        ClassNotFoundException
Reads this object from a stream (i.e., deserializes it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the X500Principal object to a stream.

Serial Data:
this X500Principal is serialized by writing out its DER-encoded form (the value of getEncoded is serialized).
Throws:
IOException


Foundation 1.1.2

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.