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 java.security.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 java.security.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

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 java.security.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

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.net

Class java.net.BindException extends SocketException implements Serializable

Class java.net.ConnectException extends SocketException implements Serializable

Class java.net.Inet4Address extends java.net.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 java.net.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
Serialized Fields

hostName

String hostName

address

int address

family

int family

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

java.net.InetAddress addr

port

int port

Class java.net.MalformedURLException extends IOException implements Serializable

Class java.net.NetPermission extends java.security.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 java.security.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)
                 throws ClassNotFoundException,
                        IOException

writeObject

private void writeObject(ObjectOutputStream)
                  throws IOException
Serialized Fields

string

String string

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.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 java.security.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

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the Random instance from a stream (that is, deserialize it). The seed is read in as long for historical reasons, but it is converted to an AtomicLong.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the Random instance to a stream. The seed of a Random is serialized as a long for historical reasons.

Serialization Overview
Serializable fields for Random.

Serialized Fields

haveNextNextGaussian

boolean haveNextNextGaussian
nextNextGaussian is valid

nextNextGaussian

double; nextNextGaussian
next Gaussian to be returned

seed

long; seed
seed for random computations

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.logging

Class java.util.logging.Level extends Object implements Serializable

Serialization Methods

readResolve

private Object readResolve()
Serialized Fields

name

String name
The non-localized name of the level.

value

int value
The integer value of the level.

resourceBundleName

String resourceBundleName
The resource bundle name to be used in localizing the level name.

Class java.util.logging.LoggingPermission extends java.security.BasicPermission implements Serializable

Class java.util.logging.LogRecord extends Object implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serial Data:
Default fields, followed by a two byte version number (major byte, followed by minor byte), followed by information on the log record parameter array. If there is no parameter array, then -1 is written. If there is a parameter array (possible of zero length) then the array length is written as an integer, followed by String values for each parameter. If a parameter is null, then a null String is written. Otherwise the output of Object.toString() is written.
Throws:
IOException
Serialized Fields

level

Level level
Logging message level

sequenceNumber

long sequenceNumber
Sequence number

sourceClassName

String sourceClassName
Class that issued logging call

sourceMethodName

String sourceMethodName
Method that issued logging call

message

String message
Non-localized raw message text

threadID

int threadID
Thread ID for thread that issued logging call.

millis

long millis
Event time in milliseconds since 1970

thrown

Throwable thrown
The Throwable (if any) associated with log message

loggerName

String loggerName
Name of the source Logger.

resourceBundleName

String resourceBundleName
Resource bundle name to localized log message.


Package java.util.regex

Class java.util.regex.Pattern extends Object implements Serializable

serialVersionUID: 5073258162644648461l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Recompile the Pattern instance from a stream. The original pattern string is read in and the object tree is recompiled from it.

Serialized Fields

pattern

String pattern
The original regular-expression pattern string.

 

flags

int flags
The original pattern flags.

 

Class java.util.regex.PatternSyntaxException extends IllegalArgumentException implements Serializable

Serialized Fields

desc

String desc

pattern

String pattern

index

int index


Package java.util.zip

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

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