📄 exoreferencedgridcoveragereader.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> Envelope</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#getEnvelope(int)">getEnvelope</A></B>(int index)</CODE><BR> Returns the envelope for the <CODE>GridCoverage</CODE> to be read. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> GridRange</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#getGridRange(int)">getGridRange</A></B>(int index)</CODE><BR> Returns the grid range for the <CODE>GridCoverage</CODE> to be read. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> SampleDimension[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#getSampleDimensions(int)">getSampleDimensions</A></B>(int index)</CODE><BR> Returns the sample dimensions for each band of the <CODE>GridCoverage</CODE> to be read. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#reset()">reset</A></B>()</CODE><BR> Restores the <code>AbstractGridCoverageReader</code> to its initial state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#setInput(java.lang.Object, boolean)">setInput</A></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)</CODE><BR> Sets the input source to the given object. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#setLocale(java.util.Locale)">setLocale</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A> locale)</CODE><BR> Sets the current <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html" title="class or interface in java.util"><CODE>Locale</CODE></A> of this <code>AbstractGridCoverageReader</code> to the given value. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#toImageFileName(java.lang.String)">toImageFileName</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> filename)</CODE><BR> Returns the filename for image data. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractGridCoverageReader"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html" title="class in org.geotools.coverage.io">AbstractGridCoverageReader</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getGridCoverage(int)">getGridCoverage</A>, <A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getImageReaders(java.lang.Object)">getImageReaders</A>, <A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getLocale()">getLocale</A>, <A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getName(int)">getName</A>, <A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getNumImages(boolean)">getNumImages</A></CODE></TD></TR></TABLE> <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> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="metadata"><!-- --></A><H3>metadata</H3><PRE>protected <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html" title="class in org.geotools.coverage.io">MetadataBuilder</A> <B>metadata</B></PRE><DL><DD>The object to use for parsing the meta-data.<P><DL></DL></DL><!-- ========= 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="ExoreferencedGridCoverageReader(java.lang.String, org.geotools.coverage.io.MetadataBuilder)"><!-- --></A><H3>ExoreferencedGridCoverageReader</H3><PRE>public <B>ExoreferencedGridCoverageReader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> formatName, <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html" title="class in org.geotools.coverage.io">MetadataBuilder</A> parser)</PRE><DL><DD>Construct a new <code>ExoreferencedGridCoverageReader</code> using the specified <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html" title="class in org.geotools.coverage.io"><CODE>MetadataBuilder</CODE></A>.<P><DT><B>Parameters:</B><DD><CODE>formatName</CODE> - The name for this format. This format name should be understood by <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageIO.html#getImageReadersByFormatName(java.lang.String)" title="class or interface in javax.imageio"><CODE>ImageIO.getImageReadersByFormatName(String)</CODE></A>, unless <A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getImageReaders(java.lang.Object)"><CODE>AbstractGridCoverageReader.getImageReaders(java.lang.Object)</CODE></A> is overriden.<DD><CODE>parser</CODE> - The <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html" title="class in org.geotools.coverage.io"><CODE>MetadataBuilder</CODE></A> to use for reading geographic metadata.</DL><HR><A NAME="ExoreferencedGridCoverageReader(java.lang.String, java.lang.String, org.geotools.coverage.io.MetadataBuilder)"><!-- --></A><H3>ExoreferencedGridCoverageReader</H3><PRE>public <B>ExoreferencedGridCoverageReader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> formatName, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> extension, <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html" title="class in org.geotools.coverage.io">MetadataBuilder</A> parser)</PRE><DL><DD>Construct a new <code>ExoreferencedGridCoverageReader</code> using the specified <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html" title="class in org.geotools.coverage.io"><CODE>MetadataBuilder</CODE></A>.<P><DT><B>Parameters:</B><DD><CODE>formatName</CODE> - The name for this format. This format name should be understood by <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageIO.html#getImageReadersByFormatName(java.lang.String)" title="class or interface in javax.imageio"><CODE>ImageIO.getImageReadersByFormatName(String)</CODE></A>, unless <A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getImageReaders(java.lang.Object)"><CODE>AbstractGridCoverageReader.getImageReaders(java.lang.Object)</CODE></A> is overriden.<DD><CODE>extension</CODE> - Filename's extensions for file of this format.<DD><CODE>parser</CODE> - The <A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html" title="class in org.geotools.coverage.io"><CODE>MetadataBuilder</CODE></A> to use for reading geographic metadata.</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="reset()"><!-- --></A><H3>reset</H3><PRE>public void <B>reset</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>Restores the <code>AbstractGridCoverageReader</code> to its initial state.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#reset()">reset</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html" title="class in org.geotools.coverage.io">AbstractGridCoverageReader</A></CODE></DL></DD><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 while disposing resources.</DL></DD></DL><HR><A NAME="setInput(java.lang.Object, 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) 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>Sets the input source to the given object. The input must be <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> or an <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> object. The input source must be the <em>metadata</em> file or URL. The image file or URL will be derived from the metadata filename by a call to <A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#toImageFileName(java.lang.String)"><CODE>toImageFileName(java.lang.String)</CODE></A>, which may be overriden.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#setInput(java.lang.Object, boolean)">setInput</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html" title="class in org.geotools.coverage.io">AbstractGridCoverageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - The <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> or <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> to be read.<DD><CODE>seekForwardOnly</CODE> - if <code>true</code>, grid coverages and metadata may only be read in ascending order from the input source.<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 I/O operation failed.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if input is not an instance of a classe supported by this reader.</DL></DD></DL><HR><A NAME="toImageFileName(java.lang.String)"><!-- --></A><H3>toImageFileName</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -