⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oracle.sql.characterwalker.html

📁 Oracle JDBC 的javaDoc
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><!--NewPage--><html><head><!-- Generated by javadoc on Thu Dec 02 03:30:11 PST 1999 --><title>  Class oracle.sql.CharacterWalker</title></head><body><a name="_top_"></a><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-oracle.sql.html">This Package</a>  <a href="oracle.sql.CharacterSet.html#_top_">Previous</a>  <a href="oracle.sql.OracleJdbc2SQLInput.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Class oracle.sql.CharacterWalker</h1><pre>java.lang.Object   |   +----oracle.sql.CharacterWalker</pre><hr><dl>  <dt> public final class <b>CharacterWalker</b>  <dt> extends Object</dl>A CharacterWalker lets you walk through the characters that are representedas a sequence of bytes in some CharacterSet.<p>A character set determines a 32 bit value for each character.The values from 0 to 64K are reserved for their Unicode interpretation.Otherwise the value has no particularsignificance.But values can be used to build up another sequencewith a CharacterBuffer.<p><dl>    <dt> <b>See Also:</b>    <dd> <a href="oracle.sql.CharacterSet.html#_top_">CharacterSet</a>, <a href="oracle.sql.CharacterBuffer.html#_top_">CharacterBuffer</a>, <a href="oracle.sql.CHAR.html#_top_">CHAR</a></dl><hr><a name="index"></a><h2>  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl>  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CharacterWalker(oracle.sql.CharacterSet, byte[], int, int)"><b>CharacterWalker</b></a>(CharacterSet, byte[], int, int)  <dd> Constructor.</dl><h2>  <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl>  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#hasMoreCharacters()"><b>hasMoreCharacters</b></a>()  <dd> Reports whether there are more bytes waiting to be converted.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#nextCharacter()"><b>nextCharacter</b></a>()  <dd> Returns the next character in the sequence and advances the CharacterWalker over it.</dl><a name="constructors"></a><h2>  <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="CharacterWalker"></a><a name="CharacterWalker(oracle.sql.CharacterSet, byte[], int, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>CharacterWalker</b><pre> public CharacterWalker(<a href="oracle.sql.CharacterSet.html#_top_">CharacterSet</a> charSet,                        byte bytes[],                        int offset,                        int count)</pre><dl>  <dd> Constructor.<p>  <dd><dl>    <dt> <b>Parameters:</b>    <dd> charSet - the CharacterSet to be used in interpreting the bytes.    <dd> bytes - the byte array containing the data to be interpreted.    <dd> index - the index in bytes of the first byte to be interpreted.    <dd> count - the number of bytes to be interpreted.  </dl></dd></dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="nextCharacter()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="nextCharacter"><b>nextCharacter</b></a><pre> public int nextCharacter() throws NoSuchElementException</pre><dl>  <dd> Returns the next character in the sequence and advances the CharacterWalker over it.<p>  <dd><dl>    <dt> <b>Returns:</b>    <dd> the 32 bit representation of the next character    <dt> <b>Throws:</b> NoSuchElementException    <dd> if the walker has already returnedthe last character or the sequence is ill-formed. That is, thenext bytes are somehow not allowed in the given representation  </dl></dd></dl><a name="hasMoreCharacters()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="hasMoreCharacters"><b>hasMoreCharacters</b></a><pre> public boolean hasMoreCharacters()</pre><dl>  <dd> Reports whether there are more bytes waiting to be converted.Note that even if hasMoreCharacters returns true, it's possible fornextCharacter to throw an exception because the bytes aren't well-formed.<p></dl><hr><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-oracle.sql.html">This Package</a>  <a href="oracle.sql.CharacterSet.html#_top_">Previous</a>  <a href="oracle.sql.OracleJdbc2SQLInput.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -