📄 textmatriximagereader.html
字号:
</DL><HR><A NAME="setInput(java.lang.Object, boolean, boolean)"><!-- --></A><H3>setInput</H3><PRE>public void <B>setInput</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> input, boolean seekForwardOnly, boolean ignoreMetadata)</PRE><DL><DD>Sets the input source to use. Input may be one of the following object (in preference order): <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/File.html" title="class or interface in java.io"><CODE>File</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net"><CODE>URL</CODE></A>, <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>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Reader.html" title="class or interface in java.io"><CODE>Reader</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io"><CODE>InputStream</CODE></A> or <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/stream/ImageInputStream.html" title="class or interface in javax.imageio.stream"><CODE>ImageInputStream</CODE></A>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/image/io/TextImageReader.html#setInput(java.lang.Object, boolean, boolean)">setInput</A></CODE> in class <CODE><A HREF="../../../../org/geotools/image/io/TextImageReader.html" title="class in org.geotools.image.io">TextImageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - The input object to use for future decoding.<DD><CODE>seekForwardOnly</CODE> - If , images and metadata may only be read in ascending order from this input source.<DD><CODE>ignoreMetadata</CODE> - If , metadata may be ignored during reads.</DL></DD></DL><HR><A NAME="getWidth(int)"><!-- --></A><H3>getWidth</H3><PRE>public int <B>getWidth</B>(int 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 width in pixels of the given image within the input source.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - the index of the image to be queried.<DT><B>Returns:</B><DD>Image width.<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 width information from the input source.</DL></DD></DL><HR><A NAME="getHeight(int)"><!-- --></A><H3>getHeight</H3><PRE>public int <B>getHeight</B>(int 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 height in pixels of the given image within the input source. Calling this method may force loading of full image.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - the index of the image to be queried.<DT><B>Returns:</B><DD>Image height.<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 height information from the input source.</DL></DD></DL><HR><A NAME="read(int, javax.imageio.ImageReadParam)"><!-- --></A><H3>read</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/BufferedImage.html" title="class or interface in java.awt.image">BufferedImage</A> <B>read</B>(int imageIndex, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A> param) 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>Reads the image indexed by .<P><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - The index of the image to be retrieved.<DD><CODE>param</CODE> - Parameters used to control the reading process, or null.<DT><B>Returns:</B><DD>The desired portion of the image.<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 input operation failed.</DL></DD></DL><HR><A NAME="getExpectedRange(int, int)"><!-- --></A><H3>getExpectedRange</H3><PRE>public <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/util/Range.html" title="class or interface in javax.media.jai.util">Range</A> <B>getExpectedRange</B>(int imageIndex, int bandIndex) 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 expected range of values for a band. Calling this method may force loading of full image.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html#getExpectedRange(int, int)">getExpectedRange</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 image index.<DD><CODE>bandIndex</CODE> - The band index.<DT><B>Returns:</B><DD>The expected range of values, or if unknow.<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 data information from the input source.</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=3 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/TextMatrixImageReader.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="../../../../org/geotools/image/io/TextImageReader.Spi.html" title="class in org.geotools.image.io"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/image/io/TextMatrixImageReader.Spi.html" title="class in org.geotools.image.io"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="TextMatrixImageReader.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_ImageReader">FIELD</A> | <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 © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -