📄 xmlreaderexception.html
字号:
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="XmlReaderException(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.io.InputStream)"><!-- --></A><H3>XmlReaderException</H3><PRE>public <B>XmlReaderException</B>(java.lang.String msg, java.lang.String bomEnc, java.lang.String xmlGuessEnc, java.lang.String xmlEnc, java.io.InputStream is)</PRE><DL><DD>Creates an exception instance if the charset encoding could not be determined. <p> Instances of this exception are thrown by the XmlReader. <p><P><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - message describing the reason for the exception.<DD><CODE>bomEnc</CODE> - BOM encoding.<DD><CODE>xmlGuessEnc</CODE> - XML guess encoding.<DD><CODE>xmlEnc</CODE> - XML prolog encoding.<DD><CODE>is</CODE> - the unconsumed InputStream.</DL></DL><HR><A NAME="XmlReaderException(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.io.InputStream)"><!-- --></A><H3>XmlReaderException</H3><PRE>public <B>XmlReaderException</B>(java.lang.String msg, java.lang.String ctMime, java.lang.String ctEnc, java.lang.String bomEnc, java.lang.String xmlGuessEnc, java.lang.String xmlEnc, java.io.InputStream is)</PRE><DL><DD>Creates an exception instance if the charset encoding could not be determined. <p> Instances of this exception are thrown by the XmlReader. <p><P><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - message describing the reason for the exception.<DD><CODE>ctMime</CODE> - MIME type in the content-type.<DD><CODE>ctEnc</CODE> - encoding in the content-type.<DD><CODE>bomEnc</CODE> - BOM encoding.<DD><CODE>xmlGuessEnc</CODE> - XML guess encoding.<DD><CODE>xmlEnc</CODE> - XML prolog encoding.<DD><CODE>is</CODE> - the unconsumed InputStream.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getBomEncoding()"><!-- --></A><H3>getBomEncoding</H3><PRE>public java.lang.String <B>getBomEncoding</B>()</PRE><DL><DD>Returns the BOM encoding found in the InputStream. <p><P><DD><DL><DT><B>Returns:</B><DD>the BOM encoding, null if none.</DL></DD></DL><HR><A NAME="getXmlGuessEncoding()"><!-- --></A><H3>getXmlGuessEncoding</H3><PRE>public java.lang.String <B>getXmlGuessEncoding</B>()</PRE><DL><DD>Returns the encoding guess based on the first bytes of the InputStream. <p><P><DD><DL><DT><B>Returns:</B><DD>the encoding guess, null if it couldn't be guessed.</DL></DD></DL><HR><A NAME="getXmlEncoding()"><!-- --></A><H3>getXmlEncoding</H3><PRE>public java.lang.String <B>getXmlEncoding</B>()</PRE><DL><DD>Returns the encoding found in the XML prolog of the InputStream. <p><P><DD><DL><DT><B>Returns:</B><DD>the encoding of the XML prolog, null if none.</DL></DD></DL><HR><A NAME="getContentTypeMime()"><!-- --></A><H3>getContentTypeMime</H3><PRE>public java.lang.String <B>getContentTypeMime</B>()</PRE><DL><DD>Returns the MIME type in the content-type used to attempt determining the encoding. <p><P><DD><DL><DT><B>Returns:</B><DD>the MIME type in the content-type, null if there was not content-type or the encoding detection did not involve HTTP.</DL></DD></DL><HR><A NAME="getContentTypeEncoding()"><!-- --></A><H3>getContentTypeEncoding</H3><PRE>public java.lang.String <B>getContentTypeEncoding</B>()</PRE><DL><DD>Returns the encoding in the content-type used to attempt determining the encoding. <p><P><DD><DL><DT><B>Returns:</B><DD>the encoding in the content-type, null if there was not content-type, no encoding in it or the encoding detection did not involve HTTP.</DL></DD></DL><HR><A NAME="getInputStream()"><!-- --></A><H3>getInputStream</H3><PRE>public java.io.InputStream <B>getInputStream</B>()</PRE><DL><DD>Returns the unconsumed InputStream to allow the application to do an alternate encoding detection on the InputStream. <p><P><DD><DL><DT><B>Returns:</B><DD>the unconsumed InputStream.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlReaderException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/sun/syndication/io/XmlReader.html" title="class in com.sun.syndication.io"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/sun/syndication/io/XmlReaderException.html" target="_top"><B>FRAMES</B></A> <A HREF="XmlReaderException.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 2004-2008 Sun Microsystems. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -