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

📄 textimagereader.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TextImageReader(javax.imageio.spi.ImageReaderSpi)"><!-- --></A><H3>TextImageReader</H3><PRE>protected <B>TextImageReader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ImageReaderSpi.html" title="class or interface in javax.imageio.spi">ImageReaderSpi</A>&nbsp;provider)</PRE><DL><DD>Constructs a new image reader storing pixels as <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_FLOAT" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_FLOAT</CODE></A>.<P><DT><B>Parameters:</B><DD><CODE>provider</CODE> - The <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ImageReaderSpi.html" title="class or interface in javax.imageio.spi"><CODE>ImageReaderSpi</CODE></A> that is invoking this constructor, or                 .</DL><HR><A NAME="TextImageReader(javax.imageio.spi.ImageReaderSpi, int)"><!-- --></A><H3>TextImageReader</H3><PRE>protected <B>TextImageReader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ImageReaderSpi.html" title="class or interface in javax.imageio.spi">ImageReaderSpi</A>&nbsp;provider,                          int&nbsp;rawImageType)</PRE><DL><DD>Constructs a new image reader storing pixels in buffer of the specified type.<P><DT><B>Parameters:</B><DD><CODE>provider</CODE> - The <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ImageReaderSpi.html" title="class or interface in javax.imageio.spi"><CODE>ImageReaderSpi</CODE></A> that is invoking this constructor, or                 .<DD><CODE>rawImageType</CODE> - The buffer type. It should be a constant from        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html" title="class or interface in java.awt.image"><CODE>DataBuffer</CODE></A>. Common types are <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_INT" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_INT</CODE></A>,        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_FLOAT" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_FLOAT</CODE></A> and <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_DOUBLE" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_DOUBLE</CODE></A>.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getRawDataType(int)"><!-- --></A><H3>getRawDataType</H3><PRE>public int <B>getRawDataType</B>(int&nbsp;imageIndex)                   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>Returns the data type which most closely represents the "raw" internal data of the image. Default implementation returns the  argument provided at construction time.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html#getRawDataType(int)">getRawDataType</A></CODE> in class <CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html" title="class in org.geotools.image.io">SimpleImageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - The index of the image to be queried.<DT><B>Returns:</B><DD>The data type ( by default).<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occurs reading the format information         from the input source.</DL></DD></DL><HR><A NAME="getCharset(java.io.InputStream)"><!-- --></A><H3>getCharset</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/nio/charset/Charset.html" title="class or interface in java.nio.charset">Charset</A> <B>getCharset</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A>&nbsp;input)                   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>Returns the character set to uses for decoding the string from the input stream. The default implementation returns the character set specified to the <A HREF="../../../../org/geotools/image/io/TextImageReader.Spi.html" title="class in org.geotools.image.io"><CODE>TextImageReader.Spi</CODE></A> object given to this  constructor. Subclasses may override this method if they want to detect the character encoding in some other way.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - The input stream.<DT><B>Returns:</B><DD>The character encoding, or  for the platform default encoding.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If reading from the input stream failed.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/image/io/TextImageReader.Spi.html#charset"><CODE>TextImageReader.Spi.charset</CODE></A></DL></DD></DL><HR><A NAME="getLineFormat(int)"><!-- --></A><H3>getLineFormat</H3><PRE>public <A HREF="../../../../org/geotools/io/LineFormat.html" title="class in org.geotools.io">LineFormat</A> <B>getLineFormat</B>(int&nbsp;imageIndex)                         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>Returns the line format to use for parsing every lines in the input stream. The default implementation creates a new <A HREF="../../../../org/geotools/io/LineFormat.html" title="class in org.geotools.io"><CODE>LineFormat</CODE></A> instance using the locale specified by <A HREF="../../../../org/geotools/image/io/TextImageReader.Spi.html#locale"><CODE>TextImageReader.Spi.locale</CODE></A>. Subclasses should override this method if they want more constrol on the parser to be created.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - the index of the image to be queried.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If reading from the input stream failed.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/image/io/TextImageReader.Spi.html#locale"><CODE>TextImageReader.Spi.locale</CODE></A></DL></DD></DL><HR><A NAME="getPadValue(int)"><!-- --></A><H3>getPadValue</H3><PRE>public double <B>getPadValue</B>(int&nbsp;imageIndex)                   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>Returns the pad value for missing data, or <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html#NaN" title="class or interface in java.lang"><CODE>Double.NaN</CODE></A> if none. The pad value will applies to all columns except the one for <A HREF="../../../../org/geotools/image/io/TextRecordImageReader.html#getColumnX(int)"><CODE>x</CODE></A> and <A HREF="../../../../org/geotools/image/io/TextRecordImageReader.html#getColumnY(int)"><CODE>y</CODE></A> values, if any. <p> The default implementation returns the pad value specified to the <A HREF="../../../../org/geotools/image/io/TextImageReader.Spi.html" title="class in org.geotools.image.io"><CODE>TextImageReader.Spi</CODE></A> object given to this  constructor. Subclasses may override this method if they want to detect the pad value in some other way.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - the index of the image to be queried.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If reading from the input stream failed.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/image/io/TextImageReader.Spi.html#padValue"><CODE>TextImageReader.Spi.padValue</CODE></A></DL></DD></DL><HR><A NAME="getReader()"><!-- --></A><H3>getReader</H3><PRE>protected final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/BufferedReader.html" title="class or interface in java.io">BufferedReader</A> <B>getReader</B>()                                  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>Returns the <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReader.html#input" title="class or interface in javax.imageio"><CODE>ImageReader.input</CODE></A> as an <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/BufferedReader.html" title="class or interface in java.io"><CODE>BufferedReader</CODE></A> object, if possible. If the input is already a buffered reader, it is returned unchanged. Otherwise, this method creates a

⌨️ 快捷键说明

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