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

📄 simpleimagereader.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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="SimpleImageReader(javax.imageio.spi.ImageReaderSpi)"><!-- --></A><H3>SimpleImageReader</H3><PRE>protected <B>SimpleImageReader</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.<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><!-- ============ 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="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>&nbsp;input,                     boolean&nbsp;seekForwardOnly,                     boolean&nbsp;ignoreMetadata)</PRE><DL><DD>Sets the input source to use. If  is , any currently set input source will be removed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - The input object to use for future decoding.<DD><CODE>seekForwardOnly</CODE> - If true, images and metadata may only be read                        in ascending order from this input source.<DD><CODE>ignoreMetadata</CODE> - If true, metadata may be ignored during reads.</DL></DD></DL><HR><A NAME="getNumImages(boolean)"><!-- --></A><H3>getNumImages</H3><PRE>public int <B>getNumImages</B>(boolean&nbsp;allowSearch)                 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A>,                        <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 number of images available from the current input source. The default implementation returns 1.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>allowSearch</CODE> - If true, the number of images will be returned         even if a search is required.<DT><B>Returns:</B><DD>The number of images, or -1 if          is false and a search would be required.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the input source has not been set.<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 information from the input source.</DL></DD></DL><HR><A NAME="getNumBands(int)"><!-- --></A><H3>getNumBands</H3><PRE>public int <B>getNumBands</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 number of bands available for the specified image. The default implementation returns 1.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - The image index.<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 information from the input source.</DL></DD></DL><HR><A NAME="getImageMetadata(int)"><!-- --></A><H3>getImageMetadata</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/metadata/IIOMetadata.html" title="class or interface in javax.imageio.metadata">IIOMetadata</A> <B>getImageMetadata</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 metadata associated with the given image. Since many raw images can't store metadata, the default implementation returns .<P><DD><DL><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 during reading.</DL></DD></DL><HR><A NAME="getStreamMetadata()"><!-- --></A><H3>getStreamMetadata</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/metadata/IIOMetadata.html" title="class or interface in javax.imageio.metadata">IIOMetadata</A> <B>getStreamMetadata</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 metadata associated with the input source as a whole. Since many raw images can't store metadata, the default implementation returns .<P><DD><DL><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 during reading.</DL></DD></DL><HR><A NAME="getImageTypes(int)"><!-- --></A><H3>getImageTypes</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> <B>getImageTypes</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 a collection of <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageTypeSpecifier.html" title="class or interface in javax.imageio"><CODE>ImageTypeSpecifier</CODE></A> containing possible image

⌨️ 快捷键说明

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