private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
-如果
GraphicsEnvironment.isHeadless()
返回
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
AccessibleContext accessibleContext
byte[] bdata
int id
boolean consumed
protected Object readResolve() throws ObjectStreamException
AWTKeyStroke
(或
AWTKeyStroke
子类)等于此实例。
char keyChar
int keyCode
int modifiers
boolean onKeyRelease
int hgap
hgap
。
int vgap
vgap
。
Component north
Component west
Component east
Component south
Component center
Component firstLine
NORTH
和
BEFORE_FIRST_LINE
常数在容器的方向
LEFT_TO_RIGHT
,只有
BEFORE_FIRST_LINE
将布置。这将为Lastline,第一项是相同的,lastitem。
Component lastLine
Component firstItem
Component lastItem
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
如果不是
null
添加一个监听器接收行动由按钮触发事件。无法识别的键或值将被忽略。
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
Button.removeActionListener(ActionListener)
,
Button.addActionListener(ActionListener)
,
GraphicsEnvironment.isHeadless()
,
Button.writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
ActionListeners
作为可选的数据序列化。非序列化的
ActionListeners
检测并没有试图将它们。
null
终止序列:0对或更多的对一个
String
和
Object
;
String
表示的对象的类型是下列之一:
actionListenerK
表示
ActionListener
对象
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.actionListenerK
,
Button.readObject(ObjectInputStream)
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
如果不是
null
添加一个监听器接收项目的
Checkbox
解雇事件。无法识别的键或值将被忽略。
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
Checkbox.removeItemListener(ItemListener)
,
Checkbox.addItemListener(ItemListener)
,
GraphicsEnvironment.isHeadless()
,
Checkbox.writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
ItemListeners
作为可选的数据序列化。非序列化的
ItemListeners
检测并没有试图将它们。
null
终止0对或更多对序列;对由一个
String
和
Object
;
String
表示的对象的类型是下列之一:
itemListenerK
表示
ItemListener
对象
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.itemListenerK
,
Checkbox.readObject(ObjectInputStream)
String label
boolean state
Checkbox
状态。
CheckboxGroup group
int checkboxSerializedDataVersion
Checkbox selectedCheckbox
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
ItemListeners
作为可选的数据序列化。非序列化的
ItemListeners
检测并没有试图将它们。
null
终止0对或更多对序列;对由一个
String
和
Object
;
String
表示的对象的类型是下列之一:
itemListenerK
表示
ItemListener
对象
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.itemListenerK
,
CheckboxMenuItem.readObject(ObjectInputStream)
boolean state
int checkboxMenuItemSerializedDataVersion
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
如果不是
null
添加一个监听器接收项目事件的
Choice
项解雇。无法识别的键或值将被忽略。
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
Choice.removeItemListener(ItemListener)
,
Choice.addItemListener(ItemListener)
,
GraphicsEnvironment.isHeadless()
,
Choice.writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
ItemListeners
作为可选的数据序列化。非序列化的
ItemListeners
检测并没有试图将它们。
null
终止0对或更多对序列;对由一个
String
和
Object
;
String
表示的对象的类型是下列之一:
itemListenerK
表示
ItemListener
对象
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.itemListenerK
,
Choice.readObject(ObjectInputStream)
int value
Color.getRGB()
float[] frgbvalue
float
ColorSpace
组件(无字母)。如果在对象构造
null
,这必须是一个sRGB颜色与8位精度的构造,所以从
int
颜色值的计算。
float[] fvalue
ColorSpace
颜色值为
float
组件(无字母)。如果在对象构造
null
,这必须是一个sRGB颜色与8位精度的构造,所以从
int
颜色值的计算。
float falpha
float
组件。如果
frgbvalue
是
null
,这是无效的数据,所以计算从
int
颜色值。
ColorSpace cs
ColorSpace
。如果
null
,那么默认为sRGB。
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ObjectInputStream
如果不是
null
添加一个监听器接收各种事件的组件发射。无法识别的键或值将被忽略。
private void writeObject(ObjectOutputStream s) throws IOException
null
终止0对或更多对序列;对由一个
String
和
Object
;
String
表示的对象的类型是下列之一(1.4):
componentListenerK
表示
ComponentListener
对象;
focusListenerK
表示
FocusListener
对象;
keyListenerK
表示
KeyListener
对象;
mouseListenerK
表示
MouseListener
对象;
mouseMotionListenerK
指示G的一个
MouseMotionListener
对象;
inputMethodListenerK
表示
InputMethodListener
对象;
hierarchyListenerK
表示
HierarchyListener
对象;
hierarchyBoundsListenerK
表示
HierarchyBoundsListener
对象;
mouseWheelListenerK
表示
MouseWheelListener
对象,一个可选的
ComponentOrientation
(后为
inputMethodListener
,1.2)
IOException
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)
,
Component.componentListenerK
,
Component.focusListenerK
,
Component.keyListenerK
,
Component.mouseListenerK
,
Component.mouseMotionListenerK
,
Component.inputMethodListenerK
,
Component.hierarchyListenerK
,
Component.hierarchyBoundsListenerK
,
Component.mouseWheelListenerK
,
Component.readObject(ObjectInputStream)
int x
Component.getLocation()
int y
Component.getLocation()
int width
Component.getSize()
int height
Component.getSize()
Color foreground
foreground
可以
null
。
Color background
background
可以
null
。
Font font
font
可以
null
。
Font peerFont
null
如果没有同伴的存在。)
Cursor cursor
null
。
Locale locale
boolean ignoreRepaint
Component.setIgnoreRepaint(boolean)
,
Component.getIgnoreRepaint()
boolean visible
boolean enabled
boolean valid
DropTarget dropTarget
DropTarget
。
Component.setDropTarget(java.awt.dnd.DropTarget)
,
Component.getDropTarget()
Vector<E> popups
String name
null
。
boolean nameExplicitlySet
nameExplicitlySet
将假如果名字还没有确定,如果它真的。
boolean focusable
Component.setFocusable(boolean)
,
Component.isFocusable()
int isFocusTraversableOverridden
Set<E>[] focusTraversalKeys
boolean focusTraversalKeysEnabled
Dimension minSize
boolean minSizeSet
Dimension prefSize
boolean prefSizeSet
Dimension maxSize
boolean maxSizeSet
boolean newEventsOnly
newEventsOnly
将如果事件是为组件启用事件类型是真的。然后,它将允许正常的处理继续。如果它是错误的事件被传递给组件的父和上的祖先树,直到事件被消耗。
long eventMask
eventMask
只通过
enableEvents
由子类。当侦听器被注册时,不应该设置掩码,以便我们能够区分当侦听器请求事件和子类请求时的区别。一位用于指示是否启用输入方法;这一点是由
enableInputMethods
,默认是。
PropertyChangeSupport changeSupport
PropertyChangeListeners
已注册的
changeSupport
场描述。
boolean isPacked
int boundsOp
boolean autoFocusTransferOnDisposal
int componentSerializedDataVersion
AccessibleContext accessibleContext
AccessibleContext
Component
。
ComponentListener accessibleAWTComponentHandler
FocusListener accessibleAWTFocusHandler
int orientation
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
Container
从指定的
ObjectInputStream
。
private void writeObject(ObjectOutputStream s) throws IOException
Container
序列化到指定的
ObjectOutputStream
。
null
写。null
终止0对或更多对序列;对由一个
String
和
Object
;
String
表示的对象的类型是下列之一:
containerListenerK
表示
ContainerListener
对象;的
Container
的
FocusTraversalPolicy
,或
null
IOException
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)
,
Component.containerListenerK
,
Container.readObject(ObjectInputStream)
Component[] component
int containerSerializedDataVersion
java.awt.LightweightDispatcher dispatcher
boolean focusCycleRoot
boolean focusTraversalPolicyProvider
LayoutManager layoutMgr
Dimension maxSize
int ncomponents
ContainerListener accessibleContainerHandler
int FORWARD_TRAVERSAL
int BACKWARD_TRAVERSAL
boolean implicitDownCycleTraversal
int type
DEFAULT_CURSOR
。
Cursor.getType()
String name
Cursor.getName()
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
boolean resizable
boolean undecorated
undecorated
如果对话框未修饰的是真实的,否则将是错误的。
Dialog.setUndecorated(boolean)
,
Dialog.isUndecorated()
,
Component.isDisplayable()
boolean modal
ModalityType
枚举代替。
Dialog.ModalityType modalityType
ModalityType.MODELESS
,它阻止所有用户输入一些应用程序的顶层窗口。
String title
int width
Dimension.getSize()
,
Dimension.setSize(double, double)
int height
Dimension.getSize()
,
Dimension.setSize(double, double)
Object target
EventObject.getSource()
long when
InputEvent.getWhen()
int id
Event
变量相关的事件。这已被awtevent。getid()
AWTEvent.getID()
int x
MouseEvent.getX()
int y
MouseEvent.getY()
int key
KeyEvent.getKeyCode()
int modifiers
int clickCount
MOUSE_DOWN
事件,该字段指示连续点击数。其他的事件,它的价值是
0
。这场被getclickcount()事件。
Object arg
arg
被特定事件的属性替换。
Event evt
EventQueue
boolean consumed
Event.isConsumed()
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ObjectInputStream
和转换是一个
dir
或
file
等于
null
空字符串执行向后兼容性检查。
int mode
String dir
String file
File[] files
FileDialog.getFiles()
boolean multipleMode
FileDialog.setMultipleMode(boolean)
,
FileDialog.isMultipleMode()
FilenameFilter filter
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
int align
align
的性质是决定如何分配空一行。它可以是下列值之一:
LEFT
RIGHT
CENTER
int newAlign
newAlign
的性质是决定如何分配空间的每一行的java 2平台、1.2和大。它可以是以下三个值:
LEFT
RIGHT
CENTER
LEADING
TRAILING
FlowLayout.getAlignment()
,
FlowLayout.setAlignment(int)
int hgap
Container
。
int vgap
Container
之间的边界。
boolean alignOnBaseline
int serialVersionOnStream
currentSerialVersion
这是在用。这将是一个两个值:
0
版本在java 2平台1.2 ..
1
java 2平台版本v1.2后..
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ObjectInputStream
。无法识别的键或值将被忽略。
private void writeObject(ObjectOutputStream s) throws ClassNotFoundException, IOException
Hashtable<K,V> fRequestedAttributes
Font.getAttributes()
String name
Font
逻辑名称,作为传递给构造函数。
Font.getName()
int style
Font
风格,作为传递给构造函数。这种风格可以简单,大胆,斜体或粗体和斜体。
Font.getStyle()
int size
Font
点大小、圆整。
Font.getSize()
float pointSize
float
这
Font
点大小。
Font.getSize()
,
Font.getSize2D()
int fontSerializedDataVersion
Font
序列化的数据形式。
Font font
Font
从字体度量了。这不能为空。
FontMetrics.getFont()
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
。试图读取一个图标
Image
,可作为1.4个可选的数据。如果一个图标
Image
不可用,但比其他任何一个EOF是检测,一个
OptionalDataException
将抛出。无法识别的键或值将被忽略。
OptionalDataException
-如果一个图标
Image
不可用,但比其他任何一个EOF检测
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
,
Image
,
Frame.getIconImage()
,
Frame.setIconImage(Image)
,
Frame.writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
Image
,可作为1.4。
Image
IOException
Image
,
Frame.getIconImage()
,
Frame.setIconImage(Image)
,
Frame.readObject(ObjectInputStream)
Rectangle maximizedBounds
Frame.setMaximizedBounds(Rectangle)
,
Frame.getMaximizedBounds()
String title
title
可以为空,如果是这种情况的
title
=“”。
MenuBar menuBar
menuBar
=空框架将不会有一个菜单栏。
boolean resizable
resizable
如果帧大小是正确的,否则将是错误的。
Frame.isResizable()
boolean undecorated
undecorated
如果框架是未修饰的是真实的,否则将是错误的。
Frame.setUndecorated(boolean)
,
Frame.isUndecorated()
,
Component.isDisplayable()
boolean mbManagement
mbManagement
只有主题的实现。
int state
Vector<E> ownedWindows
int frameSerializedDataVersion
Frame
的序列化的数据版本。
int gridx
gridx=0
。一个组件的显示区域的前缘是水平的左边缘,从左到右的容器和一个水平的右边,左边的容器吧。价值
RELATIVE
指定组件被放置后的部分,就在这部分被添加添加到容器。
默认值是RELATIVE
。gridx
应该是一个非负的值。
int gridy
gridy=0
。价值
RELATIVE
指定组件被放置在组件,只是在这个组件添加添加到容器。
默认值是RELATIVE
。gridy
应该是一个非负的值。
int gridwidth
使用REMAINDER
指定组件的显示区域将从gridx
到行中的最后一个单元格。使用RELATIVE
指定组件的显示区域将从gridx
到下一行的最后一个。
gridwidth
应该是非负的,默认值是1。
int gridheight
使用REMAINDER
指定组件的显示区域将从gridy
列中的最后一个单元格。使用RELATIVE
指定组件的显示区域将从gridy
到下一列的最后一个。
gridheight
应该是一个非负的值,默认值是1。
double weightx
网格袋布局管理器的计算列是一列中的所有组件的最大weightx
重量。如果得到的布局比需要填充的区域更小的水平,则额外的空间将按比例分配到每个列中的权重。有一个重量为零的列没有收到额外的空间。
如果所有的权重都为零,所有的额外的空间之间的网格的单元格和左,右边缘。
此字段的默认值是0
。weightx
应该是一个非负的值。
double weighty
网格袋布局管理器计算一行的重量是一行中的所有部件的最大weighty
。如果得到的布局是垂直于它需要填充的区域,额外的空间分布在每一行中,其重量的比例。有一个重量为零的一排没有额外的空间。
如果所有的权重都为零,所有的额外的空间出现在单元格的网格和顶部和底部边缘。
此字段的默认值是0
。weighty
应该是一个非负的值。
int anchor
有三种可能的值:取向相对,基线相对和绝对。相对的方向的相对值被解释相对于容器的组件的方向属性,基线相对值被解释相对于基线和绝对值是不是。绝对值:CENTER
,NORTH
,NORTHEAST
,EAST
,SOUTHEAST
,SOUTH
,SOUTHWEST
,WEST
,和NORTHWEST
。方向的相对值:PAGE_START
,PAGE_END
,LINE_START
,LINE_END
,FIRST_LINE_START
,FIRST_LINE_END
,LAST_LINE_START
和LAST_LINE_END
。基线的相对值:BASELINE
,BASELINE_LEADING
,BASELINE_TRAILING
,ABOVE_BASELINE
,ABOVE_BASELINE_LEADING
,ABOVE_BASELINE_TRAILING
,BELOW_BASELINE
,BELOW_BASELINE_LEADING
,和BELOW_BASELINE_TRAILING
。默认值是CENTER
。
int fill
下面的值fill
是有效的:
NONE
:不调整组件。HORIZONTAL
:使构件宽足以填满其显示区域的水平,但不改变它的高度。VERTICAL
:使其足够高来填满它的显示区域的垂直,但不改变它的宽度。BOTH
:使组件的显示区域完全填充。默认值是NONE
。
Insets insets
默认值是new Insets(0, 0, 0, 0)
。
int ipadx
ipadx
像素。
默认值是0
。
int ipady
ipady
像素。
默认值为0。
int tempX
int tempY
int tempWidth
int tempHeight
int minWidth
ipady
,其中默认是0。
GridBagConstraints.ipady
int minHeight
ipadx
,其中默认是0。
GridBagConstraints.ipadx
Hashtable<K,V> comptable
comptable
键部件和价值观是
GridBagConstraints
实例。
GridBagConstraints
GridBagConstraints defaultConstraints
defaultConstraints
。
GridBagLayoutInfo layoutInfo
layoutInfo
是
null
这表明在gridbag或者有无成分组成,他们尚未得到验证。
int[] columnWidths
null
值在所有的最小列宽度进行了计算应用于gridbag。如果columnwidths比列数更多的元素,列添加到gridbag匹配元素ColumnWidth数。
int[] rowHeights
null
值在所有的最小行高计算已应用于gridbag。如果
rowHeights
比行数更多的元素,行添加到gridbag匹配元素在
rowHeights
数。
double[] columnWeights
null
值在所有的栏目权重计算已应用于gridbag。如果我
columnWeights[i]
>重列,然后列我是
columnWeights[i]
分配权重。如果
columnWeights
比列数更多的元素,多余的元素将被忽略,他们不会引起更多的列被创建。
double[] rowWeights
null
值在所有的行的权重进行了计算应用于gridbag。如果行我
rowWeights[i]
>的重量,然后行我是
rowWeights[i]
分配权重。如果
rowWeights
比行数更多的元素,多余的元素将被忽略,他们不会引起更多的行被创造。
Component componentAdjusting
adjustForGravity
之前。
int width
int height
int startx
int starty
int[] minWidth
int[] minHeight
double[] weightX
double[] weightY
boolean hasBaseline
short[] baselineType
int[] maxAscent
int[] maxDescent
int hgap
int vgap
int rows
int cols
int top
Insets.clone()
int left
Insets.clone()
int bottom
Insets.clone()
int right
Insets.clone()
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
-如果
GraphicsEnvironment.isHeadless()
返回
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
String text
int alignment
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
如果不是
null
添加一个监听器接收项目事件和动作事件(如存储在流键指定)的
List
解雇。无法识别的键或值将被忽略。
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
List.removeItemListener(ItemListener)
,
List.addItemListener(ItemListener)
,
GraphicsEnvironment.isHeadless()
,
List.writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
ItemListeners
和
ActionListeners
作为可选的数据序列化。非序列化的听众被检测并没有试图将它们。
null
终止0对或更多对序列;对由一个
String
和
Object
;
String
表示的对象的类型是下列之一:
itemListenerK
表示
ItemListener
对象;
actionListenerK
表示
ActionListener
对象
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.itemListenerK
,
Component.actionListenerK
,
List.readObject(ObjectInputStream)
Vector<E> items
int rows
List
组件可见行数。它只指定一次,这是当列表组件实际上创建的时候。它永远不会改变。
List.getRows()
boolean multipleMode
multipleMode
是一个变量,将被设置为
true
如果列表组件是集多种选择模式,即用户可以选择多个项目列表中的一次。
multipleMode
将如果列表组件设置为单一选择设置为false,这就是用户只能选择一项在任何一个时间。
int[] selected
selected
是数组将包含所选项目的指标。
int visibleIndex
List.makeVisible(int)
int listSerializedDataVersion
List
组件序列化的数据版本。
List parent
int indexInParent
Component target
Component
,会被媒体追踪,最终将绘制图像。
java.awt.MediaEntry head
Images
列表被
MediaTracker
跟踪头。
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException, HeadlessException
ObjectInputStream
。无法识别的键或值将被忽略。
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
IOException
ClassNotFoundException
GraphicsEnvironment.isHeadless()
,
Menu.writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
Vector<E> items
Menu.countItems()
boolean tearOff
false
如果不设置
true
。当它不再需要的时候,一个被撕裂的菜单可以被用户删除。
Menu.isTearOff()
boolean isHelpMenu
true
。否则,它将被设置为
false
。
int menuSerializedDataVersion
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
。无法识别的键或值将被忽略。
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
,
MenuBar.writeObject(java.io.ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws ClassNotFoundException, IOException
Vector<E> menus
MenuBar.countMenus()
Menu helpMenu
int menuBarSerializedDataVersion
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
Font font
null
。默认为
null
。
String name
null
。
boolean nameExplicitlySet
true
名称将设置。默认为
false
。
boolean newEventsOnly
false
。
AccessibleContext accessibleContext
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
如果不是
null
添加一个监听器接收动作事件的
Menu
项解雇。无法识别的键或值将被忽略。
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
MenuItem.removeActionListener(ActionListener)
,
MenuItem.addActionListener(ActionListener)
,
MenuItem.writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
ActionListeners
作为可选的数据序列化。非序列化的听众被检测并没有试图将它们。
null
终止0对或更多对序列;对由一个
String
和
Object
;
String
表示的对象的类型是下列之一:
actionListenerK
表示
ActionListener
对象
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
MenuItem.readObject(ObjectInputStream)
boolean enabled
enabled
将设置为true。其他
enabled
将设置为false。
String label
label
是一个菜单项的标签。它可以是任何字符串。
String actionCommand
actionCommand
是菜单项的标签,除非它已经被设置为使用setactioncommand。
long eventMask
MenuShortcut shortcut
int menuItemSerializedDataVersion
int key
MenuShortcut.getKey()
,
MenuShortcut.usesShiftModifier()
,
KeyEvent
boolean usesShift
MenuShortcut.usesShiftModifier()
int x
Point
X坐标。如果没有X坐标设置,它将默认为0。
Point.getLocation()
,
Point.move(int, int)
int y
Point
Y坐标。如果没有坐标设置,它将默认为0。
Point.getLocation()
,
Point.move(int, int)
int npoints
Polygon.addPoint(int, int)
int[] xpoints
Polygon.addPoint(int, int)
int[] ypoints
Polygon
Y坐标。额外的元素,让新的点被添加到这个
Polygon
没有重新创建这个数组。对
npoints
值等于该
Polygon
有效点数。
Polygon.addPoint(int, int)
Rectangle bounds
Polygon
界限。此值可以为空。
Polygon.getBoundingBox()
,
Polygon.getBounds()
int x
Rectangle
左上角的x坐标。
Rectangle.setLocation(int, int)
,
Rectangle.getLocation()
int y
Rectangle
左上角的Y坐标。
Rectangle.setLocation(int, int)
,
Rectangle.getLocation()
int width
Rectangle
宽度。
Rectangle.setSize(int, int)
,
Rectangle.getSize()
int height
Rectangle
的高度。
Rectangle.setSize(int, int)
,
Rectangle.getSize()
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
如果不是
null
添加一个监听器接收调整事件的
Scrollbar
解雇。无法识别的键或值将被忽略。
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
,
Scrollbar.writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
AdjustmentListeners
作为可选的数据序列化。非序列化的听众被检测并没有试图将它们。
null
终止0对或更多对序列;对由一个
String
和
Object
;
String
表示的对象的类型是下列之一:
adjustmentListenerK
表示
AdjustmentListener
对象
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.adjustmentListenerK
,
Scrollbar.readObject(ObjectInputStream)
int value
Scrollbar
的价值。此属性必须大于或等于
minimum
和小于或等于
maximum - visibleAmount
int maximum
Scrollbar
最大值。这个值必须大于
minimum
价值。
int minimum
Scrollbar
的最小值。此值必须小于
maximum
价值。
int visibleAmount
Scrollbar
的气泡尺寸。当一个滚动条来选择一个值的范围,其下可见大量代表这个范围的大小。根据平台,这可能会在视觉上表示的大小的气泡。
int orientation
Scrollbar
定位是水平或垂直的。这个值应该是创建时指定滚动条。
VERTICAL
或
HORIZONTAL
只。
int lineIncrement
int pageIncrement
int scrollbarSerializedDataVersion
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
-如果
GraphicsEnvironment.isHeadless()
返回
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int scrollbarDisplayPolicy
ScrollPaneAdjustable vAdjustable
Adjustable
方法,重要的就是:
setMinimum()
,
setMaximum()
,
setVisibleAmount()
。
ScrollPaneAdjustable hAdjustable
Adjustable
方法,重要的就是:
setMinimum()
,
setMaximum()
,
setVisibleAmount()
。
boolean wheelScrollingEnabled
ScrollPane sp
ScrollPane
这个对象是一个滚动条的。
int orientation
int value
value
应大于和小于
maximum
minimum
int minimum
ScrollPane
。
在当前的实现minimum
经办人:总是0
。这场只能改变经setSpan
方法和ScrollPane
总是调用该方法以最小0
。getMinimum
方法总是返回0
没有检查这场。
int maximum
ScrollPane
。
int visibleAmount
ScrollPane
。
int unitIncrement
int blockIncrement
AdjustmentListener adjustmentListener
private Object readResolve()
SystemColor
类的设计假定存储在静态字段上面的
SystemColor
对象实例是唯一可用于开发实例。这种方法有助于通过使用存储在对象的序列化格式的值字段的索引与等效静态对象恒定场
SystemColor
代替序列化的对象保持在实例化这些限制。看到这些对象的序列化格式的更多信息
SystemColor.writeReplace()
方法。
private Object writeReplace() throws ObjectStreamException
SystemColor
对象写入序列化流。
SystemColor
对象包含的系统颜色数组的索引而不是为系统颜色的RGB数据值字段。该指数是由
SystemColor.readResolve()
方法用来解决反序列化对象回到原来的静态不变的版本,确保每
SystemColor
对象的唯一实例。
ObjectStreamException
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
-如果
GraphicsEnvironment.isHeadless()
返回
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
int rows
TextArea
行数。此参数将确定文本区域的高度。保证非负。
int columns
TextArea
列数。列是一个近似的平均字符宽度,是依赖于平台的。此参数将确定文本区域的宽度。保证非负。
int scrollbarVisibility
SCROLLBARS_BOTH
=滚动条。
SCROLLBARS_HORIZONTAL_ONLY
=单杠只。
SCROLLBARS_VERTICAL_ONLY
=垂直杆只。
SCROLLBARS_NONE
=没有滚动条。
int textAreaSerializedDataVersion
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
-如果
GraphicsEnvironment.isHeadless()
返回
true
ClassNotFoundException
IOException
TextComponent.removeTextListener(java.awt.event.TextListener)
,
TextComponent.addTextListener(java.awt.event.TextListener)
,
GraphicsEnvironment.isHeadless()
private void writeObject(ObjectOutputStream s) throws IOException
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.textListenerK
String text
null
价值是一样的”。
boolean editable
TextComponent
编辑。如果没有文本组件是可编辑的,
false
将
true
。
int selectionStart
selectionStart
是选定的文本的开始位置。
int selectionEnd
selectionEnd
是选定的文本的结束位置。
boolean backgroundSetByClientCode
int textComponentSerializedDataVersion
boolean checkForEnableIM
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
-如果
GraphicsEnvironment.isHeadless()
返回
true
ClassNotFoundException
IOException
TextField.removeActionListener(ActionListener)
,
TextField.addActionListener(ActionListener)
,
GraphicsEnvironment.isHeadless()
private void writeObject(ObjectOutputStream s) throws IOException
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.actionListenerK
int columns
char echoChar
0
删除。
int textFieldSerializedDataVersion
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
和听众的可选列表接收各种事件的组件发射;还读取列表(可能
null
)子窗口。无法识别的键或值将被忽略。
HeadlessException
-如果
GraphicsEnvironment.isHeadless
返回
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
,
Window.writeObject(java.io.ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
WindowListener
s和
WindowFocusListener
s作为可选的数据序列化。将子窗口列表写入可选数据。写一个图标图像的列表作为可选的数据
null
终止0对或更多对序列;对由一个
String
和
Object
;
String
表示的对象的类型是下列之一:
windowListenerK
表示
WindowListener
对象;
windowFocusWindowK
表示
WindowFocusListener
对象;
ownedWindowK
指示孩子
Window
对象
IOException
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)
,
Component.windowListenerK
,
Component.windowFocusListenerK
,
Component.ownedWindowK
,
Window.readObject(ObjectInputStream)
String warningString
AWTPermission("showWindowWithoutWarningBanner")
安装。这个消息可以在窗口的任意位置显示。
boolean syncLWRequests
int state
Window.show()
boolean alwaysOnTop
Window.setAlwaysOnTop(boolean)
,
Window.isAlwaysOnTop()
Dialog.ModalExclusionType modalExclusionType
java.awt.FocusManager focusMgr
boolean focusableWindowState
Window.getFocusableWindowState()
,
Window.setFocusableWindowState(boolean)
boolean autoRequestFocus
setVisible(true)
),或移动到前面(一个电话
toFront()
)。
Window.setAutoRequestFocus(boolean)
,
Window.isAutoRequestFocus()
float opacity
Window.setOpacity(float)
,
Window.getOpacity()
Shape shape
null
如果没有形状设置(矩形窗)。
Window.getShape()
,
Window.setShape(Shape)
Window.Type type
int windowSerializedDataVersion
boolean locationByPlatform
int type
int numComponents
ICC_Profile thisProfile
float[] minVal
float[] maxVal
float[] diffMinMax
float[] invDiffMinMax
boolean needScaleInit
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
String
CS_*
常数定义在
ColorSpace
类如果配置文件对象是一个预定义的色彩空间的配置文件的名称(例如
"CS_sRGB"
)。字符串是
null
否则。
的byte[]
阵列的配置文件的配置文件数据。它通常是预定义的配置文件null
。
如果字符串是公认的常数的名称为预定义的颜色空间的对象将被分解为getInstance(int cspace)
和档案数据得到的轮廓被忽略。否则,对象将被分解成了getInstance(byte[] data)
简介。
IOException
-被
ObjectInputStream
。
ClassNotFoundException
-被
ObjectInputStream
。
ICC_Profile.readResolve()
,
ICC_Profile.getInstance(int)
,
ICC_Profile.getInstance(byte[])
private void writeObject(ObjectOutputStream s) throws IOException
String
CS_*
常数定义在
ColorSpace
类如果配置文件对象是一个预定义的色彩空间的配置文件的名称(例如
"CS_sRGB"
)。字符串是
null
否则。
的byte[]
阵列的配置文件的配置文件数据。预定义的颜色空间null
写而不是配置文件数据。如果在java API新的预定义的颜色空间的未来版本将增加,这一类的未来版本可能会选择新的预定义的颜色空间不仅颜色空间的名字写,但轮廓数据,这样老版本仍然可以反序列化的对象。
IOException
-被
ObjectInputStream
。
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
不要扔,但被序列化规范。
int iccProfileSerializedDataVersion
1
对应 java 2平台, V1.3。
public void readExternal(ObjectInput is) throws IOException, ClassNotFoundException
DataFlavor
恢复从序列化状态。
IOException
如果I/O错误发生
ClassNotFoundException
恢复无法找到类。
public void writeExternal(ObjectOutput os) throws IOException
DataFlavor
序列化。
IOException
-包括任何I/O异常可能发生
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
DragGestureEvent
。该方法首先执行默认的序列化为所有非
transient
领域。然后尝试反序列化该对象的
List
手势事件以及。这是第一次尝试通过序列化字段
events
,因为,在1.4之前的版本中,非这个名字
transient
字段存储的
List
手势事件。如果失败,则流中的下一个对象将被使用。如果得到的
List
是
null
,手势事件对象的
List
是空
List
。
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
DragGestureEvent
序列化。执行默认的序列化然后写出手势事件这个对象的
List
若
List
可以序列化。如果不是,
null
写相反。在这种情况下,一个
DragGestureEvent
产生导致反序列化流将包含一个空的
List
手势事件。
List
实例,或
null
。
IOException
DragSource dragSource
Component component
Point origin
int action
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
DragGestureRecognizer
。该方法首先执行默认的序列化为所有非
transient
领域。这个对象的
DragGestureListener
然后反序列化以及利用下一个对象在流。
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
DragGestureRecognizer
序列化。这种方法首先执行默认的序列化。然后,这个对象的
DragGestureListener
写出来的当且仅当它是可序列化的。如果不是,
null
写相反。
DragGestureListener
,或
null
。
IOException
DragSource dragSource
DragSource
DragGestureRecognizer
。
Component component
Component
DragGestureRecognizer
。
int sourceActions
int
(S)行动(S)进行拖放操作。
ArrayList<E> events
DragGestureRecognizer
“公认”为“手势”引发的阻力。
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
DragSource
。该方法首先执行默认的序列化。接下来,这个对象的
FlavorMap
反序列化使用下一个对象在流。如果得到的
FlavorMap
是
null
,这个对象的
FlavorMap
设置为默认flavormap这个线程的
ClassLoader
。下一步,该对象的反序列化的听众是通过阅读
null
-terminated序列的0个或更多的键/值对:
String
等于dragSourceListenerK
,一DragSourceListener
反序列化使用相应的值对象添加到这个DragSource
。String
等于dragSourceMotionListenerK
,一DragSourceMotionListener
反序列化使用相应的值对象添加到这个DragSource
。ClassNotFoundException
IOException
SystemFlavorMap.getDefaultFlavorMap()
private void writeObject(ObjectOutputStream s) throws IOException
DragSource
序列化。此方法首先执行默认的序列化。下一步,写了这个对象的
FlavorMap
当且仅当它是可序列化的。如果不是,
null
写相反。下一步,写了
Serializable
听众注册该对象。听众都写在一个
null
-terminated序列的0对或更多。对由一个
String
和
Object
;的
String
指示的
Object
类型是下列之一:
dragSourceListenerK
表示DragSourceListener
对象;dragSourceMotionListenerK
表示DragSourceMotionListener
对象。FlavorMap
实例,或
null
,其次是
null
-terminated序列的0对或更多;对由一个
String
和
Object
;的
String
指示的
Object
类型是下列之一:
dragSourceListenerK
表示DragSourceListener
对象;dragSourceMotionListenerK
表示DragSourceMotionListener
对象。IOException
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
DragSourceContext
。这种方法首先执行默认的序列化为所有非
transient
领域。这个对象的
Transferable
和
DragSourceListener
然后反序列化流中的使用以及接下来的两物体。如果得到的
Transferable
是
null
,这个对象的
Transferable
设置为一个支持不
DataFlavor
s虚拟
Transferable
。
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
DragSourceContext
序列化。此方法首先执行默认的序列化。接下来,这个对象的
Transferable
写出来的当且仅当它是可序列化的。如果不是,
null
写相反。在这种情况下,一个
DragSourceContext
产生导致反序列化流将包含一个支持不
DataFlavor
s虚拟
Transferable
。最后,这个对象的
DragSourceListener
写出来的当且仅当它是可序列化的。如果不是,
null
写相反。
Transferable
实例,或
null
,其次是
DragSourceListener
实例,或
null
。
IOException
DragGestureEvent trigger
Cursor cursor
boolean useCustomCursor
true
如果自定义光标代替默认的。
int sourceActions
DnDConstants
表示下降的行动与此相关的
DragSourceContext.
拖动操作拖放源支持设置的位掩码
int targetActions
int dropAction
int gestureModifiers
boolean invalidModifiers
gestureModifiers
无效。
boolean dropSuccess
true
如果滴成功。
int dropAction
boolean locationSpecified
boolean
指示光标位置为该事件指定。
int x
int y
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
DropTarget
。这种方法首先执行默认的序列化为所有非
transient
领域。然后尝试反序列化该对象的
DropTargetListener
以及。这是第一次尝试通过序列化字段
dtListener
,因为,在1.4之前的版本中,非这个名字
transient
字段存储的
DropTargetListener
。如果失败,则流中的下一个对象将被使用。
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
DropTarget
序列化。执行默认的序列化,然后写出这个对象的
DropTargetListener
当且仅当它是可序列化的。如果不是,
null
写相反。
DropTargetListener
实例,或
null
。
IOException
DropTargetContext dropTargetContext
Component component
int actions
boolean active
true
如果droptarget接受拖放操作。
DropTarget dropTarget
Point location
int actions
int dropAction
Point location
int actions
int dropAction
boolean isLocalTx
true
如果源是在相同的JVM为目标。
DropTargetContext context
DropTargetContext
DropTargetEvent
。
String actionCommand
long when
ActionEvent.getWhen()
int modifiers
Adjustable adjustable
int value
value
将包含该对象的新值可调。这个值将永远在一个范围相关的可调对象中。
int adjustmentType
adjustmentType
介绍如何调整对象的价值发生了变化。这个值可以增加/减少一块或单元数量的块页增量/降低相关,与单位线的增量/相关的递减。
boolean isAdjusting
isAdjusting
是真实的。
AdjustmentEvent.getValueIsAdjusting()
Component child
boolean temporary
FocusEvent.isTemporary()
long when
InputEvent.getWhen()
int modifiers
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
when
场如果不在对象输入流。在这种情况下,现场将通过调用
EventQueue.getMostRecentEventTime()
初始化。
long when
InputMethodEvent.getWhen()
Runnable runnable
Object notifier
Runnable listener
InvocationEvent.isDispatched()
boolean dispatched
runnable
的
run()
方法执行或不。
InvocationEvent.isDispatched()
boolean catchExceptions
异常 exception
Throwable throwable
long when
Object item
ItemEvent.getItem()
int stateChange
stateChange
指示
item
被选择或取消选择。
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
boolean isProxyActive
int keyCode
char keyChar
keyChar
是一个有效的Unicode字符,由键或组合键在键盘上了。
int keyLocation
KEY_LOCATION_UNKNOWN
,
KEY_LOCATION_STANDARD
,
KEY_LOCATION_LEFT
,
KEY_LOCATION_RIGHT
,和
KEY_LOCATION_NUMPAD
。
Component originalSource
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
int x
MouseEvent.getX()
int y
MouseEvent.getY()
int xAbs
int yAbs
int clickCount
MOUSE_CLICKED
,
MOUSE_PRESSED
和
MOUSE_RELEASED
。针对以上情况,本
clickCount
将至少1。对于所有其他事件的计数将是0。
int button
MouseInfo.getNumberOfButtons()
方法返回的值。这个范围已经包括常数
NOBUTTON
,
BUTTON1
,
BUTTON2
,和
BUTTON3
如果这些按钮的存在。因此,它也可以使用这些常量。例如,一个鼠标和两个按钮这个字段可以包含以下值:
NOBUTTON
)BUTTON1
)BUTTON2
)NOBUTTON
)BUTTON1
)BUTTON2
)BUTTON3
)Toolkit.areExtraMouseButtonsEnabled()
禁用的java那场可能不包含的值大于
BUTTON3
。
boolean popupTrigger
popupTrigger
=
false
,没有弹出菜单应该出现。如果是
true
然后弹出菜单应该出现。
int scrollType
int scrollAmount
int wheelRotation
double preciseWheelRotation
Rectangle updateRect
int oldState
int newState
private void writeObject(ObjectOutputStream stream) throws IOException
NumericShaper.Range
枚举参数,如果有的话,的位掩码同事写这个对象的
stream
。没有位掩码的基础是在转换忽视任何枚举常数。
IOException
-如果在写入
stream
发生I/O错误
int key
int mask
NumericShaper.Range shapingRange
Range
上下文
Range
。基于API的位掩码
null
。
protected Object readResolve() throws InvalidObjectException
InvalidObjectException
如果解决的对象是不
Attribute
实例
private void writeObject(ObjectOutputStream s) throws ClassNotFoundException, IOException
private Object readResolve() throws ObjectStreamException
AffineTransform transform
TransformAttribute
的
AffineTransform
,或
null
如果
AffineTransform
是恒等变换。
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws ClassNotFoundException, IOException
double m00
double m10
double m01
double m11
double m02
double m12
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ObjectInputStream
后跟一个字节表示这个
Arc2D
实例的弧型默认的序列化字段。
byte
指示的弧型Arc2D.OPEN
,Arc2D.CHORD
,或Arc2D.PIE
。ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
ObjectOutputStream
后跟一个字节表示这个
Arc2D
实例的弧型。
byte
指示的弧型Arc2D.OPEN
,Arc2D.CHORD
,或Arc2D.PIE
。IOException
double x
double y
double width
double height
double start
double extent
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ObjectInputStream
默认序列化字段的一个字节表示这个
Arc2D
实例的弧型。
byte
指示的弧型Arc2D.OPEN
,Arc2D.CHORD
,或Arc2D.PIE
。ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
ObjectOutputStream
后跟一个字节表示这个
Arc2D
实例的弧型。
byte
指示的弧型Arc2D.OPEN
,Arc2D.CHORD
,或Arc2D.PIE
。IOException
float x
float y
float width
float height
float start
float extent
double x1
double y1
double ctrlx1
double ctrly1
double ctrlx2
double ctrly2
double x2
double y2
float x1
float y1
float ctrlx1
float ctrly1
float ctrlx2
float ctrly2
float x2
float y2
double x
Ellipse2D
框架矩形左上角的x坐标。
double y
Ellipse2D
框架矩形的左上角的Y坐标。
double width
Ellipse2D
整体宽度。
double height
Ellipse2D
的整体高度。
float x
Ellipse2D
框架矩形左上角的x坐标。
float y
Ellipse2D
框架矩形的左上角的Y坐标。
float width
Ellipse2D
整体宽度。
float height
Ellipse2D
整体高度。
double x1
double y1
double x2
double y2
float x1
float y1
float x2
float y2
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ObjectInputStream
后跟一个明确的系列化的路径段存储在这个路径默认的序列化字段。
没有默认的序列化字段为1.6。
此对象的串行数据的writeObject方法描述。
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
ObjectOutputStream
后跟一个明确的序列化存储在该路径的路径段。
WIND_EVEN_ODD
或WIND_NON_ZERO
)NP
(或无限如果NP < 0
)组成的一个字节表示一个路径段类型由一对或多对float或double值表示的路径段的坐标值的集合下面的字节值常数用于Path2D
对象的序列化形式:
Constant Name | Byte Value | Followed by | 描述 |
---|---|---|---|
SERIAL_STORAGE_FLT_ARRAY |
0x30 | A hint that the original Path2D object stored the coordinates in a Java array of floats. |
|
SERIAL_STORAGE_DBL_ARRAY |
0x31 | A hint that the original Path2D object stored the coordinates in a Java array of doubles. |
|
SERIAL_SEG_FLT_MOVETO |
0x40 | 2 floats | A moveTo path segment follows. |
SERIAL_SEG_FLT_LINETO |
0x41 | 2 floats | A lineTo path segment follows. |
SERIAL_SEG_FLT_QUADTO |
0x42 | 4 floats | A quadTo path segment follows. |
SERIAL_SEG_FLT_CUBICTO |
0x43 | 6 floats | A curveTo path segment follows. |
SERIAL_SEG_DBL_MOVETO |
0x50 | 2 doubles | A moveTo path segment follows. |
SERIAL_SEG_DBL_LINETO |
0x51 | 2 doubles | A lineTo path segment follows. |
SERIAL_SEG_DBL_QUADTO |
0x52 | 4 doubles | A curveTo path segment follows. |
SERIAL_SEG_DBL_CUBICTO |
0x53 | 6 doubles | A curveTo path segment follows. |
SERIAL_SEG_CLOSE |
0x60 | A closePath path segment. |
|
SERIAL_PATH_END |
0x61 | There are no more path segments following. |
IOException
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ObjectInputStream
后跟一个明确的系列化的路径段存储在这个路径默认的序列化字段。
没有默认的序列化字段为1.6。
此对象的串行数据的writeObject方法描述。
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
ObjectOutputStream
后跟一个明确的序列化存储在该路径的路径段。
WIND_EVEN_ODD
或WIND_NON_ZERO
)NP
(或无限如果NP < 0
)组成的一个字节表示一个路径段类型由一对或多对float或double值表示的路径段的坐标值的集合下面的字节值常数用于Path2D
对象的序列化形式:
Constant Name | Byte Value | Followed by | 描述 |
---|---|---|---|
SERIAL_STORAGE_FLT_ARRAY |
0x30 | A hint that the original Path2D object stored the coordinates in a Java array of floats. |
|
SERIAL_STORAGE_DBL_ARRAY |
0x31 | A hint that the original Path2D object stored the coordinates in a Java array of doubles. |
|
SERIAL_SEG_FLT_MOVETO |
0x40 | 2 floats | A moveTo path segment follows. |
SERIAL_SEG_FLT_LINETO |
0x41 | 2 floats | A lineTo path segment follows. |
SERIAL_SEG_FLT_QUADTO |
0x42 | 4 floats | A quadTo path segment follows. |
SERIAL_SEG_FLT_CUBICTO |
0x43 | 6 floats | A curveTo path segment follows. |
SERIAL_SEG_DBL_MOVETO |
0x50 | 2 doubles | A moveTo path segment follows. |
SERIAL_SEG_DBL_LINETO |
0x51 | 2 doubles | A lineTo path segment follows. |
SERIAL_SEG_DBL_QUADTO |
0x52 | 4 doubles | A curveTo path segment follows. |
SERIAL_SEG_DBL_CUBICTO |
0x53 | 6 doubles | A curveTo path segment follows. |
SERIAL_SEG_CLOSE |
0x60 | A closePath path segment. |
|
SERIAL_PATH_END |
0x61 | There are no more path segments following. |
IOException
double x
Point2D
X坐标。
double y
Point2D
Y坐标。
float x
Point2D
X坐标。
float y
Point2D
Y坐标。
double x1
double y1
double ctrlx
double ctrly
double x2
double y2
float x1
float y1
float ctrlx
float ctrly
float x2
float y2
double x
Rectangle2D
X坐标。
double y
Rectangle2D
Y坐标。
double width
Rectangle2D
宽度。
double height
Rectangle2D
高度。
float x
Rectangle2D
X坐标。
float y
Rectangle2D
Y坐标。
float width
Rectangle2D
宽度。
float height
Rectangle2D
高度。
double x
RoundRectangle2D
X坐标。
double y
RoundRectangle2D
Y坐标。
double width
RoundRectangle2D
宽度。
double height
RoundRectangle2D
高度。
double arcwidth
double archeight
float x
RoundRectangle2D
X坐标。
float y
RoundRectangle2D
Y坐标。
float width
RoundRectangle2D
宽度。
float height
RoundRectangle2D
高度。
float arcwidth
float archeight
IOException mException
int index
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
PropertyChangeListeners
在序列化的时间我们跳过非序列化的听众只有序列化序列化的听众。
null结尾的列表。IOException
PropertyChangeEvent evt
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
VetoableChangeListeners
列表。
在序列化的时间我们跳过非序列化的听众只有序列化序列化的听众。
IOException
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
IOException
BeanContextChild beanContextChildPeer
BeanContext
这
BeanContextChild
嵌套。
PropertyChangeSupport pcSupport
VetoableChangeSupport vcSupport
BeanContext propagatedFrom
BeanContext
这个事件传播
Collection<E> children
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
IOException
BeanContextServiceProvider serviceProvider
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException, ClassNotFoundException
int serializable
Locale locale
boolean okToUseGui
boolean designTime
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String path
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
int bytesTransferred
String classname
int length
boolean eof
String actions
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
-如果对象是无效的或是有原因的,不是一个
IOException
IOException
ClassNotFoundException
异常 detail
这场早于通用异常链设施。现在的Throwable.getCause()
方法获取这一信息的首选方式。
boolean value
byte value
Byte
的价值。
char value
Character
的价值。
新手柄是初始时间的类描述符写入流中产生。未来对类描述符的引用是为初始类描述实例的引用编写的。TC_CLASS
classdescriptor一个classdescriptor是一种特殊的套管系列一个java.io.ObjectStreamClass
实例。
ObjectStreamClass
Throwable ex
double value
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void readObjectNoData() throws ObjectStreamException
String name
Enum.toString()
方法而不是进入这个领域。
int ordinal
Throwable exception
float value
int value
Integer
的价值。
long value
Long
的价值。
short value
Short
的价值。
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int count
boolean shared
char[] value
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
StringBuilder
实例的状态到一个流(即它序列化)。
int
),随后在字符串生成器的特点(
char[]
)。该
char
数组的长度可以大于目前存储在字符串生成器的字符数,在这种情况下,额外的字符被忽略。
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Throwable
,执法合法性约束的领域。空项和自指针不在
suppressedExceptions
列表允许。堆栈跟踪元素不允许空条目。在一零个长度堆栈元素数组中的串行形式的结果中的一个空堆栈跟踪。单元素的堆栈跟踪的输入等于
new StackTraceElement("", "", null, Integer.MIN_VALUE)
结果在
null
stackTrace
场。值得注意的是,在
cause
场能容纳的价值没有约束;既
null
和
this
是字段的有效值。
private void writeObject(ObjectOutputStream s) throws IOException
Throwable
对象流。一个
null
堆栈跟踪领域是在串行形式表示为一一个元素的数组,其元素等于
new StackTraceElement("", "", null, Integer.MIN_VALUE)
。
IOException
String detailMessage
FileNotFoundException
,这包含文件找不到的名字。
Throwable cause
StackTraceElement[] stackTrace
Throwable.getStackTrace()
。字段初始化为一零个长度数组。这一场
null
值表示随后调用
Throwable.setStackTrace(StackTraceElement[])
和
Throwable.fillInStackTrace()
将无法行动。
List<E> suppressedExceptions
Throwable.getSuppressed()
。列表初始化为一零元不可修改的定点名单。当一个序列化的时间读,如果
suppressedExceptions
字段指向一零个元素的列表,现场重置到定点值。
String typeName
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
MethodType
实例从一个流(即,它反序列化)。此实例是一个伪最终字段的划痕对象。它提供的参数调用的方法
readResolve
工厂。在那之后,它被丢弃。
IOException
-如果有一个问题,阅读的对象
ClassNotFoundException
-如果一个组件的类不能被解决
MethodType.MethodType()
,
MethodType.readResolve()
,
MethodType.writeObject(java.io.ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
MethodType
实例流。
writeObject
方法,使用两个电话
s.writeObject
如下:
s.writeObject(this.returnType()); s.writeObject(this.parameterArray());
反序列化字段值为如果他们提供给工厂方法methodType
检查。例如,空值,或void
参数类型,将在反序列化期间导致异常。
IOException
-如果有问题的写作对象
private Object readResolve()
MethodType
。
MethodType
序列化字段。
private Object readResolve() throws ReflectiveOperationException
类<T> capturingClass
String functionalInterfaceClass
String functionalInterfaceMethodName
String functionalInterfaceMethodSignature
String implClass
String implMethodName
String implMethodSignature
int implMethodKind
String instantiatedMethodType
Object[] capturedArgs
Throwable target
InvocationHandler h
Throwable undeclaredThrowable
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
BigDecimal
实例从一个流(即,它反序列化)。
private void writeObject(ObjectOutputStream s) throws IOException
BigDecimal
序列化问题中的流
IOException
BigInteger intVal
BigDecimal.unscaledValue()
。
int scale
BigDecimal.scale
。
BigDecimal.scale
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
BigInteger
实例从一个流(即,它反序列化)。的大小是看作为历史原因字节数组,但它被转换为int的数组的字节数组被丢弃。注:目前的惯例是初始化缓存字段的比特计数,个位长度和lowestsetbit,0而不是其他的标志值。因此,没有明确的行动,这些领域需要有readObject因为这些领域已经有了0的价值是从defaultreadobject默认不使用。
private void writeObject(ObjectOutputStream s) throws IOException
BigInteger
实例流。BigInteger的大小被序列化为字节数组的历史原因。
IOException
int bitCount
int bitLength
int lowestSetBit
int[] magnitude
int signum
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
MathContext
实例从一个流(即,它反序列化)。
int precision
precision
总是非负。
RoundingMode roundingMode
RoundingMode
int responseCode
String location
private Object writeReplace() throws ObjectStreamException
ObjectStreamException
如果新对象替换此对象不能被创建
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String ifname
byte[] ipaddress
int scope_id
boolean scope_id_set
boolean scope_ifname_set
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private Object readResolve() throws ObjectStreamException
ObjectStreamException
如果新对象替换此对象不能被创建
private void readObjectNoData(ObjectInputStream s) throws IOException, ClassNotFoundException
int address
int family
String hostName
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObjectNoData() throws ObjectStreamException
InetAddress addr
String hostname
int port
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream is) throws ClassNotFoundException, IOException
的ObjectInputStream.defaultReadObject()
方法被调用时所读的string
字段的值。然后,结果以通常的方式解析。
private void writeObject(ObjectOutputStream os) throws IOException
一个URI实例序列化字段只是其string
场。这场是给定一个值,如果它不已经有一个,然后给定对象的输出流的ObjectOutputStream.defaultWriteObject()
方法被调用。
IOException
String string
String input
int index
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
String actions
String charsetName
int inputLength
int inputLength
String charsetName
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
-如果对象是无效的或是有原因的,不是一个
IOException
IOException
ClassNotFoundException
String input
int index
String name
byte[] objBytes
objBytes
是
null
然后对象集合是一个
null
参考。
byte[] locBytes
equals
是
locBytes
。如果是空的,没有非
null
注释在编组。
int hash
Throwable detail
这场早于通用异常链设施。现在的Throwable.getCause()
方法获取这一信息的首选方式。
ActivationGroupID groupID
String className
String location
MarshalledObject<T> data
boolean restart
Throwable detail
这场早于通用异常链设施。现在的Throwable.getCause()
方法获取这一信息的首选方式。
ActivationGroupID groupID
ActivationMonitor monitor
long incarnation
String className
String location
MarshalledObject<T> data
ActivationGroupDesc.CommandEnvironment env
Properties props
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
readObject
。
此方法读取这个对象的序列化形式这一类如下:
该方法首先调用指定对象上的输入流defaultReadObject
,如果options
是null
,然后options
设置为String
一零长度数组。
ActivationSystem system
UID uid
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
readObject
。
此方法读取这个对象的序列化形式这一类如下:
的readObject
方法调用in
读取这个对象的唯一标识符(一个UID
实例)。
接下来的readUTF
方法调用in
读的RemoteRef
实例外部参考类型名称为对象的激活。接下来的RemoteRef
实例被创建相应的具体实现的类的外部参考类型名称(由readUTF
),和readExternal
方法被调用时,RemoteRef
实例读取相应的外部参考类型名称的外在形式。
注意:如果外部参考类型的名字是"UnicastRef"
,"UnicastServerRef"
,"UnicastRef2"
,"UnicastServerRef2"
,或"ActivatableRef"
,相应的具体实现类必须被发现,其readExternal
方法必须读取串口数据,外部参考类型名称指定要写在串行数据文档这类。如果外部参考类型的名字是任何其他字符串(非零长度),一个ClassNotFoundException
将抛出,除非实施提供了相应的外部参考类型名称具体实现的类,在这种情况下,RemoteRef
将实现特定类的一个实例。
private void writeObject(ObjectOutputStream out) throws IOException, ClassNotFoundException
writeObject
。
本方法将该对象的序列化形式这一类如下:
该方法是在writeObject
out
传递这个对象的唯一标识符调用(一个UID
实例)作为参数。
接下来的getRefClass
方法被调用,在激活的RemoteRef
实例获取外部参考类型名称。接下来的writeUTF
方法调用与返回的值out
getRefClass
,然后writeExternal
方法在RemoteRef
实例传递out
作为参数调用。
java.rmi.server.UID
(用
ObjectOutput.writeObject
)其次是激活的
RemoteRef
实例外部参考类型名称(字符串用
ObjectOutput.writeUTF
),紧随其后的是
RemoteRef
实例的外在形式的
writeExternal
写的方法。
该RemoteRef
实例外部参考类型名称是使用外部参考类型名称在RemoteObject
writeObject
方法串行数据规范指定的定义确定。同样,数据的writeExternal
方法被RemoteRef
实现类对应于每个定义的外部参考类型名称的readExternal
读取方法是在RemoteObject
writeObject
方法串行数据规范规定。
IOException
ClassNotFoundException
VMID vmid
Lease.getVMID()
long value
Lease.getValue()
byte[] addr
UID uid
long objNum
ObjID.hashCode()
UID space
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
readObject
。
此方法读取这个对象的序列化形式这一类如下:
的readUTF
方法调用in
为填写该物体的ref
领域RemoteRef
实例读取外部引用类型名称。如果返回的字符串readUTF
长度为零,这readObject
方法调用in
,比返回的值readObject
投向RemoteRef
和这个对象的ref
字段设置为该值。否则,这个对象的ref
字段设置为一个RemoteRef
实例,建立相应的具体实现的类的外部参考类型名称返回readUTF
,然后readExternal
方法对该对象的调用ref
场。
如果外部参考类型的名字是"UnicastRef"
,"UnicastServerRef"
,"UnicastRef2"
,"UnicastServerRef2"
,或"ActivatableRef"
,相应的具体实现类必须被发现,其readExternal
方法必须读取串口数据,外部参考类型名称指定要写在串行数据文档这类。如果外部参考类型的名字是任何其他字符串(非零长度),一个ClassNotFoundException
将抛出,除非实施提供了相应的外部参考类型名称具体实现的类,在这种情况下,这个对象的ref
现场将设置为实现特定类的一个实例。
private void writeObject(ObjectOutputStream out) throws IOException, ClassNotFoundException
writeObject
。
本方法将该对象的序列化形式这一类如下:
的getRefClass
方法被调用该对象的ref
领域获得其外部参考类型名称。如果返回的值是一个non-null
getRefClass
字符串长度大于零,该writeUTF
方法调用与返回的值out
getRefClass
,然后writeExternal
方法对这个对象的ref
场传递out
作为参数调用;否则,该writeUTF
法是在一零长度的字符串out
调用(""
),然后writeObject
方法对out
传递这个对象的ref
字段作为参数调用。
ObjectOutput.writeUTF
),要么是外部参考类型名称所包含的
RemoteRef
实例(的
ref
场)或一零长度的字符串,然后由外部形式的
ref
场写的
writeExternal
方法如果字符串是非零的长度,或序列化形式的
ref
场传递到序列化流的
writeObject
如果字符串是长度为零的写。
如果这个对象是RemoteStub
或RemoteObjectInvocationHandler
是从任何的UnicastRemoteObject.exportObject
方法和自定义套接字工厂返回一个实例没有使用,外部参考类型的名字是"UnicastRef"
。如果这个对象是一个RemoteStub
或RemoteObjectInvocationHandler
是从任何的UnicastRemoteObject.exportObject
方法和自定义套接字工厂返回使用外部参考类型名称是"UnicastRef2"
。如果这个对象是RemoteStub
或RemoteObjectInvocationHandler
是从任何的java.rmi.activation.Activatable.exportObject
方法返回的实例,外部参考类型的名字是"ActivatableRef"
。如果这个对象是RemoteStub
或RemoteObjectInvocationHandler
,从RemoteObject.toStub
方法返回的实例(和参数传递给toStub
本身并不是一个RemoteStub
),外部引用类型名称是一种怎样的远程对象传递给toStub
导出功能,如上面所描述的。如果这个对象是RemoteStub
或RemoteObjectInvocationHandler
最初通过反序列化实例,外部参考类型的名字是一样的,这是在阅读时,这个对象反序列化。
如果这个对象是一个java.rmi.server.UnicastRemoteObject
不使用自定义套接字工厂、外部参考类型的名字是"UnicastServerRef"
。如果这个对象是UnicastRemoteObject
不使用自定义套接字工厂实例,外部参考类型的名字是"UnicastServerRef2"
。
以下是必须要写的writeExternal
方法及用RemoteRef
实现类对应于每个定义的外部参考类型名称的readExternal
方法读取数据:
对于"UnicastRef"
:
DataOutput.writeUTF(String)
DataOutput.writeInt(int)
ObjID
实例false
,用DataOutput.writeBoolean(boolean)
与null
客户端套接字工厂"UnicastRef2"
:
0x00
(指示null
客户端套接字工厂),用DataOutput.writeByte(int)
DataOutput.writeUTF(String)
DataOutput.writeInt(int)
ObjID
实例false
,用DataOutput.writeBoolean(boolean)
与non-null
客户端套接字工厂"UnicastRef2"
:
0x01
(指示non-null
客户端套接字工厂),用DataOutput.writeByte(int)
DataOutput.writeUTF(String)
DataOutput.writeInt(int)
java.rmi.server.RMIClientSocketFactory
对象),通过对writeObject
在流实例调用写ObjID
实例false
,用DataOutput.writeBoolean(boolean)
与null
嵌套远程引用"ActivatableRef"
:
java.rmi.activation.ActivationID
的实例,通过对实例的调用writeObject
流上写""
),用DataOutput.writeUTF(String)
与non-null
嵌套远程引用"ActivatableRef"
:
java.rmi.activation.ActivationID
的实例,通过对实例的调用writeObject
流上写"UnicastRef2"
,用DataOutput.writeUTF(String)
writeExternal
方法与流实例(见上面写"UnicastRef2"
的外部形态的描述)对于"UnicastServerRef"
和"UnicastServerRef2"
,未写入数据的writeExternal
方法或通过readExternal
读取方法。
IOException
ClassNotFoundException
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
-无条件
异常 detail
这场早于通用异常链设施。现在的Throwable.getCause()
方法获取这一信息的首选方式。
int unique
UID
产生相对于它的主人,在给定的时间
long time
System.currentTimeMillis()
)在VM,这
UID
生成还活着
short count
UID
实例在同一时间同一虚拟机创造价值
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
int port
RMIClientSocketFactory csf
RMIServerSocketFactory ssf
Permission perm
boolean all_allowed
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
boolean all_allowed
类<T> permClass
Hashtable<K,V> permissions
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
URL
跟着一个
int
表示接下来的证书数(值“零”表示没有与该对象相关的证书)。每个证书都是写出来,从一个
String
表示的证型,其次是指定的证书编码长度的
int
,其次是编码本身是写出来作为字节数组的证书。最后,如果任何代码签名的代码签名然后数组序列化和写过。
IOException
URL location
private void writeObject(ObjectOutputStream oos) throws IOException
IOException
PrivateKey privateKey
PublicKey publicKey
protected Object readResolve() throws ObjectStreamException
此方法支持三种类型/格式组合:
ObjectStreamException
-如果类型/格式的组合是无法识别的,如果算法,密钥格式,或编码的关键字节识别/无效,如果关键的分辨率没有以任何理由
KeyRep.Type type
String algorithm
String format
byte[] encoded
String name
boolean readOnly
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
异常 exception
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Provider provider
SecureRandomSpi secureRandomSpi
String algorithm
byte[] state
MessageDigest digest
byte[] randomBytes
int randomBytesUsed
long counter
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
byte[] content
byte[] signature
String thealgorithm
PrivateKey privateKey
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
type
初始
String
其次是
String
表示
name
其次是
String
表示
actions
跟着一个
int
表示接下来的证书数(值“零”表示没有与该对象相关的证书)。每个证书都是写出来,从一个
String
表示的证型,其次是指定的证书编码长度的
int
,其次是编码本身是写出来作为字节数组的证书。
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
如果代表这个证书不能创建新对象
String type
int hash
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
如果证书不能解决
String type
byte[] data
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
CertificateRevokedException
实例。
private void writeObject(ObjectOutputStream oos) throws IOException
CertificateRevokedException
实例序列化。
IOException
Date revocationDate
CRLReason reason
X500Principal authority
X500Principal
protected Object writeReplace() throws ObjectStreamException
CertPath
是一个
CertPathRep
对象序列化。
ObjectStreamException
-如果一个代表这个证书路径
CertPathRep
未能创建对象
String type
protected Object readResolve() throws ObjectStreamException
CertPath
。
ObjectStreamException
-如果一个
CertPath
无法建造
String type
byte[] data
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException
int index
CertPath certPath
CertPath
被验证时,抛出异常
CertPathValidatorException.Reason reason
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
BatchUpdateException
状态。
private void writeObject(ObjectOutputStream s) throws IOException, ClassNotFoundException
BatchUpdateException
国家流。
int[] updateCounts
long[] longUpdateCounts
int index
boolean parameter
boolean read
int dataSize
int transferSize
String SQLState
int vendorCode
SQLException next
int nanos
protected Object readResolve() throws InvalidObjectException
InvalidObjectException
如果解决的对象是不
Attribute
实例
String name
Attribute
名称。这个名字是由
readResolve
用于查找相应的预定义的实例时,反序列化实例。
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
-如果从流中读取的对象是无效的。
IOException
ClassNotFoundException
double[] choiceLimits
choiceFormats[i]
如果数字格式化大于或等于和小于
choiceLimits[i+1]
choiceLimits[i]
。
String[] choiceFormats
choiceLimits[i]
小于
choiceLimits[i+1]
返回
choiceFormats[i]
。
Calendar calendar
NumberFormat numberFormat
DateFormat
用在日期和时间格式的数字的数字格式化。子类应该初始化这一数字格式适合这
DateFormat
相关现场。
protected Object readResolve() throws InvalidObjectException
InvalidObjectException
如果持续无法解决。
int calendarField
private void writeObject(ObjectOutputStream stream) throws IOException
zoneStrings
字段被初始化为保证向后兼容性。
IOException
String[] eras
Calendar.BC
和
Calendar.AD
索引。
String[] months
Calendar.JANUARY
,
Calendar.FEBRUARY
索引,等等。
String[] shortMonths
Calendar.JANUARY
,
Calendar.FEBRUARY
索引,等等。
String[] weekdays
Calendar.SUNDAY
,
Calendar.MONDAY
索引,等元素
weekdays[0]
被忽略。
String[] shortWeekdays
Calendar.SUNDAY
,
Calendar.MONDAY
索引,等元素
shortWeekdays[0]
被忽略。
String[] ampms
Calendar.AM
和
Calendar.PM
索引。
String[][] zoneStrings
TimeZone
。每一行包含(有
i
从0。N-1):
zoneStrings[i][0]
时带身份证zoneStrings[i][1]
-带长的名字在标准时间zoneStrings[i][2]
-带短名称在标准时间zoneStrings[i][3]
-带长的名字在日光节约时间zoneStrings[i][4]
-夏时制时间区域的短名称TimeZone
不
custom IDs有效的入侵检测系统。所有其他条目都是本地化的名称。
TimeZone
String localPatternChars
DateFormat.ERA_FIELD
,
DateFormat.YEAR_FIELD
,因此描述人物的索引,如果字符串是“XZ…”,然后本地化模式会使用“X”时代和“Z”年。
Locale locale
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
BigInteger
和BigDecimal
对象的限制。这些限制是存储在与旧版本兼容的父类的序列化,而BigInteger
和BigDecimal
对象保存在这类限制。如果在超类中,最小或最大整数位数计数大于DOUBLE_INTEGER_DIGITS
或者最低或最高分数的数字计数大于DOUBLE_FRACTION_DIGITS
,然后流数据是无效的,该方法抛出一个InvalidObjectException
。serialVersionOnStream
小于4,roundingMode
到RoundingMode.HALF_EVEN
初始化。这个字段是新的版本4。serialVersionOnStream
小于3,然后调用setter方法来初始化这个类中的字段的最小,与相应的父类干将值的最大整数和小数位数。在这个类中的字段是新的版本3。serialVersionOnStream
小于1,表明流是由JDK 1.1写的,useExponentialNotation
初始化错误,因为它不在JDK 1.1。serialVersionOnStream
为最大允许值,默认的序列化将该对象是否是流出来的正常工作。流比2版本不会有词缀型变量posPrefixPattern
等由于年纪大了,他们将被初始化为null
,这意味着将字符串将作为文本值。这正是我们想要的,因为对应的pre-version-2行为。
String positivePrefix
String positiveSuffix
String negativePrefix
String negativeSuffix
String posPrefixPattern
positivePrefix
。
这种模式是扩展的方法来positivePrefix
expandAffix()
更新后者反映symbols
。如果这个变量是null
然后positivePrefix
作为文学价值不在symbols
变化。这个变量总是null
为DecimalFormat
对象比流2版本恢复流老。
String posSuffixPattern
positiveSuffix
。这个变量是类似于
posPrefixPattern
;看到进一步的文件变量。
String negPrefixPattern
negativePrefix
。这个变量是类似于
posPrefixPattern
;看到进一步的文件变量。
String negSuffixPattern
negativeSuffix
。这个变量是类似于
posPrefixPattern
;看到进一步的文件变量。
int multiplier
byte groupingSize
NumberFormat.groupingUsed
是真实的。
boolean decimalSeparatorAlwaysShown
boolean parseBigDecimal
DecimalFormat.isParseBigDecimal()
DecimalFormatSymbols symbols
DecimalFormatSymbols
对象。它包含用于格式化数字的符号,例如:分组分隔符、十进制分隔符等等。
boolean useExponentialNotation
byte minExponentDigits
useExponentialNotation
不是真的忽视。
int maximumIntegerDigits
BigInteger
或
BigDecimal
数。
maximumIntegerDigits
必须大于或等于
minimumIntegerDigits
。
DecimalFormat.getMaximumIntegerDigits()
int minimumIntegerDigits
BigInteger
或
BigDecimal
数。
minimumIntegerDigits
必须小于或等于
maximumIntegerDigits
。
DecimalFormat.getMinimumIntegerDigits()
int maximumFractionDigits
BigInteger
或
BigDecimal
数。
maximumFractionDigits
必须大于或等于
minimumFractionDigits
。
DecimalFormat.getMaximumFractionDigits()
int minimumFractionDigits
BigInteger
或
BigDecimal
数。
minimumFractionDigits
必须小于或等于
maximumFractionDigits
。
DecimalFormat.getMinimumFractionDigits()
RoundingMode roundingMode
RoundingMode
DecimalFormat。
int serialVersionOnStream
useExponentialNotation
和minExponentDigits
。posPrefixPattern
,posSuffixPattern
,negPrefixPattern
,和negSuffixPattern
。maximumIntegerDigits
,minimumIntegerDigits
,maximumFractionDigits
,minimumFractionDigits
,和parseBigDecimal
。roundingMode
。private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
serialVersionOnStream
小于1,初始化
monetarySeparator
作为
decimalSeparator
和
exponential
是E相同的。如果
serialVersionOnStream
小于2,初始化
locale
to根区域,并初始化如果
serialVersionOnStream
小于3,它初始化
exponentialSeparator
使用
exponential
。集
serialVersionOnStream
回到允许的最大值,默认的序列化将该对象是否是流出来的正常工作。将货币从intlcurrencysymbol场。
IOException
ClassNotFoundException
char zeroDigit
char groupingSeparator
char decimalSeparator
char perMill
char percent
char digit
char patternSeparator
String infinity
String NaN
char minusSign
String currencySymbol
String intlCurrencySymbol
char monetarySeparator
DecimalFormatSymbols.getMonetaryDecimalSeparator()
char exponential
请注意,公共的接口提供了无法设置此字段的方法,即使它是由实现和流格式的支持。的意图是,这将被添加到未来的原料药。
String exponentialSeparator
如果exponential
和exponentialSeparator
存在,这exponentialSeparator
具有优先。
Locale locale
int serialVersionOnStream
DecimalFormatSymbols
流上的版本。可能的值是:当一个
DecimalFormatSymbols
monetarySeparator
和exponential
。locale
场。exponentialSeparator
场。serialVersionOnStream
)永远都是。
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
-如果从流中读取的对象是无效的。
IOException
ClassNotFoundException
Locale locale
String pattern
Format[] formats
int[] offsets
int[] argumentNumbers
int maxOffset
offsets
参赛人数。也可以理解为最高编号的元素在
offsets
正在使用的指标。所有这些元素的数组应该作为
offsets
不相同的数,所以这个变量就足以告诉我们多少条目都。
protected Object readResolve() throws InvalidObjectException
InvalidObjectException
如果持续无法解决。
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
serialVersionOnStream
小于1,表明流是由JDK 1.1写的,如
maximumIntegerDigits
等于如
maxIntegerDigits
的
byte
领域
int
领域,由于
int
字段不在JDK 1.1的礼物。最后,建立serialversiononstream回到允许的最大值,默认的序列化将该对象是否是流出来的正常工作。
如果minimumIntegerDigits
大于maximumIntegerDigits
或minimumFractionDigits
大于maximumFractionDigits
,然后流数据是无效的,该方法抛出一个InvalidObjectException
。此外,如果这些值是负的,那么这种方法抛出一个InvalidObjectException
。
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream stream) throws IOException
maxIntegerDigits
等于如
maximumIntegerDigits
的
int
领域
byte
领域(或
Byte.MAX_VALUE
,以较小者为准),与JDK 1.1版本的流格式的兼容性。
IOException
boolean groupingUsed
byte maxIntegerDigits
maxIntegerDigits
必须大于或等于
minIntegerDigits
。
只有在JDK 1.1的串行化兼容性注:这场存在。在java平台2版和更高的新领域,int
maximumIntegerDigits
代替。写入流时,maxIntegerDigits
设置maximumIntegerDigits
或Byte.MAX_VALUE
,以较小者为准。当读取流,这场只有serialVersionOnStream
小于1。
byte minIntegerDigits
minimumIntegerDigits
必须小于或等于
maximumIntegerDigits
。
只有在JDK 1.1的串行化兼容性注:这场存在。在java平台2版和更高的新领域,int
minimumIntegerDigits
代替。写入流时,minIntegerDigits
设置minimumIntegerDigits
或Byte.MAX_VALUE
,以较小者为准。当读取流,这场只有serialVersionOnStream
小于1。
byte maxFractionDigits
maximumFractionDigits
必须大于或等于
minimumFractionDigits
。
只有在JDK 1.1的串行化兼容性注:这场存在。在java平台2版和更高的新领域,int
maximumFractionDigits
代替。写入流时,maxFractionDigits
设置maximumFractionDigits
或Byte.MAX_VALUE
,以较小者为准。当读取流,这场只有serialVersionOnStream
小于1。
byte minFractionDigits
minimumFractionDigits
必须小于或等于
maximumFractionDigits
。
只有在JDK 1.1的串行化兼容性注:这场存在。在java平台2版和更高的新领域,int
minimumFractionDigits
代替。写入流时,minFractionDigits
设置minimumFractionDigits
或Byte.MAX_VALUE
,以较小者为准。当读取流,这场只有serialVersionOnStream
小于1。
boolean parseIntegerOnly
int maximumIntegerDigits
maximumIntegerDigits
必须大于或等于
minimumIntegerDigits
。
NumberFormat.getMaximumIntegerDigits()
int minimumIntegerDigits
minimumIntegerDigits
必须小于或等于
maximumIntegerDigits
。
NumberFormat.getMinimumIntegerDigits()
int maximumFractionDigits
maximumFractionDigits
必须大于或等于
minimumFractionDigits
。
NumberFormat.getMaximumFractionDigits()
int minimumFractionDigits
minimumFractionDigits
必须小于或等于
maximumFractionDigits
。
NumberFormat.getMinimumFractionDigits()
int serialVersionOnStream
NumberFormat
流上的版本。可能的值是:当一个
NumberFormat
maximumIntegerDigits
不在场的int
领域,如maxIntegerDigits
的byte
领域代替。maxIntegerDigits
被忽略的byte
字段的值,如maximumIntegerDigits
代替的int
领域。serialVersionOnStream
)永远都是。
protected Object readResolve() throws InvalidObjectException
InvalidObjectException
如果持续无法解决。
int errorOffset
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
InvalidObjectException
-如果模式是无效的
IOException
ClassNotFoundException
int serialVersionOnStream
defaultCenturyStart
流。defaultCenturyStart
。serialVersionOnStream
写。
String pattern
DateFormatSymbols formatData
DateFormatSymbols
Date defaultCenturyStart
defaultCenturyStart
世纪开始,这可能是任何日期。可能不为空。
Locale locale
SimpleDateFormat
。该值可以是空如果此对象已被一个年长的
SimpleDateFormat
创建和反序列化。
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(1);/ /识别时间从writelong(秒);从writeint(Nano);
long seconds
int nanos
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(2);//标识一个瞬间从writelong(秒);从writeint(Nano);
long seconds
int nanos
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(3);//标识localdate从writeint(年);从writebyte(月);从writebyte(天);
int year
short month
short day
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(4);//标识的形式如果(纳米= = 0)如果(第二= = 0)如果(分钟= 0)从writebyte(~小时);其他{ }从writebyte(小时);从writebyte(~分钟);}其他{ }从writebyte(小时);从writebyte(分钟);从writebyte(~二);}其他{ }从writebyte(小时);从writebyte(分钟);从writebyte(二);从writeint(纳米);}
byte hour
byte minute
byte second
int nano
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(13);//标识一个月新高从writebyte(月);从writebyte(天);
int month
int day
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
LocalDateTime dateTime
ZoneOffset offset
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
LocalTime time
ZoneOffset offset
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(14);//标识一个时期从writeint(年);从writeint(个月);从writeint(天);
int years
int months
int days
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
Externalizable
接口读取对象。
writeReplace
方法定义了读通过的类型创建一个新的实例对应的静态工厂。该实例是为反序列化
Ser
对象返回。
Duration.ofSeconds(seconds, nanos);
Instant.ofEpochSecond(seconds, nanos);
LocalDate.of(year, month, day);
LocalDateTime.of(date, time);
LocalTime.of(hour, minute, second, nano);
MonthDay.of(month, day);
OffsetTime.of(time, offset);
OffsetDateTime.of(dateTime, offset);
Period.of(years, months, days);
Year.of(year);
YearMonth.of(year, month);
ZonedDateTime.ofLenient(dateTime, offset, zone);
ZoneId.of(id);
(offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(offsetByte * 900));
IOException
如果I/O错误发生
ClassNotFoundException
恢复无法找到类。
public void writeExternal(ObjectOutput out) throws IOException
Externalizable
接口写的对象。
writeReplace
序列化形式为类型的类型和序列的值。
IOException
-包括任何I/O异常可能发生
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(11);//标识一年从writeint(年);
int year
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(12);//标识一个月从writeint(年);从writebyte(月);
int year
int month
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
LocalDateTime dateTime
ZoneOffset offset
ZoneId zone
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(7);//标识zoneid(而不是ZoneOffset)从writeutf(getid());
当回读,这ZoneId
将创建通过ZoneId.of(String)
,但没有在身份证有一个有效的格式的情况下有例外,但不在已知的基于区域的入侵检测系统。
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(8);//标识zoneoffset国际offsetbyte = totalseconds % 900 = = 0?totalseconds / 900:127;从writebyte(offsetbyte);如果(offsetbyte = = 127){从writeint(totalseconds);}
int totalSeconds
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(2);//标识chronolocaldatetime出的writeObject(tolocaldate());从witeobject(tolocaltime());
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(3);//标识chronozoneddatetime出的writeObject(tolocaldatetime());出的writeObject(getoffset());出的writeObject(getzone());
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
Object writeReplace()
出来。writebyte(1);//标识年表从writeutf(getid());
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(6);//标识hijrahdate出来。writeObject(计时);// hijrahchronology变异出来。writeint(得到(年));出来。writebyte(得到(month_of_year));出来。writebyte(得到(day_of_month));
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
Object writeReplace()
出来。writebyte(1);//标识年表从writeutf(getid());
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
Object writeReplace()
出来。writebyte(1);//标识年表从writeutf(getid());
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(4);//标识japanesedate出来。writeint(得到(年));出来。writebyte(得到(month_of_year));出来。writebyte(得到(day_of_month));
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(5);//标识JapaneseEra从writeint(getvalue());
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
Object writeReplace()
出来。writebyte(1);//标识年表从writeutf(getid());
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(8);//标识minguodate出来。writeint(得到(年));出来。writebyte(得到(month_of_year));出来。writebyte(得到(day_of_month));
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
Externalizable
接口。
writeReplace
方法定义了读通过的类型创建一个新的实例对应的静态工厂。该实例是为反序列化
Ser
对象返回。
IOException
如果I/O错误发生
ClassNotFoundException
恢复无法找到类。
public void writeExternal(ObjectOutput out) throws IOException
Externalizable
接口。
writeReplace
序列化形式为类型的类型和序列的值。
IOException
-包括任何I/O异常可能发生
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
Object writeReplace()
出来。writebyte(1);//标识年表从writeutf(getid());
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
出来。writebyte(10);//标识thaibuddhistdate出来。writeint(得到(年));出来。writebyte(得到(month_of_year));出来。writebyte(得到(day_of_month));
String parsedString
int errorIndex
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException, InvalidObjectException
InvalidObjectException
如果最小大于最小或最大、最小最大值大于最大值或最大最小值大于最大值
IOException
ClassNotFoundException
long minSmallest
long minLargest
long maxSmallest
long maxLargest
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException, InvalidObjectException
InvalidObjectException
如果序列化的对象有minimaldays FirstDayOfWeek或无效值。
IOException
ClassNotFoundException
private Object readResolve() throws InvalidObjectException
firstDayOfWeek
和
minimalDays
相关。
InvalidObjectException
如果序列化的对象有minimaldays FirstDayOfWeek或值无效。
DayOfWeek firstDayOfWeek
int minimalDays
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
Externalizable
接口。
writeReplace
方法定义了读通过的类型创建一个新的实例对应的静态工厂。该实例是为反序列化
Ser
对象返回。
ZoneRules.of(standardTransitions, standardOffsets, savingsInstantTransitions, wallOffsets, lastRules);
ZoneOffsetTransition of(LocalDateTime.ofEpochSecond(epochSecond), offsetBefore, offsetAfter);
ZoneOffsetTransitionRule.of(month, dom, dow, time, timeEndOfDay, timeDefinition, standardOffset, offsetBefore, offsetAfter);
IOException
如果I/O错误发生
ClassNotFoundException
恢复无法找到类。
public void writeExternal(ObjectOutput out) throws IOException
Externalizable
接口。
writeReplace
序列化形式为类型的类型和序列的值。
IOException
-包括任何I/O异常可能发生
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
out.writeByte(2); // identifies a ZoneOffsetTransition
out.writeEpochSec(toEpochSecond);
out.writeOffset(offsetBefore);
out.writeOffset(offsetAfter);
LocalDateTime transition
ZoneOffset offsetBefore
ZoneOffset offsetAfter
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
out.writeByte(3); // identifies a ZoneOffsetTransition
final int timeSecs = (timeEndOfDay ? 86400 : time.toSecondOfDay());
final int stdOffset = standardOffset.getTotalSeconds();
final int beforeDiff = offsetBefore.getTotalSeconds() - stdOffset;
final int afterDiff = offsetAfter.getTotalSeconds() - stdOffset;
final int timeByte = (timeSecs % 3600 == 0 ? (timeEndOfDay ? 24 : time.getHour()) : 31);
final int stdOffsetByte = (stdOffset % 900 == 0 ? stdOffset / 900 + 128 : 255);
final int beforeByte = (beforeDiff == 0 || beforeDiff == 1800 || beforeDiff == 3600 ? beforeDiff / 1800 : 3);
final int afterByte = (afterDiff == 0 || afterDiff == 1800 || afterDiff == 3600 ? afterDiff / 1800 : 3);
final int dowByte = (dow == null ? 0 : dow.getValue());
int b = (month.getValue() << 28) + // 4 bits
((dom + 32) << 22) + // 6 bits
(dowByte << 19) + // 3 bits
(timeByte << 14) + // 5 bits
(timeDefinition.ordinal() << 12) + // 2 bits
(stdOffsetByte << 4) + // 8 bits
(beforeByte << 2) + // 2 bits
afterByte; // 2 bits
out.writeInt(b);
if (timeByte == 31) {
out.writeInt(timeSecs);
}
if (stdOffsetByte == 255) {
out.writeInt(stdOffset);
}
if (beforeByte == 3) {
out.writeInt(offsetBefore.getTotalSeconds());
}
if (afterByte == 3) {
out.writeInt(offsetAfter.getTotalSeconds());
}
Month month
byte dom
-1
是这个月的最后一天,
-2
是倒数第二天,等等。
DayOfWeek dow
LocalTime time
boolean timeEndOfDay
ZoneOffsetTransitionRule.TimeDefinition timeDefinition
ZoneOffset standardOffset
ZoneOffset offsetBefore
ZoneOffset offsetAfter
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
out.writeByte(1); // identifies a ZoneRules
out.writeInt(standardTransitions.length);
for (long trans : standardTransitions) {
Ser.writeEpochSec(trans, out);
}
for (ZoneOffset offset : standardOffsets) {
Ser.writeOffset(offset, out);
}
out.writeInt(savingsInstantTransitions.length);
for (long trans : savingsInstantTransitions) {
Ser.writeEpochSec(trans, out);
}
for (ZoneOffset offset : wallOffsets) {
Ser.writeOffset(offset, out);
}
out.writeByte(lastRules.length);
for (ZoneOffsetTransitionRule rule : lastRules) {
rule.writeExternal(out);
}
用于偏移的新的第二个值被编码在一个可变长度的形式,以使普通的情况下,减少在流中的字节数。
static void writeEpochSec(long epochSec, DataOutput out) throws IOException {
if (epochSec >= -4575744000L && epochSec < 10413792000L && epochSec % 900 == 0) { // quarter hours between 1825 and 2300
int store = (int) ((epochSec + 4575744000L) / 900);
out.writeByte((store >>> 16) & 255);
out.writeByte((store >>> 8) & 255);
out.writeByte(store & 255);
} else {
out.writeByte(255);
out.writeLong(epochSec);
}
}
zoneoffset值被编码在一个可变长度的形式,一般情况下把更少的字节流。
static void writeOffset(ZoneOffset offset, DataOutput out) throws IOException {
final int offsetSecs = offset.getTotalSeconds();
int offsetByte = offsetSecs % 900 == 0 ? offsetSecs / 900 : 127; // compress to -72 to +72
out.writeByte(offsetByte);
if (offsetByte == 127) {
out.writeInt(offsetSecs);
}
}
long[] standardTransitions
ZoneOffset[] standardOffsets
long[] savingsInstantTransitions
LocalDateTime[] savingsLocalTransitions
ZoneOffset[] wallOffsets
ZoneOffsetTransitionRule[] lastRules
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
int
)的容器,其次是所有的元素(每一个对象的引用)在第一个到最后一个阶。
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int size
Object[] a
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
BitSet
实例从一个流(即,它反序列化)。
private void writeObject(ObjectOutputStream s) throws IOException
BitSet
实例的状态到一个流(即,它序列化)。
IOException
long[] bits
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream stream) throws IOException
Calendar
只写出其状态数据和当前的时间,并没有写任何数据,如
fields[]
,
isTimeSet
,
areFieldsSet
,和
isSet[]
。
nextStamp
也不应该是持久状态的一部分。不幸的是,这并没有发生在JDK 1.1运。将JDK 1.1兼容,我们总是会有写出来的字段值和状态标志。然而,
nextStamp
可以从流中删除;这将在不久的将来可能会发生的。
IOException
int[] fields
FIELD_COUNT
整数数组索引值,通过
DST_OFFSET
ERA
。
boolean[] isSet
FIELD_COUNT
布尔数组,索引值
ERA
通过
DST_OFFSET
。
long time
Calendar.isTimeSet
boolean isTimeSet
time
值是有效的。时间的变化对
field[]
项目作无效。
Calendar.time
boolean areFieldsSet
fields[]
是与当前设置的时间同步。如果为false,则得到一个字段的值,下次尝试将力从
time
当前值重新计算所有领域。
boolean lenient
True
日历允许范围外的场值的计算中
fields[]
time
。
TimeZone zone
TimeZone
。
Calendar
使用时区数据之间转换的现场和GMT时间。
int firstDayOfWeek
SUNDAY
,
MONDAY
,等这一区域价值。
int minimalDaysInFirstWeek
int nextStamp
stamp[]
下一个可用的值,一个内部数组。这其实不应该被写入到流,并可能会在不久的将来从流中删除。同时,价值
MINIMUM_USER_STAMP
应使用。
int serialVersionOnStream
serialVersionOnStream
写。
Collection<E> c
类<T> type
Object[] zeroLengthElementArray
NavigableMap<K,V> nm
NavigableSet<E> ns
int n
Object element
private Object readResolve()
private Object readResolve()
private Object readResolve()
private Object readResolve()
Comparator<T> cmp
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
Object element
Object element
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Collection<E> c
Object mutex
private Object readResolve()
private void writeObject(ObjectOutputStream s) throws IOException
IOException
NavigableMap<K,V> nm
NavigableSet<E> ns
private Object writeReplace()
Collection<E> c
private Object readResolve()
NavigableMap<K,V> nm
NavigableSet<E> ns
private Object writeReplace()
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
getTime()
发射(长)。这是自1970年1月1日00:00:00 GMT偏移,以毫秒为单位。
IOException
String flags
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String f
char c
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
long gregorianCutover
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
HashMap
实例从一个流(即,它反序列化)。
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int threshold
float loadFactor
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int threshold
float loadFactor
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int size
int c
String flags
int p
int w
int _errIdx
boolean accessOrder
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
LinkedList
实例从一个流(即反序列化它)。
private void writeObject(ObjectOutputStream s) throws IOException
LinkedList
实例的状态到一个流(即序列化它)。
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Locale
。
IOException
ClassNotFoundException
IllformedLocaleException
private void writeObject(ObjectOutputStream out) throws IOException
Locale
序列化到指定的
ObjectOutputStream
。
IOException
private Object readResolve() throws ObjectStreamException
Locale
实例相当于反序列化
Locale
。序列化时语言、国家和不同领域的阅读对象数据流是“是”,“JP”,“JP”或“日”,“日”,“日”和脚本/扩展字段是空的,这种方法提供了
UNICODE_LOCALE_EXTENSION
“CA”/“日本”(日历类型是“日本”)或“怒”、“泰”(编号脚本类型是“泰”)。更多信息见
Special Cases。
String country
String extensions
int hashcode
String language
String script
String variant
String s
String s
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
PriorityQueue
实例从一个流(即反序列化它)。
private void writeObject(ObjectOutputStream s) throws IOException
Object
)以适当的顺序。
IOException
int size
Comparator<T> comparator
Properties defaults
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Random
实例从一个流(即,它反序列化)。
private void writeObject(ObjectOutputStream s) throws IOException
Random
实例流。
IOException
boolean haveNextNextGaussian
double nextNextGaussian
long seed
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream stream) throws IOException
DOW_IN_MONTH_MODE
规则,在要求的部分,其次是完整的规则,在压缩格式,在选修部分。可选的部分将在流在JDK 1.1的代码忽略。
可选的部分内容:一个字节数组的长度是发射(int);这是4版本的。发出给定长度的字节数组。字节数组的内容领域的startDay
,startDayOfWeek
,endDay
,和endDayOfWeek
真值。所需的部分这些字段的值是近似值,适合DOW_IN_MONTH_MODE
统治模式,这是只有通过JDK 1.1认可的模式。
IOException
int startMonth
Calendar.JANUARY
和
Calendar.DECEMBER
包容。这个值必须不平等
endMonth
。
如果useDaylight
是假的,这个值被忽略。
int startDay
startMode == DOW_IN_MONTH
startDay
表示对夏令时开始
startMonth
日、月从1到28,30,或31,这取决于
startMonth
。
startMode != DOW_IN_MONTH
startDay
表明
startDayOfWeek
在月
startMonth
日光节约时间开始。例如,一个价值+ 1和
startDayOfWeek
的
Calendar.SUNDAY
表示
startMonth
的第一个星期日。同样,2会显示第二个星期日,上星期日的第二个。一个0的价值是非法的。
如果useDaylight
是假的,这个值被忽略。
int startDayOfWeek
Calendar.SUNDAY
和
Calendar.SATURDAY
包容。
如果useDaylight
是虚假的或startMode == DAY_OF_MONTH
,这个值被忽略。
int startTime
startTimeMode
设置。
如果useDaylight
是假的,这个值被忽略。
int startTimeMode
int endMonth
Calendar.JANUARY
和
Calendar.UNDECIMBER
之间。这个值必须不平等
startMonth
。
如果useDaylight
是假的,这个值被忽略。
int endDay
endMode == DOW_IN_MONTH
endDay
表示对夏令时结束
endMonth
日、月从1到28,30,或31,这取决于
endMonth
。
endMode != DOW_IN_MONTH
endDay
表明
endDayOfWeek
在月
endMonth
夏时制结束。例如,一个价值+ 1和
endDayOfWeek
的
Calendar.SUNDAY
表示
endMonth
的第一个星期日。同样,2会显示第二个星期日,上星期日的第二个。一个0的价值是非法的。
如果useDaylight
是假的,这个值被忽略。
int endDayOfWeek
Calendar.SUNDAY
和
Calendar.SATURDAY
包容之间。
如果useDaylight
是虚假的或endMode == DAY_OF_MONTH
,这个值被忽略。
int endTime
endTimeMode
设置。
如果useDaylight
是假的,这个值被忽略。
int endTimeMode
WALL_TIME
,
STANDARD_TIME
格式,或
UTC_TIME
。
int startYear
int rawOffset
dstSavings
。
boolean useDaylight
byte[] monthLength
int startMode
DOM_MODE
DOW_IN_MONTH_MODE
DOW_GE_DOM_MODE
DOW_LE_DOM_MODE
startDay
领域的解释。
如果useDaylight
是假的,这个值被忽略。
int endMode
DOM_MODE
DOW_IN_MONTH_MODE
DOW_GE_DOM_MODE
DOW_LE_DOM_MODE
endDay
领域的解释。
如果useDaylight
是假的,这个值被忽略。
int dstSavings
如果useDaylight
是假的,这个值被忽略。
int serialVersionOnStream
startMode
,
endMode
,和
dstSavings
。
startTimeMode
和
endTimeMode
。
serialVersionOnStream
写。
String ID
TimeZone
标识符字符串。这是一个编程标识符用于内部看
TimeZone
对象从系统表并将它们映射到局部的显示名称。
ID
值在系统表是独特的但可能不是动态生成的区域。
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
TreeMap
实例从一个流(即,它反序列化)。
private void writeObject(ObjectOutputStream s) throws IOException
TreeMap
实例的状态到一个流(即,它序列化)。
IOException
Comparator<T> comparator
Comparator<T> reverseComparator
TreeMap<K,V> m
Object lo
Object hi
boolean fromStart
boolean toEnd
boolean loInclusive
boolean hiInclusive
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
TreeSet
实例从一个流(即,它反序列化)。
private void writeObject(ObjectOutputStream s) throws IOException
TreeSet
实例的状态到一个流(即它序列化)。
null
如果它遵循其元素的自然顺序(对象),其次是大小设置(对它包含的元素数)(int),其次是它的所有元素(每一个对象)为(由设置的比较,确定或由元素的自然顺序如果无比较器)。
IOException
String s
String flags
long mostSigBits
long leastSigBits
private void writeObject(ObjectOutputStream s) throws IOException
Vector
实例的状态到一个流(即它序列化)。这种方法能够确保序列化的数据的一致性同步。
IOException
Object[] elementData
在向量中的最后一个元素后的任何数组元素都是空的。
int elementCount
Vector
对象的有效成分的数量。成分
elementData[0]
通过
elementData[elementCount-1]
是实际的项目。
int capacityIncrement
Object[] items
int takeIndex
int putIndex
int count
ReentrantLock lock
Condition notEmpty
Condition notFull
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
ConcurrentHashMap
实例的状态到一个流(即序列化它)。
IOException
如果I/O错误发生
Object value
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
E
)以适当的顺序,其次是空的
IOException
如果I/O错误发生
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
E
)以适当的顺序,其次是空的
IOException
如果I/O错误发生
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
null
。键的值映射在键的顺序(由比较器确定,或由键的自然顺序,如果没有比较器)。
IOException
如果I/O错误发生
Comparator<T> comparator
ConcurrentSkipListMap<K,V> m
Object lo
Object hi
boolean loInclusive
boolean hiInclusive
boolean isDescending
ConcurrentNavigableMap<K,V> m
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
IOException
如果I/O错误发生
CopyOnWriteArrayList<E> al
CountedCompleter<T> completer
int pending
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
null
IOException
如果I/O错误发生
int status
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
Object
)以适当的顺序,其次是空的
IOException
如果I/O错误发生
int capacity
ReentrantLock lock
Condition notEmpty
Condition notFull
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
Object
)以适当的顺序,其次是空的
IOException
如果I/O错误发生
int capacity
AtomicInteger count
ReentrantLock takeLock
Condition notEmpty
ReentrantLock putLock
Condition notFull
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
E
)以适当的顺序,其次是空的
IOException
如果I/O错误发生
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
IOException
如果I/O错误发生
ReentrantLock lock
Condition notEmpty
PriorityQueue<E> q
Object result
java.util.concurrent.Semaphore.Sync sync
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException
如果序列化对象的类不能被发现
IOException
如果I/O错误发生
private void writeObject(ObjectOutputStream s) throws IOException
IOException
如果I/O错误发生
ReentrantLock qlock
java.util.concurrent.SynchronousQueue.WaitQueue waitingProducers
java.util.concurrent.SynchronousQueue.WaitQueue waitingConsumers
private void writeObject(ObjectOutputStream s) throws IOException
ThreadLocalRandom
到流(即序列化它)。
IOException
如果I/O错误发生
private Object readResolve()
current
线程的
ThreadLocalRandom
。
boolean initialized
long rnd
int value
int value
int[] array
long value
long[] array
Object value
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException, InvalidObjectException
Object[] array
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
DoubleBinaryOperator function
long identity
private Object readResolve()
DoubleAccumulator
对象。
double value
DoubleBinaryOperator function
long identity
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
private Object readResolve()
DoubleAdder
对象。
double value
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
LongBinaryOperator function
long identity
private Object readResolve()
LongAccumulator
对象。
long value
LongBinaryOperator function
long identity
private void readObject(ObjectInputStream s) throws InvalidObjectException
InvalidObjectException
-永远
private Object writeReplace()
private Object readResolve()
LongAdder
对象。
long value
long state
int state
java.util.concurrent.locks.ReentrantLock.Sync sync
ReentrantReadWriteLock.ReadLock readerLock
ReentrantReadWriteLock.WriteLock writerLock
java.util.concurrent.locks.ReentrantReadWriteLock.Sync sync
java.util.concurrent.locks.ReentrantReadWriteLock.Sync sync
java.util.concurrent.locks.ReentrantReadWriteLock.Sync sync
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
Level level
long sequenceNumber
String sourceClassName
String sourceMethodName
String message
int threadID
long millis
Throwable thrown
String loggerName
String resourceBundleName
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
String pattern
int flags
public void readExternal(ObjectInput is) throws IOException, ClassNotFoundException
DataFlavor
恢复从序列化状态。
IOException
如果I/O错误发生
ClassNotFoundException
恢复无法找到类。
public void writeExternal(ObjectOutput os) throws IOException
DataFlavor
序列化。
IOException
-包括任何I/O异常可能发生
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
ClassNotFoundException
恢复无法找到类。
IOException
如果I/O错误发生
public void writeExternal(ObjectOutput out) throws IOException
IOException
-包括任何I/O异常可能发生
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
byte[] key
String algorithm
Node offendingNode
Node
导致解析错误,或
null
。
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
String attr
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
Object val
attribute.toString()
返回
String op
boolean val
String attr
这个班的serialVersionUID是-1081892073854801359L
。
private Object readResolve() throws InvalidObjectException
ImmutableDescriptor.EMPTY_DESCRIPTOR
取代反序列化空immutabledescriptor。
InvalidObjectException
-如果读取的对象具有无效的字段。
String[] names
String.CASE_INSENSITIVE_ORDER
。
Object[] values
names
数组的对应元素。
StringValueExp classNameValue
StringValueExp
返回类的名称应选择MBean实例。
Object val
AttributeValueExp exp
String pattern
String attributeType
boolean isWrite
boolean isRead
boolean is
MBeanParameterInfo[] signature
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
方法defaultReadObject()
叫做第一反序列化对象以外的领域descriptor
,这不是连载中默认的方式。然后该方法read()
叫做读一个字节,这场descriptor
反序列化的字节值:
readObject()
叫两次获得字段名(一String[]
)和字段的值(一个Object[]
)的descriptor
。两值然后被用来构建一个领域descriptor
ImmutableDescriptor
实例;descriptor
是通过调用该方法直接获得的readObject()
。如果得出的值是null,现场descriptor
设置EMPTY_DESCRIPTOR
;descriptor
设置EMPTY_DESCRIPTOR
StreamCorruptedException
抛出。IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
该方法被称为第一defaultWriteObject()
序列化对象以外的领域descriptor
是声明为瞬态。现场descriptor
序列化如下:
descriptor
是阶级ImmutableDescriptor
实例的方法,write(int val)
叫做与价值1
写入一个字节,那么方法writeObject(Object obj)
叫两次序列化字段名称和字段值的descriptor
,分别作为String[]
和Object[]
;write(int val)
叫做与价值0
写入一个字节,那么方法writeObject(Object obj)
叫做序列化直接现场descriptor
。IOException
String name
MBeanFeatureInfo.getName()
阅读这个领域,并且他们不改变它。
String description
MBeanFeatureInfo.getDescription()
阅读这个领域,并且他们不改变它。
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
MBeanInfo
ObjectInputStream
。
方法defaultReadObject()
叫做第一反序列化对象以外的领域descriptor
,这不是连载中默认的方式。然后该方法read()
叫做读一个字节,这场descriptor
反序列化的字节值:
readObject()
叫两次获得字段名(一String[]
)和字段的值(一个Object[]
)的descriptor
。两值然后被用来构建一个领域descriptor
ImmutableDescriptor
实例;descriptor
是通过调用该方法直接获得的readObject()
。如果得出的值是null,现场descriptor
设置EMPTY_DESCRIPTOR
;descriptor
设置EMPTY_DESCRIPTOR
。StreamCorruptedException
抛出。IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
MBeanInfo
序列化一个
ObjectOutputStream
。
该方法被称为第一defaultWriteObject()
序列化对象以外的领域descriptor
是声明为瞬态。现场descriptor
序列化如下:
descriptor
是阶级ImmutableDescriptor
实例的方法,write(int val)
叫做与价值1
写入一个字节,那么方法writeObject(Object obj)
叫两次序列化字段名称和字段值的descriptor
,分别作为String[]
和Object[]
;write(int val)
叫做与价值0
写入一个字节,那么方法writeObject(Object obj)
叫做序列化字段descriptor
直接。IOException
String description
String className
MBeanAttributeInfo[] attributes
MBeanOperationInfo[] operations
MBeanConstructorInfo[] constructors
MBeanNotificationInfo[] notifications
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
String[] types
String type
MBeanParameterInfo[] signature
int impact
INFO
,
ACTION
,
ACTION_INFO
,
UNKNOWN
String type
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
String actions
ObjectName objectName
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
MBeanServerPermission collectionPermission
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
ObjectOutputStream
序列化
Notification
。
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
ObjectInputStream
一
NumericValueExp
。
private void writeObject(ObjectOutputStream out) throws IOException
ObjectOutputStream
序列化
NumericValueExp
。
IOException
Number val
这个班的serialVersionUID是-4679739485102359104L
。
ObjectName name
String className
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
ObjectName
ObjectInputStream
。
jmx.serial.form
值不同于1.0
):字符串“
<域>
:
<属性>
<野>
”,其中:
ObjectName
域部分
域>ObjectName.getKeyPropertyListString()
属性>
isPropertyPattern野生>是空的,或是性格“
*
”如果
isPropertyPattern
和
<属性>
是空的,或是“
,*
”如果
isPropertyPattern
和
<属性>
不空。
属性>
属性>
如果不
ObjectName.ObjectName(String)
构造函数产生等效
ObjectName
。
野>
属性>
域>jmx.serial.form
值1.0
):
<域>
< > < > < propertyliststring值propertyList canonicalname >
<模式>
< propertypattern >,其中:
ObjectName
域部分
域>Hashtable
(键,值)这
ObjectName
值propertylist>String
表示(不是强制性规范表示)ObjectName
的规范名称的String
true
ObjectName
包含模式
模式>true
ObjectName
包含在属性列表模式IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
ObjectName
序列化一个
ObjectOutputStream
。
jmx.serial.form
值不同于1.0
):字符串“
<域>
:
<属性>
<野>
”,其中:
ObjectName
域部分
域>ObjectName.getKeyPropertyListString()
属性>
isPropertyPattern野生>是空的,或是性格“
*
”如果这
isPropertyPattern
和
<属性>
是空的,或是“
,*
”如果
isPropertyPattern
和
<属性>
不空。
属性>
属性>
如果不
ObjectName.ObjectName(String)
构造函数产生等效
ObjectName
。
野>
属性>
域>jmx.serial.form
值1.0
):
<域>
< > < > < propertyliststring值propertyList canonicalname >
<模式>
< propertypattern >,其中:
ObjectName
域部分
域>Hashtable
(键,值)这
ObjectName
值propertylist>String
表示(不是强制性规范表示)ObjectName
的规范名称的String
true
ObjectName
包含模式
模式>true
ObjectName
包含在属性列表模式IOException
String className
RuntimeException runtimeException
RuntimeException
RuntimeException runtimeException
RuntimeException
String val
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException, UnsupportedOperationException
从给定的ObjectInput
恢复该熔体的含量。并不是所有的实现都支持这种方法。那些不把UnsupportedOperationException
。子类可以重写此方法以支持或改变读取的数据格式。
没有指定读取数据的格式,但如果实施支持MLet.readExternal(java.io.ObjectInput)
还必须支持MLet.writeExternal(java.io.ObjectOutput)
以这样一种方式,后者是可以通过前阅读。
IOException
如果阅读时发生错误。
ClassNotFoundException
-如果对象正在恢复无法找到类。
UnsupportedOperationException
-如果该实现不支持此操作。
public void writeExternal(ObjectOutput out) throws IOException, UnsupportedOperationException
保存该熔体的内容给出的ObjectOutput
。不是所有的实现都支持这种方法。那些不把UnsupportedOperationException
。子类可以重写此方法以支持它或更改写入数据的格式。
没有指定写入的数据的格式,但如果实施支持MLet.writeExternal(java.io.ObjectOutput)
还必须支持MLet.readExternal(java.io.ObjectInput)
以这样一种方式,由前写的是什么,可以通过后者读。
IOException
如果写作时发生错误。
UnsupportedOperationException
-如果该实现不支持此操作。
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException, UnsupportedOperationException
从给定的ObjectInput
恢复该熔体的内容。不是所有的实现都支持这种方法。那些不把UnsupportedOperationException
。子类可以重写此方法以支持或改变读取的数据格式。
没有指定读取数据的格式,但如果实施支持MLet.readExternal(java.io.ObjectInput)
还必须支持MLet.writeExternal(java.io.ObjectOutput)
以这样一种方式,后者是可以通过前阅读。
IOException
如果阅读时发生错误。
ClassNotFoundException
-如果对象正在恢复无法找到类。
UnsupportedOperationException
-如果该实现不支持此操作。
public void writeExternal(ObjectOutput out) throws IOException, UnsupportedOperationException
保存该熔体的内容给出的ObjectOutput
。不是所有的实现都支持这种方法。那些不把UnsupportedOperationException
。子类可以重写此方法以支持它或更改写入数据的格式。
没有指定写入的数据的格式,但如果实施支持MLet.writeExternal(java.io.ObjectOutput)
还必须支持MLet.readExternal(java.io.ObjectInput)
以这样一种方式,由前写的是什么,可以通过后者读。
IOException
如果写作时发生错误。
UnsupportedOperationException
-如果该实现不支持此操作。
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
异常 exception
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
Descriptor attrDescriptor
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
Descriptor consDescriptor
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
ModelMBeanAttributeInfo[] modelMBeanAttributes
MBeanConstructorInfo[] modelMBeanConstructors
Descriptor modelMBeanDescriptor
MBeanNotificationInfo[] modelMBeanNotifications
MBeanOperationInfo[] modelMBeanOperations
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
Descriptor notificationDescriptor
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
Descriptor operationDescriptor
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
ObjectName observedObject
String observedAttribute
Object derivedGauge
Object trigger
private Object readResolve() throws ObjectStreamException
boolean
场
primitiveArray
。为了保证这一类新的串行形式以前版本的互操作性必须继续参考原始的包装类型即使
ArrayType
实例描述了一个原始类型的数组。所以当
primitiveArray
是
true
的
className
,
typeName
和
description
序列化字段在反序列化
ArrayType
实例转换为原始类型返回给调用者。的
elementType
场总是返回对应的数组的原始类型的原始包装类型的
SimpleType
。
因此以下序列化反序列化的字段如下:
primitiveArray
是true
的className
场反序列化通过相应的数组的组件替换原始型阵列的组件的原始包装类型,如"[[Ljava.lang.Integer;"
将反序列化为"[[I"
。primitiveArray
是true
的typeName
场反序列化通过相应的数组的组件替换原始型阵列的组件的原始包装类型,如"[[Ljava.lang.Integer;"
将反序列化为"[[I"
。primitiveArray
是true
的description
场反序列化通过相应的数组的组件替换原始型阵列的组件的原始包装类型,如"2-dimension array of java.lang.Integer"
将反序列化为"2-dimension array of int"
。ObjectStreamException
private Object writeReplace() throws ObjectStreamException
boolean
场
primitiveArray
。为了保证这一类新的串行形式以前版本的互操作性必须继续参考原始的包装类型即使
ArrayType
实例描述了一个原始类型的数组。所以当
primitiveArray
是
true
的
className
,
typeName
和
description
序列化字段之前
ArrayType
实例序列化写入流转换成包装类型。的
elementType
场总是返回对应的数组的原始类型的原始包装类型的
SimpleType
。
因此以下可序列化的字段都会被序列化如下:
primitiveArray
是true
的className
场是由相应的数组序列化组件的原始包装类型更换阵列组成的原始类型,例如"[[I"
将序列化为"[[Ljava.lang.Integer;"
。primitiveArray
是true
的typeName
场是由相应的数组序列化组件的原始包装类型更换阵列组成的原始类型,例如"[[I"
将序列化为"[[Ljava.lang.Integer;"
。primitiveArray
是true
的description
场是由相应的数组序列化组件的原始包装类型更换阵列组成的原始类型,例如"2-dimension array of int"
将序列化为"2-dimension array of java.lang.Integer"
。ObjectStreamException
SortedMap<K,V> contents
SortedMap
用于更快的检索要素。
CompositeType compositeType
private Object readResolve()
OpenType<T> openType
Object defaultValue
Set<E> legalValues
Set
是不可修改的
Comparable<T> minValue
Comparable<T> maxValue
private Object readResolve()
OpenType<T> returnOpenType
OpenMBeanOperationInfo
实例描述返回的值的开放式
private Object readResolve()
OpenType<T> openType
Object defaultValue
Set<E> legalValues
Set
是不可修改的
Comparable<T> minValue
Comparable<T> maxValue
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
OpenType
ObjectInputStream
。
public Object readResolve() throws ObjectStreamException
ObjectInputStream
对阅读对象。
ObjectStreamException
-如果读取对象不能解决。
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Map<K,V> dataMap
HashMap
TabularType tabularType
CompositeType rowType
List<E> indexNames
ArrayList
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
List<E> newRoleValue
List<E> oldRoleValue
String relationId
ObjectName relationObjName
String relationTypeName
String roleName
List<E> unregisterMBeanList
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
ObjectInputStream
一
Role
。
private void writeObject(ObjectOutputStream out) throws IOException
ObjectOutputStream
序列化
Role
。
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
ObjectOutputStream
序列化
RoleInfo
。
IOException
String description
boolean isReadable
true
如果角色是可读的
boolean isWritable
true
如果作用是可写的
int maxDegree
int minDegree
String name
String referencedMBeanClassName
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
ObjectOutputStream
序列化
RoleResult
。
IOException
RoleList roleList
RoleUnresolvedList unresolvedRoleList
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
ObjectOutputStream
序列化
RoleUnresolved
。
IOException
String connectionId
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
String name
JMXPrincipal
对象表示的身份。
JMXPrincipal.getName()
Throwable cause
private void readObject(ObjectInputStream inputStream) throws IOException, ClassNotFoundException
String protocol
JMXServiceURL.getProtocol()
返回的值。
String host
JMXServiceURL.getHost()
返回的值。
int port
JMXServiceURL.getPort()
返回的值。
String urlPath
JMXServiceURL.getURLPath()
返回的值。
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
long earliestSequenceNumber
long nextSequenceNumber
TargetedNotification[] targetedNotifications
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
Notification notif
Integer id
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ObjectInputStream
读rmiconnector领域。电话
s.defaultReadObject()
然后初始化需要初始化所有暂态变量。
InvalidObjectException
-如果
rmiserver存根或
jmxserviceurl没有设置。
IOException
ClassNotFoundException
RMIConnector.RMIConnector(JMXServiceURL,Map)
,
RMIConnector.RMIConnector(RMIServer,Map)
private void writeObject(ObjectOutputStream s) throws IOException
ObjectOutputStream
。
连接底层rmiserver存根一个球体,如果需要,将它之前。这是通过使用环境Map,如果任何构造函数,提供,在javax.management.remote.rmi
记录。
该方法调用s.defaultWriteObject()
。通常,rmiserver为null,如果这个对象是一个jmxserviceurl构造,和jmxserviceurl是无效的如果这个对象是一个rmiserver短了。
注意环境Map没有序列化,因为它所包含的对象是上下文相关只是相对于当地环境(类装载器、球、等)。
在一个rmiconnector反序列化,则认为用户会打电话给RMIConnector.connect(Map)
,提供一个新的Map,可以包含到新的当地环境的上下文相关的值。
因为连接到球之前需要序列化,因为ORB连接是一个上下文参数,不建议重新序列化反序列化的对象仅为反序列化对象没有Map。因此,当一个rmiconnector对象序列化和传输到远程的应用需要,建议通过调用RMIConnectorServer.toJMXConnector(Map)
获得一个新的rmiconnector存根。
InvalidObjectException
-如果
rmiserver存根或
jmxserviceurl没有设置。
IOException
RMIConnector.RMIConnector(JMXServiceURL,Map)
,
RMIConnector.RMIConnector(RMIServer,Map)
RMIServer rmiServer
JMXServiceURL jmxServiceURL
Integer notificationID
byte[] buf
Object boundObj
Name remainingNewName
此字段被初始化为空。它不应该被直接:应该访问和使用getremainingname()和setremainingname()更新。
Hashtable<K,V> environment
此字段被初始化为空。它不应该被直接:应该访问和使用getenvironment()和setenvironment()更新。
Name altName
altNameCtx
。它是一个复合的名字。如果为空,则没有指定名称。看到
javax.naming.spi.ObjectFactory.getObjectInstance
方法的细节如何,这是用。
此字段被初始化为空。它不应该被直接:应该访问和使用getaltname()和setaltname()更新。
Context altNameCtx
altName
指定。如果为空,则默认为默认的初始上下文。看到
javax.naming.spi.ObjectFactory.getObjectInstance
方法的细节如何,这是用。
此字段被初始化为空。它不应该被直接:应该访问和使用getaltnamectx()和setaltnamectx()更新。
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Name linkResolvedName
Object linkResolvedObj
Name linkRemainingName
String linkExplanation
String name
String className
String fullName
boolean isRel
Name resolvedName
Object resolvedObj
Name remainingName
Throwable rootException
这场早于通用异常链设施。的NamingException.initCause(Throwable)
和NamingException.getCause()
方法现在访问这些信息的首选手段。
String addrType
String contents
ModificationItem[] unexecs
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String attrID
boolean ordered
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
boolean ignoreCase
int mod_op
Attribute attr
int searchScope
int timeLimit
boolean derefLink
boolean returnObj
long countLimit
String[] attributesToReturn
Attributes attrs
NamingException exception
String id
boolean criticality
byte[] value
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int resultSize
byte[] cookie
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int resultCode
String badAttrId
UnsolicitedNotification notice
String name
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String myClassName
AttributeSet attrset
AttributeSet attrset
Date value
java.util.Date
价值。
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
如果流不可deserialised
InvalidObjectException
如果枚举值表为空抛出,该枚举值的整型值不符合在枚举值表的一个元素,或在枚举值表中的对应元素为null。(注:
InvalidObjectException
是一类
ObjectStreamException
,这
readResolve()
宣布投入。)
int value
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
int value
int crossFeedResolution
int feedResolution
int[][] members
int x
int y
URI uri
int x
int y
int w
int h
int units
MediaSizeName mediaName
PrintJobAttributeSet attributes
int reason
PrintServiceAttributeSet attributes
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream stream) throws IOException
IOException
String fileName
int lineNumber
int columnNumber
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
IOException
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
IOException
LinkedList<E> elements
Subject this$0
Locale locale
String prompt
boolean echoOn
char[] inputPassword
int messageType
String message
Callback callback
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
KerberosPrincipal principal
int versionNum
javax.security.auth.kerberos.KeyImpl key
KeyImpl
序列化写出ASN1编码加密密钥字节。ASN1编码的定义是在rfc4120如下:
encryptionkey::=序列{值[ 0 ] Int32 --其实加密类型,【1】字符串函数}
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
KerberosPrincipal
序列化写了principalname在德境界的编码形式在
RFC4120第5.2.2规定。
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
byte[] asn1Encoding
javax.security.auth.kerberos.KeyImpl sessionKey
KeyImpl
序列化写出ASN1编码加密密钥字节。ASN1编码的定义是在rfc4120如下:
encryptionkey::=序列{值[ 0 ] Int32 --其实加密类型,【1】字符串函数}
boolean[] flags
Date authTime
Date startTime
Date endTime
Date renewTill
KerberosPrincipal client
KerberosPrincipal server
InetAddress[] clientAddresses
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream ois) throws IOException
KeyImpl
序列化写出ASN1编码加密密钥字节。ASN1编码的定义是在rfc4120如下:encryptionkey::=序列{值[ 0 ] Int32 --其实加密类型———keyValue [ 1 ]字符串}
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
String actions
private void readObject(ObjectInputStream s) throws IOException, NotActiveException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
X500Principal
序列化写了DER编码的形式(对
getEncoded
值序列化)。
IOException
Throwable _exception
SQLException ex
SQLException
,司机会扔到应用程序发生错误时,将连接不再可用。
SQLException exception
PreparedStatement statement
InputStream binaryStream
InputStream
对象将由法
getBinaryStream
回来了,这是在
ResultSet
指定界面。
InputStream unicodeStream
InputStream
对象将由法
getUnicodeStream
回来了,这是在
ResultSet
指定界面。
InputStream asciiStream
InputStream
对象将由法
getAsciiStream
回来了,这是在
ResultSet
指定界面。
Reader charStream
Reader
对象将由法
getCharacterStream
回来了,这是在
ResultSet
指定界面。
String command
execute
叫做。
String URL
DriverManager.getConnection
当
DriverManager
是用来得到一个连接。
JDBC URL标识的驱动程序是用来做conndection。此网址可以在由驱动程序供应商提供的文档中找到。
String dataSource
DataSource
对象的数据源的逻辑名称(JNDI)命名服务。
int rowSetType
RowSet
对象类型。它必须是下列
ResultSet
常数:
TYPE_FORWARD_ONLY
,
TYPE_SCROLL_INSENSITIVE
,或
TYPE_SCROLL_SENSITIVE
。
boolean showDeleted
boolean
指示是否已删除的行在这
RowSet
JDBC对象可见。
int queryTimeout
RowSet
对象连接到数据源,即,当它填充本身的数据,而数据是写回数据源。
int maxRows
int maxFieldSize
int concurrency
RowSet
对象并发。它必须是下列之一:
CONCUR_READ_ONLY
或
CONCUR_UPDATABLE
ResultSet
常数。
boolean readOnly
boolean
指示该JDBC
RowSet
对象是只读的。
true
表明它是只读的;它是可写的
false
。
boolean escapeProcessing
boolean
指示是否该JDBC
RowSet
目标读者应该执行逃避处理。
true
意味着逃避处理打开;
false
不是。默认的是
true
。
int isolation
RowSet
对象连接的隔离级别。它必须是下列
Connection
常数:
TRANSACTION_NONE
,
TRANSACTION_READ_UNCOMMITTED
,
TRANSACTION_READ_COMMITTED
,
TRANSACTION_REPEATABLE_READ
或
TRANSACTION_SERIALIZABLE
。
int fetchDir
RowSet
JDBC对象数据是牵强。以下
ResultSet
常数可能的值:
FETCH_FORWARD
,
FETCH_REVERSE
,
FETCH_UNKNOWN
。
在这个时候不使用。
int fetchSize
RowSet
JDBC对象需要的行数。
在这个时候不使用。
Map<K,V> map
java.util.Map
对象。
Vector<E> listeners
Vector
存放对象,这
RowSet
对象注册侦听器列表。
Hashtable<K,V> params
Vector
对象保存为这个
RowSet
对象的当前命令的参数。
int colCount
RowSetMetaDataImpl
RowSet
列数。
javax.sql.rowset.RowSetMetaDataImpl.ColInfo[] colInfo
ColInfo
用来存储信息中的每一列
RowSet
对象,这
RowSetMetaDataImpl
对象创建对象数组。此数组中的第一
ColInfo
对象包含有关对象的
RowSet
第一列的信息,第二元素包含了关于二列信息,等等。
RowSetWarning rwarning
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
SerialArray
状态。
private void writeObject(ObjectOutputStream s) throws IOException, ClassNotFoundException
SerialArray
国家流。
Object[] elements
ARRAY
值代表一个元素的
Object
。
int baseType
SerialArray
对象的SQL类型的元素。类型表示为一个从类的
java.sql.Types
常数。
String baseTypeName
ARRAY
价值要素,这
SerialArray
对象代表数据库使用的类型名称。
int len
SerialArray
对象元素的数量,这也是在SQL
ARRAY
价值元素,这
SerialArray
对象代表的数量。
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException, ClassNotFoundException
byte[] buf
SerialBlob
对象的值。
Blob blob
Blob
对象,这
SerialBlob
对象的基础。
long len
SerialBlob
字节对象的数组的字节数。
long origLen
SerialBlob
对象的数组时,它是第一个建立。
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException, ClassNotFoundException
char[] buf
CLOB
值的数据,这
SerialClob
对象代表。
Clob clob
long len
SerialClob
字符对象的内部字符数组的长度。
long origLen
SerialClob
字符对象的内部字符数组的原始长度。
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
SerialJavaObject
状态。
private void writeObject(ObjectOutputStream s) throws IOException
SerialJavaObject
国家流。
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
SerialStruct
状态。
private void writeObject(ObjectOutputStream s) throws IOException, ClassNotFoundException
SerialStruct
国家流。
SyncResolver syncResolver
javax.sql.rowset.spi.SyncResolver
这
SyncProviderException
对象将返回时,其
getSyncResolver
方法称为。
int errorCode
Throwable cause
null
如果这个例外是没有引起另一个Throwable或者致使throwable是未知的。
Throwable cause
Throwable cause
Throwable cause
URIReference uriReference
Throwable cause
Throwable cause
异常 exception
异常
表示错误。
Throwable cause
异常 nested
SourceLocator locator
Throwable containedException
异常 exception
TransformerFactoryConfigurationError
异常
。
Object value
int statusCode
SOAPFault fault
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
-被
ObjectInputStream
ClassNotFoundException
-被
ObjectInputStream
private void writeObject(ObjectOutputStream out) throws IOException
IOException
-被
ObjectOutputStream
private void readObject(ObjectInputStream s) throws IOException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
NameComponent[] binding_name
BindingType binding_type
int __value
short code
short code
short code
异常 exception
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.