|
JSR 217 (Maintenance Release) | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Package java.awt |
| Class java.awt.AWTError extends Error implements Serializable |
serialVersionUID: -1819846354050686206l
| Class java.awt.AWTEvent extends EventObject implements Serializable |
serialVersionUID: -1825314779160409405l
| Serialized Fields |
int id
AWTEvent.getID(),
AWTEvent.AWTEvent(java.lang.Object, int)boolean consumed
AWTEvent.consume(),
AWTEvent.isConsumed()| Class java.awt.AWTException extends Exception implements Serializable |
serialVersionUID: -1900414231151323879l
| Class java.awt.AWTKeyStroke extends Object implements Serializable |
serialVersionUID: -6430539691155161871l
| Serialization Methods |
private Object readResolve()
throws ObjectStreamException
AWTKeyStroke which is equal to this instance.
| Serialized Fields |
char keyChar
int keyCode
int modifiers
boolean onKeyRelease
| Class java.awt.AWTPermission extends BasicPermission implements Serializable |
serialVersionUID: 8890392402588814465l
| Class java.awt.BorderLayout extends Object implements Serializable |
serialVersionUID: -8658291919501921765l
| Serialized Fields |
int hgap
hgap.
BorderLayout.getHgap(),
BorderLayout.setHgap(int)int vgap
vgap.
BorderLayout.getVgap(),
BorderLayout.setVgap(int)Component north
#getChild(String, boolean),
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object),
BorderLayout.getLayoutAlignmentX(java.awt.Container),
BorderLayout.getLayoutAlignmentY(java.awt.Container),
BorderLayout.removeLayoutComponent(java.awt.Component)Component west
#getChild(String, boolean),
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object),
BorderLayout.getLayoutAlignmentX(java.awt.Container),
BorderLayout.getLayoutAlignmentY(java.awt.Container),
BorderLayout.removeLayoutComponent(java.awt.Component)Component east
#getChild(String, boolean),
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object),
BorderLayout.getLayoutAlignmentX(java.awt.Container),
BorderLayout.getLayoutAlignmentY(java.awt.Container),
BorderLayout.removeLayoutComponent(java.awt.Component)Component south
#getChild(String, boolean),
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object),
BorderLayout.getLayoutAlignmentX(java.awt.Container),
BorderLayout.getLayoutAlignmentY(java.awt.Container),
BorderLayout.removeLayoutComponent(java.awt.Component)Component center
#getChild(String, boolean),
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object),
BorderLayout.getLayoutAlignmentX(java.awt.Container),
BorderLayout.getLayoutAlignmentY(java.awt.Container),
BorderLayout.removeLayoutComponent(java.awt.Component)| Class java.awt.CardLayout extends Object implements Serializable |
serialVersionUID: -4328196481005934313l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
private void writeObject(ObjectOutputStream s)
throws IOException
| Serialized Fields |
int currentCard
int hgap
Hashtable tab
Vector vector
int vgap
| Class java.awt.Color extends Object implements Serializable |
serialVersionUID: 118526816881161077l
| Serialized Fields |
int value
Color.getRGB()float[] frgbvalue
ColorSpace as
float components (no alpha).
If null after object construction, this must be an
sRGB color constructed with 8-bit precision, so compute from the
int color value.
Color.getRGBColorComponents(float[]),
Color.getRGBComponents(float[])float[] fvalue
ColorSpace as
float components (no alpha).
If null after object construction, this must be an
sRGB color constructed with 8-bit precision, so compute from the
int color value.
Color.getRGBColorComponents(float[]),
Color.getRGBComponents(float[])float falpha
float component.
If frgbvalue is null, this is not valid
data, so compute from the int color value.
Color.getRGBComponents(float[]),
Color.getComponents(float[])| Class java.awt.Component extends Object implements Serializable |
serialVersionUID: -7644114512714619750l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
ObjectInputStream and if it isn't
null adds a listener to receive a variety
of events fired by the component.
Unrecognized keys or values will be ignored.
ClassNotFoundException
IOException#writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s)
throws IOException
null terminated sequence of
0 or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following (as of 1.4):
componentListenerK indicating an
ComponentListener object;
focusListenerK indicating an
FocusListener object;
keyListenerK indicating an
KeyListener object;
mouseListenerK indicating an
MouseListener object;
mouseMotionListenerK indicating an
MouseMotionListener object;
inputListenerK indicating an
InputListener object;
mouseWheelListenerK indicating an
MouseWheelListener object
IOExceptionAWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener),
#componentListenerK,
#focusListenerK,
#keyListenerK,
#mouseListenerK,
#mouseMotionListenerK,
#inputListenerK,
#mouseWheelListenerK,
#readObject(ObjectInputStream)| Serialized Fields |
int x
Component.getLocation()int y
Component.getLocation()int width
Component.getSize()int height
Component.getSize()Color foreground
foreground can be null.
Component.getForeground(),
Component.setForeground(java.awt.Color)Color background
background can be null.
Component.getBackground(),
Component.setBackground(java.awt.Color)Font font
font can be null.
Component.getFont(),
Component.setFont(java.awt.Font)Cursor cursor
null.
Component.getCursor(),
Component.setCursor(java.awt.Cursor)Locale locale
Component.getLocale(),
Component.setLocale(java.util.Locale)boolean ignoreRepaint
Component.setIgnoreRepaint(boolean),
Component.getIgnoreRepaint()boolean visible
Component.isVisible(),
Component.setVisible(boolean)boolean enabled
Component.isEnabled(),
Component.setEnabled(boolean)boolean valid
Component.isValid(),
Component.validate(),
Component.invalidate()String name
null.
Component.getName(),
Component.setName(String)boolean nameExplicitlySet
nameExplicitlySet will
be false if the name has not been set and
true if it has.
Component.getName(),
Component.setName(String)boolean focusable
Component.setFocusable(boolean),
Component.isFocusable()int isFocusTraversableOverridden
Set[] focusTraversalKeys
Component.setFocusTraversalKeys(int, java.util.Set),
Component.getFocusTraversalKeys(int)boolean focusTraversalKeysEnabled
Component.setFocusTraversalKeysEnabled(boolean),
Component.getFocusTraversalKeysEnabled()Dimension minSize
Dimension prefSize
long eventMask
eventMask is ONLY set by subclasses via
enableEvents.
The mask should NOT be set when listeners are registered
so that we can distinguish the difference between when
listeners request events and subclasses request them.
One bit is used to indicate whether input methods are
enabled; this bit is set by enableInputMethods and is
on by default.
Component.enableInputMethods(boolean),
AWTEventPropertyChangeSupport changeSupport
PropertyChangeListeners have been registered,
the changeSupport field describes them.
Component.addPropertyChangeListener(java.beans.PropertyChangeListener),
Component.removePropertyChangeListener(java.beans.PropertyChangeListener),
Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)boolean isPacked
int componentSerializedDataVersion
| Class java.awt.Container extends Component implements Serializable |
serialVersionUID: 4613797578919906343l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
Container from the specified
ObjectInputStream.
ClassNotFoundException
IOExceptionContainer.addContainerListener(java.awt.event.ContainerListener),
#writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s)
throws IOException
Container to the specified
ObjectOutputStream.
null is written.
null terminated sequence of 0 or more pairs;
the pair consists of a String and Object;
the String indicates the type of object and
is one of the following:
containerListenerK indicating an
ContainerListener object;
the Container's FocusTraversalPolicy,
or null
IOExceptionAWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener),
Container#containerListenerK,
#readObject(ObjectInputStream)| Serialized Fields |
int ncomponents
Container.getComponent(int),
Container.getComponents(),
Container.getComponentCount()Component[] component
Container.add(java.awt.Component),
Container.getComponents()LayoutManager layoutMgr
Container.doLayout(),
Container.setLayout(java.awt.LayoutManager),
Container.getLayout()Dimension maxSize
boolean focusCycleRoot
Container.setFocusCycleRoot(boolean),
Container.isFocusCycleRoot(java.awt.Container)int containerSerializedDataVersion
| Class java.awt.ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy implements Serializable |
serialVersionUID: 486933713763926351l
| Serialized Fields |
boolean implicitDownCycleTraversal
| Class java.awt.Cursor extends Object implements Serializable |
serialVersionUID: 8028237497568985504l
| Serialized Fields |
int type
DEFAULT_CURSOR.
Cursor.getType()| Class java.awt.DefaultFocusTraversalPolicy extends ContainerOrderFocusTraversalPolicy implements Serializable |
| Class java.awt.Dimension extends Object implements Serializable |
serialVersionUID: 4723952579491349524l
| Serialized Fields |
int width
Dimension.getSize(),
Dimension.setSize(java.awt.Dimension)int height
Dimension.getSize(),
Dimension.setSize(java.awt.Dimension)| Class java.awt.FlowLayout extends Object implements Serializable |
serialVersionUID: -7262534875583282631l
| Serialized Fields |
int align
align is the property that determines
how each row distributes empty space.
It can be one of the following values:
LEFT
RIGHT
CENTER
FlowLayout.getAlignment(),
FlowLayout.setAlignment(int)int hgap
FlowLayout.getHgap(),
FlowLayout.setHgap(int)int vgap
FlowLayout.getHgap(),
FlowLayout.setHgap(int)| Class java.awt.Font extends Object implements Serializable |
serialVersionUID: -4206021311591459213l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
ObjectInputStream.
Unrecognized keys or values will be ignored.
ClassNotFoundException
IOException#writeObject(java.io.ObjectOutputStream)
private void writeObject(ObjectOutputStream s)
throws ClassNotFoundException,
IOException
ClassNotFoundException
IOExceptionAWTEventMulticaster.save(ObjectOutputStream, String, EventListener),
#readObject(java.io.ObjectInputStream)| Serialized Fields |
String name
Font, as passed to the
constructor.
Font.getName()int style
Font, as passed to the constructor.
This style can be PLAIN, BOLD, ITALIC, or BOLD+ITALIC.
Font.getStyle()int size
Font, rounded to integer.
Font.getSize()Hashtable fRequestedAttributes
Font.getAttributes()int fontSerializedDataVersion
Font Serializable Data Form.
| Class java.awt.FontMetrics extends Object implements Serializable |
serialVersionUID: 1681126225205050147l
| Serialized Fields |
Font font
Font from which the font metrics are
created.
This cannot be null.
FontMetrics.getFont()| Class java.awt.Frame extends Window implements Serializable |
serialVersionUID: 2673458971256075116l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException,
HeadlessException
ObjectInputStream. Tries
to read an icon Image, which is optional
data available as of 1.4. If an Image
is not available, but anything other than an EOF
is detected, an OptionalDataException
will be thrown..
Unrecognized keys or values will be ignored.
Note: This operation is subject to restriction in Personal Basis Profile.
OptionalDataException - if an Image
is not available, but anything other than an EOF
is detected
HeadlessException - if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException
IOExceptionGraphicsEnvironment.isHeadless(),
Image,
#writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s)
throws IOException
Image, which is
available as of 1.4.
Image
IOExceptionImage,
#readObject(ObjectInputStream)| Serialized Fields |
String title
title can be null and if
this is the case the title = "".
Frame.getTitle(),
Frame.setTitle(String)boolean resizable
resizable will be true if the frame is
resizable, otherwise it will be false.
Frame.isResizable()boolean undecorated
undecorated will be true if the frame is
undecorated, otherwise it will be false.
Frame.setUndecorated(boolean),
Frame.isUndecorated(),
Component.isDisplayable()boolean mbManagement
mbManagement is only used by the Motif implementation.
int state
int frameSerializedDataVersion
Frame's Serialized Data Version.
| Class java.awt.GridBagConstraints extends Object implements Serializable |
serialVersionUID: -1000070633030801713l
| Serialized Fields |
int gridx
gridx=0.
The value
RELATIVE specifies that the component be placed
immediately following the component that was added to the container
just before this component was added.
The default value is RELATIVE.
gridx should be a non-negative value.
GridBagConstraints.clone(),
GridBagConstraints.gridyint gridy
gridy=0. The value
RELATIVE specifies that the component be placed just
below the component that was added to the container just before
this component was added.
The default value is RELATIVE.
gridy should be a non-negative value.
GridBagConstraints.clone(),
GridBagConstraints.gridxint gridwidth
Use REMAINDER to specify that the component be the
last one in its row. Use RELATIVE to specify that the
component be the next-to-last one in its row.
gridwidth should be non-negative and the default
value is 1.
GridBagConstraints.clone(),
GridBagConstraints.gridheightint gridheight
Use REMAINDER to specify that the component be the
last one in its column. Use RELATIVE to specify that
the component be the next-to-last one in its column.
gridheight should be a non-negative value and the
default value is 1.
GridBagConstraints.clone(),
GridBagConstraints.gridwidthdouble weightx
The grid bag layout manager calculates the weight of a column to
be the maximum weightx of all the components in a
column. If the resulting layout is smaller horizontally than the area
it needs to fill, the extra space is distributed to each column in
proportion to its weight. A column that has a weight of zero receives
no extra space.
If all the weights are zero, all the extra space appears between the grids of the cell and the left and right edges.
The default value of this field is 0.
weightx should be a non-negative value.
GridBagConstraints.clone(),
GridBagConstraints.weightydouble weighty
The grid bag layout manager calculates the weight of a row to be
the maximum weighty of all the components in a row.
If the resulting layout is smaller vertically than the area it
needs to fill, the extra space is distributed to each row in
proportion to its weight. A row that has a weight of zero receives no
extra space.
If all the weights are zero, all the extra space appears between the grids of the cell and the top and bottom edges.
The default value of this field is 0.
weighty should be a non-negative value.
GridBagConstraints.clone(),
GridBagConstraints.weightxint anchor
Possible values are:
CENTER, NORTH, NORTHEAST,
EAST, SOUTHEAST, SOUTH,
SOUTHWEST, WEST, and NORTHWEST.
The default value is CENTER.
GridBagConstraints.clone()int fill
The following values are valid for fill:
NONE: Do not resize the component.
HORIZONTAL: Make the component wide enough to fill
its display area horizontally, but do not change its height.
VERTICAL: Make the component tall enough to fill its
display area vertically, but do not change its width.
BOTH: Make the component fill its display area
entirely.
The default value is NONE.
GridBagConstraints.clone()Insets insets
The default value is new Insets(0, 0, 0, 0).
GridBagConstraints.clone()int ipadx
(ipadx * 2) pixels.
The default value is 0.
GridBagConstraints.clone(),
GridBagConstraints.ipadyint ipady
(ipady * 2) pixels.
The default value is 0.
GridBagConstraints.clone(),
GridBagConstraints.ipadxint tempX
int tempY
int tempWidth
int tempHeight
int minWidth
ipady, where the default will be 0.
GridBagConstraints.ipadyint minHeight
ipadx, where the default will be 0.
GridBagConstraints.ipadx| Class java.awt.GridBagLayout extends Object implements Serializable |
serialVersionUID: 8838754796412211005l
| Serialized Fields |
Hashtable comptable
comptable are the components and the
values are the instances of GridBagConstraints.
GridBagConstraintsGridBagConstraints defaultConstraints
defaultConstraints.
GridBagLayout.getConstraints(Component),
GridBagLayout.setConstraints(Component, GridBagConstraints),
GridBagLayout.lookupConstraints(Component)int[] columnWidths
null the values are
applied to the gridbag after all of the minimum columns
widths have been calculated.
If columnWidths has more elements than the number of
columns, columns are added to the gridbag to match
the number of elements in columnWidth.
GridBagLayout.getLayoutDimensions()int[] rowHeights
rowHeights has more elements than the number of
rows, rowa are added to the gridbag to match
the number of elements in rowHeights.
GridBagLayout.getLayoutDimensions()double[] columnWeights
null the values are
applied to the gridbag after all of the columns
weights have been calculated.
If columnWeights[i] > weight for column i, then
column i is assigned the weight in columnWeights[i].
If columnWeights has more elements than the number
of columns, the excess elements are ignored - they do
not cause more columns to be created.
double[] rowWeights
rowWeights[i] > weight for row i, then
row i is assigned the weight in rowWeights[i].
If rowWeights has more elements than the number
of rows, the excess elements are ignored - they do
not cause more rows to be created.
| Class java.awt.GridLayout extends Object implements Serializable |
| Serialized Fields |
int hgap
GridLayout.getHgap(),
GridLayout.setHgap(int)int vgap
GridLayout.getVgap(),
GridLayout.setVgap(int)int rows
GridLayout.getRows(),
GridLayout.setRows(int)int cols
GridLayout.getColumns(),
GridLayout.setColumns(int)| Class java.awt.HeadlessException extends UnsupportedOperationException implements Serializable |
serialVersionUID: 167183644944358563l
| Class java.awt.IllegalComponentStateException extends IllegalStateException implements Serializable |
serialVersionUID: -1889339587208144238l
| Class java.awt.Insets extends Object implements Serializable |
serialVersionUID: -2272572637695466749l
| Serialized Fields |
int top
Insets.clone()int left
Insets.clone()int bottom
Insets.clone()int right
Insets.clone()| Class java.awt.MediaTracker extends Object implements Serializable |
serialVersionUID: -483174189758638095l
| Serialized Fields |
Component target
Component that will be
tracked by a media tracker where the image will
eventually be drawn.
MediaTracker.MediaTracker(Component)| Class java.awt.Point extends Object implements Serializable |
serialVersionUID: -5276940640259749850l
| Serialized Fields |
int x
Point.getLocation(),
Point.move(int, int)int y
Point.getLocation(),
Point.move(int, int)| Class java.awt.Polygon extends Object implements Serializable |
serialVersionUID: -6460061437900069969l
| Serialized Fields |
int npoints
npoints
represents the number of valid points in this Polygon
and might be less than the number of elements in
xpoints or ypoints.
This value can be NULL.
Polygon.addPoint(int, int)int[] xpoints
Polygon. The extra elements allow new points
to be added to this Polygon without re-creating this
array. The value of npoints is equal to the
number of valid points in this Polygon.
Polygon.addPoint(int, int)int[] ypoints
Polygon. The extra elements allow new points
to be added to this Polygon without re-creating this
array. The value of npoints is equal to the
number of valid points in this Polygon.
Polygon.addPoint(int, int)Rectangle bounds
Polygon.getBounds()| Class java.awt.Rectangle extends Object implements Serializable |
serialVersionUID: -4345857070255674764l
| Serialized Fields |
int x
Rectangle.
Rectangle.setLocation(int, int),
Rectangle.getLocation()int y
Rectangle.
Rectangle.setLocation(int, int),
Rectangle.getLocation()int width
Rectangle.
Rectangle.setSize(int, int),
Rectangle.getSize()int height
Rectangle.
Rectangle.setSize(int, int),
Rectangle.getSize()| Class java.awt.SystemColor extends Color implements Serializable |
serialVersionUID: 4503142729533789064l
| Class java.awt.Window extends Container implements Serializable |
serialVersionUID: 4497834738069338734l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException,
HeadlessException
ObjectInputStream and an optional
list of listeners to receive various events fired by
the component; also reads a list of
(possibly null) child windows.
Unrecognized keys or values will be ignored.
HeadlessException - if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException
IOExceptionGraphicsEnvironment.isHeadless(),
#writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
WindowListeners and
WindowFocusListeners as optional data.
Writes a list of child windows as optional data.
null terminated sequence of
0 or more pairs; the pair consists of a String
and and Object; the String
indicates the type of object and is one of the following:
windowListenerK indicating a
WindowListener object;
windowFocusWindowK indicating a
WindowFocusListener object;
ownedWindowK indicating a child
Window object
IOExceptionAWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener),
Component#windowListenerK,
Component#windowFocusListenerK,
Component#ownedWindowK,
#readObject(ObjectInputStream)| Serialized Fields |
String warningString
Window.getWarningString()int state
Window.show()boolean focusableWindowState
Window.getFocusableWindowState(),
Window.setFocusableWindowState(boolean)int windowSerializedDataVersion
| Package java.awt.color |
| Class java.awt.color.ColorSpace extends Object implements Serializable |
serialVersionUID: -409452704308689724l
| Serialized Fields |
int type
int numComponents
| Package java.awt.event |
| Class java.awt.event.ActionEvent extends AWTEvent implements Serializable |
serialVersionUID: -7671078796273832149l
| Serialized Fields |
String actionCommand
ActionEvent.getActionCommand()long when
ActionEvent.getWhen()int modifiers
ActionEvent.getModifiers()| Class java.awt.event.AdjustmentEvent extends AWTEvent implements Serializable |
serialVersionUID: 5700290645205279921l
| Serialized Fields |
Adjustable adjustable
AdjustmentEvent.getAdjustable()int value
value will contain the new value of the
adjustable object. This value will always be in a
range associated adjustable object.
AdjustmentEvent.getValue()int adjustmentType
adjustmentType describes how the adjustable
object value has changed.
This value can be increased/decreased by a block or unit amount
where the block is associated with page increments/decrements,
and a unit is associated with line increments/decrements.
AdjustmentEvent.getAdjustmentType()| Class java.awt.event.ComponentEvent extends AWTEvent implements Serializable |
serialVersionUID: 8101406823902992965l
| Class java.awt.event.ContainerEvent extends ComponentEvent implements Serializable |
serialVersionUID: -4114942250539772041l
| Serialized Fields |
Component child
ContainerEvent.getChild()| Class java.awt.event.FocusEvent extends ComponentEvent implements Serializable |
serialVersionUID: 523753786457416396l
| Serialized Fields |
boolean temporary
FocusEvent.isTemporary()| Class java.awt.event.InputEvent extends ComponentEvent implements Serializable |
serialVersionUID: -2482525981698309786l
| Serialized Fields |
long when
InputEvent.getWhen()int modifiers
InputEvent.getModifiers(),
InputEvent.getModifiersEx(),
KeyEvent,
MouseEvent| Class java.awt.event.InputMethodEvent extends AWTEvent implements Serializable |
serialVersionUID: 4727190874778922661l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
when field if it is not present in the
object input stream. In that case, the field will be initialized by
invoking EventQueue.getMostRecentEventTime().
| Serialized Fields |
long when
InputMethodEvent.getWhen()| Class java.awt.event.InvocationEvent extends AWTEvent implements Serializable |
serialVersionUID: 436056344909459450l
| Serialized Fields |
Runnable runnable
Object notifier
boolean catchExceptions
Exception exception
long when
InvocationEvent.getWhen()| Class java.awt.event.ItemEvent extends AWTEvent implements Serializable |
serialVersionUID: -608708132447206933l
| Serialized Fields |
Object item
ItemEvent.getItem()int stateChange
stateChange indicates whether the item
was selected or deselected.
ItemEvent.getStateChange()| Class java.awt.event.KeyEvent extends InputEvent implements Serializable |
serialVersionUID: -2352130953028126954l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
| Serialized Fields |
int keyCode
KeyEvent.getKeyCode(),
KeyEvent.setKeyCode(int)char keyChar
keyChar is a valid unicode character
that is fired by a key or a key combination on
a keyboard.
KeyEvent.getKeyChar(),
KeyEvent.setKeyChar(char)| Class java.awt.event.MouseEvent extends InputEvent implements Serializable |
serialVersionUID: -991214153494842848l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
| Serialized Fields |
int x
MouseEvent.getX()int y
MouseEvent.getY()int clickCount
MOUSE_CLICKED,
MOUSE_PRESSED and
MOUSE_RELEASED.
For the above, the clickCount will be at least 1.
For all other events the count will be 0.
MouseEvent.getClickCount().int button
NOBUTTON,
BUTTON1,
BUTTON2 or
BUTTON3.
MouseEvent.getButton().boolean popupTrigger
popupTrigger = false,
no popup menu should appear. If it is true
then a popup menu should appear.
java.awt.PopupMenu,
MouseEvent.isPopupTrigger()| Class java.awt.event.MouseWheelEvent extends MouseEvent implements Serializable |
| Serialized Fields |
int scrollType
MouseWheelEvent.getScrollType()int scrollAmount
MouseWheelEvent.getScrollAmount(),
MouseWheelEvent.getScrollType()int wheelRotation
MouseWheelEvent.getWheelRotation()| Class java.awt.event.PaintEvent extends ComponentEvent implements Serializable |
serialVersionUID: 1267492026433337593l
| Serialized Fields |
Rectangle updateRect
Rectangle,
PaintEvent.setUpdateRect(Rectangle),
PaintEvent.getUpdateRect()| Class java.awt.event.TextEvent extends AWTEvent implements Serializable |
serialVersionUID: 6269902291250941179l
| Class java.awt.event.WindowEvent extends ComponentEvent implements Serializable |
serialVersionUID: -1567959133147912127l
| Package java.awt.font |
| Class java.awt.font.TextAttribute extends AttributedCharacterIterator.Attribute implements Serializable |
serialVersionUID: 7744112784117861702l
| Serialization Methods |
protected Object readResolve()
throws InvalidObjectException
| Package java.awt.image |
| Class java.awt.image.RasterFormatException extends RuntimeException implements Serializable |
| Package java.beans |
| Class java.beans.PropertyChangeEvent extends EventObject implements Serializable |
| Serialized Fields |
String propertyName
Object newValue
Object oldValue
Object propagationId
| Class java.beans.PropertyChangeSupport extends Object implements Serializable |
serialVersionUID: 6401253773779951803l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
private void writeObject(ObjectOutputStream s)
throws IOException
PropertyChangeListeners.
At serialization time we skip non-serializable listeners and only serialize the serializable listeners.
IOException| Serialized Fields |
Hashtable children
Object source
int propertyChangeSupportSerializedDataVersion
| Class java.beans.PropertyVetoException extends Exception implements Serializable |
| Serialized Fields |
PropertyChangeEvent evt
| Class java.beans.VetoableChangeSupport extends Object implements Serializable |
serialVersionUID: -5090210921595982017l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
private void writeObject(ObjectOutputStream s)
throws IOException
VetoableChangeListeners.
At serialization time we skip non-serializable listeners and only serialize the serializable listeners.
IOException| Serialized Fields |
Hashtable children
Object source
int vetoableChangeSupportSerializedDataVersion
| Package java.rmi |
| Class java.rmi.AccessException extends RemoteException implements Serializable |
serialVersionUID: 6314925228044966088l
| Class java.rmi.AlreadyBoundException extends Exception implements Serializable |
serialVersionUID: 9218657361741657110l
| Class java.rmi.NotBoundException extends Exception implements Serializable |
serialVersionUID: -1857741824849069317l
| Class java.rmi.RemoteException extends IOException implements Serializable |
serialVersionUID: -5148567311918794206l
| Serialized Fields |
Throwable detail
This field predates the general-purpose exception chaining facility.
The Throwable.getCause() method is now the preferred means of
obtaining this information.
| Class java.rmi.UnexpectedException extends RemoteException implements Serializable |
serialVersionUID: 1800467484195073863l
| Package javax.microedition.xlet |
| Class javax.microedition.xlet.UnavailableContainerException extends Exception implements Serializable |
| Class javax.microedition.xlet.XletStateChangeException extends Exception implements Serializable |
| Package javax.microedition.xlet.ixc |
| Class javax.microedition.xlet.ixc.StubException extends RemoteException implements Serializable |
| 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 |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
| Serialized Fields |
String path
| Class java.io.FileNotFoundException extends IOException implements Serializable |
| Class java.io.FilePermissionCollection extends PermissionCollection implements Serializable |
serialVersionUID: 2202956749081564585l
| Serialization Methods |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream out)
throws IOException
IOException| Serialized Fields |
Vector permissions
| Class java.io.InterruptedIOException extends IOException implements Serializable |
| Serialized Fields |
int bytesTransferred
| Class java.io.InvalidClassException extends ObjectStreamException implements Serializable |
| Serialized Fields |
String classname
| 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 |
int length
boolean eof
| Class java.io.SerializablePermission extends BasicPermission implements Serializable |
| Serialized Fields |
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 |
Exception detail
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 |
boolean value
| Class java.lang.Byte extends Number implements Serializable |
serialVersionUID: -7183698231559129828l
| Serialized Fields |
byte value
Byte.
| Class java.lang.Character extends Object implements Serializable |
serialVersionUID: 3786198910865385080l
| Serialized Fields |
char value
Character.
| Class java.lang.Class extends Object implements Serializable |
serialVersionUID: 3206093459760846163l
| Serialization Overview |
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.
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 |
Throwable ex
| Class java.lang.CloneNotSupportedException extends Exception implements Serializable |
| Class java.lang.Double extends Number implements Serializable |
serialVersionUID: -9172774392245257468l
| Serialized Fields |
double value
| 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 |
Throwable exception
| Class java.lang.Float extends Number implements Serializable |
serialVersionUID: -2671257302660747028l
| Serialized Fields |
float value
| 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 |
int value
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 |
long value
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 |
short value
Short.
| Class java.lang.StackOverflowError extends VirtualMachineError implements Serializable |
| Class java.lang.StackTraceElement extends Object implements Serializable |
serialVersionUID: 6992337162326171013l
| Serialized Fields |
String declaringClass
String methodName
String fileName
int lineNumber
boolean isCompiled
String methodSignature
| Class java.lang.String extends Object implements Serializable |
serialVersionUID: -6849794470754667710l
| Serialization Overview |
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 |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
| Serialized Fields |
char[] value
int count
boolean 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 |
private void writeObject(ObjectOutputStream s)
throws IOException
| Serialized Fields |
String detailMessage
Throwable cause
StackTraceElement[] stackTrace
Throwable.getStackTrace().
| 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 |
Throwable target
| Class java.lang.reflect.Proxy extends Object implements Serializable |
| Serialized Fields |
InvocationHandler h
| Class java.lang.reflect.ReflectPermission extends BasicPermission implements Serializable |
| Class java.lang.reflect.UndeclaredThrowableException extends RuntimeException implements Serializable |
serialVersionUID: 330127114055056639l
| Serialized Fields |
Throwable undeclaredThrowable
| Package java.math |
| Class java.math.BigDecimal extends Number implements Serializable |
serialVersionUID: 6108874887143696463l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
| Serialized Fields |
BigInteger intVal
BigDecimal.unscaledValue()int scale
BigDecimal.scale()| Class java.math.BigInteger extends Number implements Serializable |
serialVersionUID: -8287574255936472291l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private Object writeReplace()
| Serialized Fields |
int signum
byte[] magnitude
int bitCount
BigInteger.bitCount()int bitLength
BigInteger.bitLength()int lowestSetBit
BigInteger.getLowestSetBit()int firstNonzeroByteNum
| 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 |
private Object writeReplace()
throws ObjectStreamException
ObjectStreamException - if a new object replacing this
object could not be created| Class java.net.Inet6Address extends InetAddress implements Serializable |
serialVersionUID: 6880410070516793377l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
| Serialized Fields |
byte[] ipaddress
| Class java.net.InetAddress extends Object implements Serializable |
serialVersionUID: 3286316764910316507l
| Serialization Methods |
private Object readResolve()
throws ObjectStreamException
ObjectStreamException - if a new object replacing this
object could not be created| Serialized Fields |
String hostName
int address
int family
| Class java.net.InetSocketAddress extends SocketAddress implements Serializable |
serialVersionUID: 5076001401234631237l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
| Serialized Fields |
String hostname
InetAddress addr
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 |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream out)
throws IOException
IOException| Serialized Fields |
Vector permissions
| 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 |
private void readObject(ObjectInputStream is)
throws ClassNotFoundException,
IOException
The ObjectInputStream.defaultReadObject() method is
invoked to read the value of the string field. The result is
then parsed in the usual way.
private void writeObject(ObjectOutputStream os)
throws IOException
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
| Class java.net.URISyntaxException extends Exception implements Serializable |
| Serialized Fields |
String input
int index
| Class java.net.URL extends Object implements Serializable |
serialVersionUID: -7627629688361524110l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Serialized Fields |
String protocol
String host
int port
String file
file is
defined as path[?query]
String authority
String ref
int hashCode
| Package java.security |
| Class java.security.AccessControlException extends SecurityException implements Serializable |
| Serialized Fields |
Permission perm
| Class java.security.AllPermissionCollection extends PermissionCollection implements Serializable |
serialVersionUID: -4023755556366636806l
| Serialized Fields |
boolean all_allowed
| Class java.security.BasicPermission extends Permission implements Serializable |
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
| Class java.security.BasicPermissionCollection extends PermissionCollection implements Serializable |
serialVersionUID: 739301742472979399l
| Serialization Methods |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream out)
throws IOException
IOException| Serialized Fields |
boolean all_allowed
true if this BasicPermissionCollection
contains a BasicPermission with '*' as its permission name.Class permClass
Hashtable permissions
| Class java.security.CodeSource extends Object implements Serializable |
| Serialization Methods |
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream oos)
throws IOException
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.
IOException| Serialized Fields |
URL 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 |
private void writeObject(ObjectOutputStream oos)
throws IOException
| Serialized Fields |
Object object
Guard guard
| Class java.security.Identity extends Object implements Serializable |
serialVersionUID: 3609922007826600659l
| Serialized Fields |
String name
PublicKey publicKey
String info
IdentityScope scope
Vector certificates
| 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
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 |
String name
| Class java.security.PermissionCollection extends Object implements Serializable |
serialVersionUID: -6727011328946861783l
| Serialized Fields |
boolean readOnly
| Class java.security.PermissionsHash extends PermissionCollection implements Serializable |
serialVersionUID: -8491988220802933440l
| Serialization Methods |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream out)
throws IOException
IOException| Serialized Fields |
Hashtable perms
| Class java.security.PrivilegedActionException extends Exception implements Serializable |
serialVersionUID: 4724086851538908602l
| Serialized Fields |
Exception exception
| Class java.security.Provider extends Properties implements Serializable |
serialVersionUID: -4298000515446427739l
| Serialized Fields |
String name
String info
double version
| Class java.security.ProviderException extends RuntimeException implements Serializable |
| Class java.security.SecureRandom extends Random implements Serializable |
serialVersionUID: 4940670005562187l
| Serialized Fields |
Provider provider
SecureRandomSpi secureRandomSpi
byte[] state
MessageDigest digest
byte[] randomBytes
int randomBytesUsed
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 |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
| Serialized Fields |
byte[] content
byte[] signature
String thealgorithm
| Class java.security.Signer extends Identity implements Serializable |
| Serialized Fields |
PrivateKey privateKey
| Class java.security.UnrecoverableKeyException extends GeneralSecurityException implements Serializable |
| Class java.security.UnresolvedPermission extends Permission implements Serializable |
| Serialization Methods |
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream oos)
throws IOException
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.
IOException| Serialized Fields |
String type
String name
String actions
| Class java.security.UnresolvedPermissionCollection extends PermissionCollection implements Serializable |
serialVersionUID: -7176153071733132400l
| Serialization Methods |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream out)
throws IOException
IOException| Serialized Fields |
Hashtable 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 |
protected Object writeReplace()
throws ObjectStreamException
ObjectStreamException - if a new object representing
this Certificate could not be created| Serialized Fields |
String type
| Class java.security.cert.Certificate.CertificateRep extends Object implements Serializable |
| Serialization Methods |
protected Object readResolve()
throws ObjectStreamException
ObjectStreamException - if the Certificate
could not be resolved| Serialized Fields |
String type
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 |
protected Object writeReplace()
throws ObjectStreamException
CertPath to be serialized with a
CertPathRep object.
ObjectStreamException - if a CertPathRep object
representing this certification path could not be created| Serialized Fields |
String type
| Class java.security.cert.CertPath.CertPathRep extends Object implements Serializable |
| Serialization Methods |
protected Object readResolve()
throws ObjectStreamException
CertPath constructed from the type and data.
ObjectStreamException - if a CertPath could not
be constructed| Serialized Fields |
String type
byte[] data
| 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 |
protected Object readResolve()
throws InvalidObjectException
| Serialized Fields |
String name
| Class java.text.ChoiceFormat extends NumberFormat implements Serializable |
| Serialization Methods |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
InvalidObjectException - if the objects read from the stream is invalid.
IOException
ClassNotFoundException| Serialized Fields |
double[] choiceLimits
choiceFormats[i] if the number being formatted is greater than or equal to
choiceLimits[i] and less than choiceLimits[i+1].
String[] choiceFormats
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
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
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 |
protected Object readResolve()
throws InvalidObjectException
InvalidObjectException - if the constant could not be
resolved.| Serialized Fields |
int calendarField
| Class java.text.DateFormatSymbols extends Object implements Serializable |
serialVersionUID: -5987973545549424702l
| Serialized Fields |
String[] eras
Calendar.BC and Calendar.AD.
String[] months
Calendar.JANUARY, Calendar.FEBRUARY, etc.
String[] shortMonths
Calendar.JANUARY, Calendar.FEBRUARY, etc.
String[] weekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element weekdays[0] is ignored.
String[] shortWeekdays
Calendar.SUNDAY,
Calendar.MONDAY, etc.
The element shortWeekdays[0] is ignored.
String[] ampms
Calendar.AM and
Calendar.PM.
String[][] zoneStrings
TimeZone.
Each such row contains (with i ranging from
0..n-1):
zoneStrings[i][0] - time zone IDzoneStrings[i][1] - long name of zone in standard
timezoneStrings[i][2] - short name of zone in
standard timezoneStrings[i][3] - long name of zone in daylight
savings timezoneStrings[i][4] - short name of zone in daylight
savings time
TimeZoneString localPatternChars
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 |
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
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 |
String positivePrefix
DecimalFormat.getPositivePrefix()String positiveSuffix
DecimalFormat.getPositiveSuffix()String negativePrefix
DecimalFormat.getNegativePrefix()String negativeSuffix
DecimalFormat.getNegativeSuffix()String posPrefixPattern
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.
String posSuffixPattern
positiveSuffix. This variable is analogous to
posPrefixPattern; see that variable for further
documentation.
String negPrefixPattern
negativePrefix. This variable is analogous to
posPrefixPattern; see that variable for further
documentation.
String negSuffixPattern
negativeSuffix. This variable is analogous to
posPrefixPattern; see that variable for further
documentation.
int multiplier
DecimalFormat.getMultiplier()byte groupingSize
NumberFormat.groupingUsed is true.
DecimalFormat.getGroupingSize(),
NumberFormat.isGroupingUsed()boolean decimalSeparatorAlwaysShown
DecimalFormat.isDecimalSeparatorAlwaysShown()DecimalFormatSymbols symbols
DecimalFormatSymbols object used by this format.
It contains the symbols used to format numbers, e.g. the grouping separator,
decimal separator, and so on.
DecimalFormat.setDecimalFormatSymbols(java.text.DecimalFormatSymbols),
DecimalFormatSymbolsboolean useExponentialNotation
byte minExponentDigits
useExponentialNotation is not true.
int serialVersionOnStream
useExponentialNotation and minExponentDigits.
posPrefixPattern, posSuffixPattern,
negPrefixPattern, and negSuffixPattern.
| Class java.text.DecimalFormatSymbols extends Object implements Serializable |
serialVersionUID: 5772796243397350300l
| Serialization Methods |
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
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.
IOException
ClassNotFoundException| Serialized Fields |
char zeroDigit
DecimalFormatSymbols.getZeroDigit()char groupingSeparator
DecimalFormatSymbols.getGroupingSeparator()char decimalSeparator
DecimalFormatSymbols.getDecimalSeparator()char perMill
DecimalFormatSymbols.getPerMill()char percent
DecimalFormatSymbols.getPercent()char digit
DecimalFormatSymbols.getDigit()char patternSeparator
DecimalFormatSymbols.getPatternSeparator()String infinity
DecimalFormatSymbols.getInfinity()String NaN
DecimalFormatSymbols.getNaN()char minusSign
DecimalFormatSymbols.getMinusSign()String currencySymbol
DecimalFormatSymbols.getCurrencySymbol()String intlCurrencySymbol
DecimalFormatSymbols.getInternationalCurrencySymbol()char monetarySeparator
DecimalFormatSymbols.getMonetaryDecimalSeparator()char exponential
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.
Locale locale
int serialVersionOnStream
DecimalFormatSymbols present on the stream.
Possible values are:
monetarySeparator and exponential.
locale field.
DecimalFormatSymbols, the most recent format
(corresponding to the highest allowable serialVersionOnStream)
is always written.
| 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 |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
InvalidObjectException - if the objects read from the stream is invalid.
IOException
ClassNotFoundException| Serialized Fields |
Locale locale
String pattern
Format[] formats
int[] offsets
int[] argumentNumbers
int maxOffset
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 |
protected Object readResolve()
throws InvalidObjectException
InvalidObjectException - if the constant could not be
resolved.| Class java.text.NumberFormat extends Format implements Serializable |
serialVersionUID: -2308460125733713944l
| Serialization Methods |
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
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.
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream stream)
throws IOException
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.
IOException| Serialized Fields |
boolean groupingUsed
NumberFormat.isGroupingUsed()byte maxIntegerDigits
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.
NumberFormat.getMaximumIntegerDigits()byte minIntegerDigits
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.
NumberFormat.getMinimumIntegerDigits()byte maxFractionDigits
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.
NumberFormat.getMaximumFractionDigits()byte minFractionDigits
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.
NumberFormat.getMinimumFractionDigits()boolean parseIntegerOnly
NumberFormat.isParseIntegerOnly()int maximumIntegerDigits
maximumIntegerDigits must be greater than or equal to
minimumIntegerDigits.
NumberFormat.getMaximumIntegerDigits()int minimumIntegerDigits
minimumIntegerDigits must be less than or equal to
maximumIntegerDigits.
NumberFormat.getMinimumIntegerDigits()int maximumFractionDigits
maximumFractionDigits must be greater than or equal to
minimumFractionDigits.
NumberFormat.getMaximumFractionDigits()int minimumFractionDigits
minimumFractionDigits must be less than or equal to
maximumFractionDigits.
NumberFormat.getMinimumFractionDigits()int serialVersionOnStream
NumberFormat present on the stream.
Possible values are:
int fields such as
maximumIntegerDigits were not present, and the byte
fields such as maxIntegerDigits are used instead.
byte fields such as maxIntegerDigits are ignored,
and the int fields such as maximumIntegerDigits
are used instead.
NumberFormat, the most recent format
(corresponding to the highest allowable serialVersionOnStream)
is always written.
| Class java.text.NumberFormat.Field extends Format.Field implements Serializable |
| Serialization Methods |
protected Object readResolve()
throws InvalidObjectException
InvalidObjectException - if the constant could not be
resolved.| Class java.text.ParseException extends Exception implements Serializable |
| Serialized Fields |
int errorOffset
| Class java.text.SimpleDateFormat extends DateFormat implements Serializable |
serialVersionUID: 4774881970558875024l
| Serialization Methods |
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
InvalidObjectException - if the pattern is invalid
IOException
ClassNotFoundException| Serialized Fields |
int serialVersionOnStream
defaultCenturyStart on stream.
defaultCenturyStart.
serialVersionOnStream
is written.
String pattern
DateFormatSymbols formatData
DateFormatSymbolsDate defaultCenturyStart
defaultCenturyStart, which may be any date. May
not be null.
| Package java.util |
| Class java.util.ArrayList extends AbstractList implements Serializable |
serialVersionUID: 8683452581122892189l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Serialized Fields |
int size
| Class java.util.Arrays.ArrayList extends AbstractList implements Serializable |
serialVersionUID: -2764017481108945198l
| Serialized Fields |
Object[] a
| Class java.util.BitSet extends Object implements Serializable |
serialVersionUID: 7997698588986878753l
| Serialization Methods |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
| Serialized Fields |
long[] bits
| Class java.util.Calendar extends Object implements Serializable |
serialVersionUID: -1807547505821590642l
| Serialization Methods |
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream stream)
throws IOException
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 |
int[] fields
FIELD_COUNT integers, with index values
ERA through DST_OFFSET.
boolean[] isSet
FIELD_COUNT booleans, with index values
ERA through DST_OFFSET.
long time
Calendar.isTimeSetboolean isTimeSet
time is valid.
The time is made invalid by a change to an item of field[].
Calendar.timeboolean areFieldsSet
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.
boolean lenient
time from fields[].
Calendar.setLenient(boolean)TimeZone zone
TimeZone used by this calendar. Calendar
uses the time zone data to translate between locale and GMT time.
int firstDayOfWeek
SUNDAY,
MONDAY, etc. This is a locale-dependent value.
int minimalDaysInFirstWeek
int nextStamp
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.
int serialVersionOnStream
serialVersionOnStream
is written.
| Class java.util.Collections.CopiesList extends AbstractList implements Serializable |
serialVersionUID: 2739099268398711800l
| Serialized Fields |
int n
Object element
| Class java.util.Collections.EmptyList extends AbstractList implements Serializable |
serialVersionUID: 8842843931221139166l
| Serialization Methods |
private Object readResolve()
| Class java.util.Collections.EmptySet extends AbstractSet implements Serializable |
serialVersionUID: 1582296315990362920l
| Serialization Methods |
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 |
Object element
| Class java.util.Collections.SynchronizedCollection extends Object implements Serializable |
serialVersionUID: 3053995032091335093l
| Serialized Fields |
Collection c
Object mutex
| Class java.util.Collections.SynchronizedList extends java.util.Collections.SynchronizedCollection implements Serializable |
serialVersionUID: -7754090372962971524l
| Serialization Methods |
private Object readResolve()
| Serialized Fields |
List list
| Class java.util.Collections.SynchronizedMap extends Object implements Serializable |
serialVersionUID: 1978198479659022715l
| Serialized Fields |
Map m
Object mutex
| Class java.util.Collections.SynchronizedRandomAccessList extends java.util.Collections.SynchronizedList implements Serializable |
serialVersionUID: 1530674583602358482l
| Serialization Methods |
private Object writeReplace()
| 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 |
SortedMap sm
| Class java.util.Collections.SynchronizedSortedSet extends java.util.Collections.SynchronizedSet implements Serializable |
| Serialized Fields |
SortedSet ss
| Class java.util.Collections.UnmodifiableCollection extends Object implements Serializable |
serialVersionUID: 1820017752578914078l
| Serialized Fields |
Collection c
| Class java.util.Collections.UnmodifiableList extends java.util.Collections.UnmodifiableCollection implements Serializable |
serialVersionUID: -283967356065247728l
| Serialization Methods |
private Object readResolve()
| Serialized Fields |
List list
| Class java.util.Collections.UnmodifiableMap extends Object implements Serializable |
serialVersionUID: -1034234728574286014l
| Serialized Fields |
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 |
private Object writeReplace()
| 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 |
SortedMap sm
| Class java.util.Collections.UnmodifiableSortedSet extends java.util.Collections.UnmodifiableSet implements Serializable |
| Serialized Fields |
SortedSet ss
| Class java.util.ConcurrentModificationException extends RuntimeException implements Serializable |
| Class java.util.Currency extends Object implements Serializable |
| Serialization Methods |
private Object readResolve()
| Serialized Fields |
String currencyCode
| Class java.util.Date extends Object implements Serializable |
serialVersionUID: 7523967970034938905l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
getTime()
is emitted (long). This represents the offset from
January 1, 1970, 00:00:00 GMT in milliseconds.
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 |
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
| Serialized Fields |
long gregorianCutover
| Class java.util.HashMap extends AbstractMap implements Serializable |
serialVersionUID: 362498820763181265l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Serialized Fields |
int threshold
float loadFactor
| Class java.util.HashSet extends AbstractSet implements Serializable |
serialVersionUID: -5024744406713321676l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Class java.util.Hashtable extends Dictionary implements Serializable |
serialVersionUID: 1421746759512286392l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Serialized Fields |
int threshold
float loadFactor
| Class java.util.IdentityHashMap extends AbstractMap implements Serializable |
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Serialized Fields |
int size
| Class java.util.LinkedHashMap extends HashMap implements Serializable |
| Serialized Fields |
boolean accessOrder
| Class java.util.LinkedHashSet extends HashSet implements Serializable |
| Class java.util.LinkedList extends AbstractSequentialList implements Serializable |
serialVersionUID: 876323262645176354l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Class java.util.Locale extends Object implements Serializable |
serialVersionUID: 9149081749638150636l
| Serialization Methods |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
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.
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out)
throws IOException
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.
IOException| Serialized Fields |
String language
Locale.getLanguage()String country
Locale.getCountry()String variant
Locale.getVariant()int hashcode
| Class java.util.MissingResourceException extends RuntimeException implements Serializable |
| Serialized Fields |
String className
String key
| Class java.util.NoSuchElementException extends RuntimeException implements Serializable |
| Class java.util.Properties extends Hashtable implements Serializable |
serialVersionUID: 4112578634029874840l
| Serialized Fields |
Properties defaults
| Class java.util.PropertyPermissionCollection extends PermissionCollection implements Serializable |
serialVersionUID: 7015263904581634791l
| Serialization Methods |
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream out)
throws IOException
IOException| Serialized Fields |
boolean all_allowed
Hashtable permissions
| Class java.util.Random extends Object implements Serializable |
serialVersionUID: 3905348978240129619l
| Serialized Fields |
long seed
double nextNextGaussian
boolean haveNextNextGaussian
| Class java.util.SimpleTimeZone extends TimeZone implements Serializable |
serialVersionUID: -403250971215465050l
| Serialization Methods |
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream stream)
throws IOException
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.
IOException| Serialized Fields |
int startMonth
Calendar.JANUARY and
Calendar.DECEMBER inclusive. This value must not equal
endMonth.
If useDaylight is false, this value is ignored.
int startDay
startMode == DOW_IN_MONTHstartDay 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_MONTHstartDay 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.
int startDayOfWeek
Calendar.SUNDAY and
Calendar.SATURDAY inclusive.
If useDaylight is false or
startMode == DAY_OF_MONTH, this value is ignored.
int startTime
startTimeMode.
If useDaylight is false, this value is ignored.
int startTimeMode
int endMonth
Calendar.JANUARY and
Calendar.UNDECIMBER. This value must not equal
startMonth.
If useDaylight is false, this value is ignored.
int endDay
endMode == DOW_IN_MONTHendDay 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_MONTHendDay 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.
int endDayOfWeek
Calendar.SUNDAY and
Calendar.SATURDAY inclusive.
If useDaylight is false or
endMode == DAY_OF_MONTH, this value is ignored.
int endTime
endTimeMode.
If useDaylight is false, this value is ignored.
int endTimeMode
int startYear
If useDaylight is false, this value is ignored.
int rawOffset
dstSavings.
boolean useDaylight
byte[] monthLength
int startMode
DOM_MODEDOW_IN_MONTH_MODEDOW_GE_DOM_MODEDOW_LE_DOM_MODEstartDay field.
If useDaylight is false, this value is ignored.
int endMode
DOM_MODEDOW_IN_MONTH_MODEDOW_GE_DOM_MODEDOW_LE_DOM_MODEendDay field.
If useDaylight is false, this value is ignored.
int dstSavings
If useDaylight is false, this value is ignored.
int serialVersionOnStream
startMode,
endMode, and dstSavings.
startTimeMode
and endTimeMode.
serialVersionOnStream
is written.
| Class java.util.Stack extends Vector implements Serializable |
serialVersionUID: 1224463164541339165l
| Class java.util.TimeZone extends Object implements Serializable |
serialVersionUID: 3581463369166924961l
| Serialized Fields |
String ID
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 |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Serialized Fields |
Comparator comparator
| Class java.util.TreeSet extends AbstractSet implements Serializable |
serialVersionUID: -2479143000061671589l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Class java.util.Vector extends AbstractList implements Serializable |
serialVersionUID: -2767605614048989439l
| Serialization Methods |
private void writeObject(ObjectOutputStream s)
throws IOException
| Serialized Fields |
Object[] elementData
Any array elements following the last element in the Vector are null.
int elementCount
int capacityIncrement
| 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 |
byte reason
Certificate cert
| Package javax.security.auth.x500 |
| Class javax.security.auth.x500.X500Principal extends Object implements Serializable |
serialVersionUID: -500463348111345721l
| Serialization Methods |
private void readObject(ObjectInputStream s)
throws IOException,
NotActiveException,
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
X500Principal is serialized
by writing out its DER-encoded form
(the value of getEncoded is serialized).
IOException
|
JSR 217 (Maintenance Release) | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||