worldimageformat.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 524 行 · 第 1/2 页

HTML
524
字号
<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;<A NAME="methods_inherited_from_class_Format"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface Format</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters</CODE></TD></TR></TABLE>&nbsp;<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="FORMAT"><!-- --></A><H3>FORMAT</H3><PRE>public static final ParameterDescriptor <B>FORMAT</B></PRE><DL><DD>Format writing parameter. When writing a world image we need to provide an output format in which we want to encode the image itself. PNG is default output format.<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="WorldImageFormat()"><!-- --></A><H3>WorldImageFormat</H3><PRE>public <B>WorldImageFormat</B>()</PRE><DL><DD>WorldImageFormat<P></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="getReader(java.lang.Object)"><!-- --></A><H3>getReader</H3><PRE>public GridCoverageReader <B>getReader</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;source)</PRE><DL><DD>Retrieves a <A HREF="../../../../org/geotools/gce/image/WorldImageReader.html" title="class in org.geotools.gce.image"><CODE>WorldImageReader</CODE></A> in case the providede <code>source</code> can be accepted as a valid source for a world image. The method returns null otherwise.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getReader(java.lang.Object)">getReader</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - The source object to read a WorldImage from<DT><B>Returns:</B><DD>a new WorldImageReader for the source</DL></DD></DL><HR><A NAME="getWriter(java.lang.Object)"><!-- --></A><H3>getWriter</H3><PRE>public GridCoverageWriter <B>getWriter</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;destination)</PRE><DL><DD>Call the accepts() method before asking for a writer to determine if the current object is supported.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getWriter(java.lang.Object)">getWriter</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>destination</CODE> - the destination object to write a WorldImage to<DT><B>Returns:</B><DD>a new WorldImageWriter for the destination</DL></DD></DL><HR><A NAME="getWriter(java.lang.Object, org.geotools.factory.Hints)"><!-- --></A><H3>getWriter</H3><PRE>public GridCoverageWriter <B>getWriter</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;destination,                                    <A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A>&nbsp;hints)</PRE><DL><DD>Call the accepts() method before asking for a writer to determine if the current object is supported.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>destination</CODE> - the destination object to write a WorldImage to<DT><B>Returns:</B><DD>a new WorldImageWriter for the destination</DL></DD></DL><HR><A NAME="accepts(java.lang.Object)"><!-- --></A><H3>accepts</H3><PRE>public boolean <B>accepts</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)</PRE><DL><DD>Takes the input and determines if it is a class that we can understand and then futher checks the format of the class to make sure we can read/write to it.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#accepts(java.lang.Object)">accepts</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - The object to check for acceptance.<DT><B>Returns:</B><DD>true if the input is acceptable, false otherwise</DL></DD></DL><HR><A NAME="getWorldExtension(java.lang.String)"><!-- --></A><H3>getWorldExtension</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>getWorldExtension</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>&nbsp;fileExtension)</PRE><DL><DD>Takes an image file extension (such as .gif, including the '.') and returns it's corresponding world file extension (such as .gfw).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fileExtension</CODE> - an image file extension, including the '.'<DT><B>Returns:</B><DD>a corresponding <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util"><CODE>Set</CODE></A> of world file extensions, including         the '.'</DL></DD></DL><HR><A NAME="getReader(java.lang.Object, org.geotools.factory.Hints)"><!-- --></A><H3>getReader</H3><PRE>public GridCoverageReader <B>getReader</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;source,                                    <A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A>&nbsp;hints)</PRE><DL><DD>Retrieves a <A HREF="../../../../org/geotools/gce/image/WorldImageReader.html" title="class in org.geotools.gce.image"><CODE>WorldImageReader</CODE></A> in case the providede <code>source</code> can be accepted as a valid source for a world image. The method returns null otherwise.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getReader(java.lang.Object, org.geotools.factory.Hints)">getReader</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - The source object to read a WorldImage from<DD><CODE>hints</CODE> - <A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory"><CODE>Hints</CODE></A> to control the provided <A HREF="../../../../org/geotools/gce/image/WorldImageReader.html" title="class in org.geotools.gce.image"><CODE>WorldImageReader</CODE></A>.<DT><B>Returns:</B><DD>a new WorldImageReader for the source</DL></DD></DL><HR><A NAME="getDefaultImageIOWriteParameters()"><!-- --></A><H3>getDefaultImageIOWriteParameters</H3><PRE>public <A HREF="../../../../org/geotools/image/imageio/GeoToolsWriteParams.html" title="class in org.geotools.image.imageio">GeoToolsWriteParams</A> <B>getDefaultImageIOWriteParameters</B>()</PRE><DL><DD>Always returns null since for the moment there are no <A HREF="../../../../org/geotools/image/imageio/GeoToolsWriteParams.html" title="class in org.geotools.image.imageio"><CODE>GeoToolsWriteParams</CODE></A> availaible for this format.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getDefaultImageIOWriteParameters()">getDefaultImageIOWriteParameters</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>always null.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/WorldImageFormat.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../org/geotools/gce/image/WorldImageFormatFactory.html" title="class in org.geotools.gce.image"><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>  &nbsp;&nbsp;<A HREF="WorldImageFormat.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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