📄 serialized-form.html
字号:
<TD COLSPAN=1><FONT SIZE="+2"><B>Serialization Methods</B></FONT></TD></TR></TABLE><P><A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3>readObject</H3><PRE>private void <B>readObject</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/ObjectInputStream.html" title="class or interface in java.io">ObjectInputStream</A> s) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</A></PRE><DL><DD>readObject reads the serialized fields from the input stream and uses them to restore the permission. This method need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is sufficient to initialize the permission.<P></DL><HR><A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3>writeObject</H3><PRE>private void <B>writeObject</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/ObjectOutputStream.html" title="class or interface in java.io">ObjectOutputStream</A> s) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>writeObject is used to establish the values of the serialized fields before they are written to the output stream and need not be implemented if the values of the serialized fields are always available and up to date. The serialized fields are written to the output stream in the same form as they would be written by defaultWriteObject.<P></DL><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialization Overview</B></FONT></TD></TR></TABLE><DL><DD>The serialized fields of this permission are defined below. Whether or not the serialized fields correspond to actual (private) fields is an implementation decision.<P><DL></DL></DL><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>actions</H3><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>actions</B></PRE><DL><DD>the canonicalized actions string (as returned by getActions).</DL><P><A NAME="javax.security.jacc.EJBRoleRefPermission"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="javax/security/jacc/EJBRoleRefPermission.html" title="class in javax.security.jacc">javax.security.jacc.EJBRoleRefPermission</A> extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/Permission.html" title="class or interface in java.security">Permission</A> implements Serializable</B></FONT></TD></TR></TABLE><P><B>serialVersionUID: </B>1l<P><A NAME="serialized_methods"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialization Methods</B></FONT></TD></TR></TABLE><P><A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3>readObject</H3><PRE>private void <B>readObject</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/ObjectInputStream.html" title="class or interface in java.io">ObjectInputStream</A> s) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</A></PRE><DL><DD>readObject reads the serialized fields from the input stream and uses them to restore the permission. This method need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is sufficient to initialize the permission.<P></DL><HR><A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3>writeObject</H3><PRE>private void <B>writeObject</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/ObjectOutputStream.html" title="class or interface in java.io">ObjectOutputStream</A> s) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>writeObject is used to establish the values of the serialized fields before they are written to the output stream and need not be implemented if the values of the serialized fields are always available and up to date. The serialized fields are written to the output stream in the same form as they would be written by defaultWriteObject.<P></DL><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialization Overview</B></FONT></TD></TR></TABLE><DL><DD>The serialized fields of this permission are defined below. Whether or not the serialized fields correspond to actual (private) fields is an implementation decision.<P><DL></DL></DL><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>actions</H3><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>actions</B></PRE><DL><DD>the canonicalized actions string (as returned by getActions).</DL><P><A NAME="javax.security.jacc.PolicyContextException"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="javax/security/jacc/PolicyContextException.html" title="class in javax.security.jacc">javax.security.jacc.PolicyContextException</A> extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A> implements Serializable</B></FONT></TD></TR></TABLE><P><P><A NAME="javax.security.jacc.WebResourcePermission"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="javax/security/jacc/WebResourcePermission.html" title="class in javax.security.jacc">javax.security.jacc.WebResourcePermission</A> extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/Permission.html" title="class or interface in java.security">Permission</A> implements Serializable</B></FONT></TD></TR></TABLE><P><B>serialVersionUID: </B>1l<P><A NAME="serialized_methods"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialization Methods</B></FONT></TD></TR></TABLE><P><A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3>readObject</H3><PRE>private void <B>readObject</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/ObjectInputStream.html" title="class or interface in java.io">ObjectInputStream</A> s) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</A></PRE><DL><DD>readObject reads the serialized fields from the input stream and uses them to restore the permission. This method need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is sufficient to initialize the permission.<P></DL><HR><A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3>writeObject</H3><PRE>private void <B>writeObject</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/ObjectOutputStream.html" title="class or interface in java.io">ObjectOutputStream</A> s) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>writeObject is used to establish the values of the serialized fields before they are written to the output stream and need not be implemented if the values of the serialized fields are always available and up to date. The serialized fields are written to the output stream in the same form as they would be written by defaultWriteObject.<P></DL><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialization Overview</B></FONT></TD></TR></TABLE><DL><DD>The serialized fields of this permission are defined below. Whether or not the serialized fields correspond to actual (private) fields is an implementation decision.<P><DL></DL></DL><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>actions</H3><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>actions</B></PRE><DL><DD>the canonicalized actions string (as returned by getActions).</DL><P><A NAME="javax.security.jacc.WebRoleRefPermission"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class <A HREF="javax/security/jacc/WebRoleRefPermission.html" title="class in javax.security.jacc">javax.security.jacc.WebRoleRefPermission</A> extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/security/Permission.html" title="class or interface in java.security">Permission</A> implements Serializable</B></FONT></TD></TR></TABLE><P><B>serialVersionUID: </B>1l<P><A NAME="serialized_methods"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialization Methods</B></FONT></TD></TR></TABLE><P><A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3>readObject</H3><PRE>private void <B>readObject</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/ObjectInputStream.html" title="class or interface in java.io">ObjectInputStream</A> s) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassNotFoundException.html" title="class or interface in java.lang">ClassNotFoundException</A></PRE><DL><DD>readObject reads the serialized fields from the input stream and uses them to restore the permission. This method need not be implemented if establishing the values of the serialized fields (as is done by defaultReadObject) is sufficient to initialize the permission.<P></DL><HR><A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3>writeObject</H3><PRE>private void <B>writeObject</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/ObjectOutputStream.html" title="class or interface in java.io">ObjectOutputStream</A> s) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>writeObject is used to establish the values of the serialized fields before they are written to the output stream and need not be implemented if the values of the serialized fields are always available and up to date. The serialized fields are written to the output stream in the same form as they would be written by defaultWriteObject.<P></DL><A NAME="serializedForm"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialization Overview</B></FONT></TD></TR></TABLE><DL><DD>The serialized fields of this permission are defined below. Whether or not the serialized fields correspond to actual (private) fields is an implementation decision.<P><DL></DL></DL><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Serialized Fields</B></FONT></TD></TR></TABLE><H3>actions</H3><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>actions</B></PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -