worldimageformat.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 524 行 · 第 1/2 页
HTML
524 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:36 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>WorldImageFormat (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.gce.image.WorldImageFormat class"><META NAME="keywords" CONTENT="FORMAT"><META NAME="keywords" CONTENT="getReader()"><META NAME="keywords" CONTENT="getWriter()"><META NAME="keywords" CONTENT="accepts()"><META NAME="keywords" CONTENT="getWorldExtension()"><META NAME="keywords" CONTENT="getDefaultImageIOWriteParameters()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="WorldImageFormat (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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/WorldImageFormat.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"> PREV CLASS <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> <A HREF="WorldImageFormat.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: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.gce.image</FONT><BR>Class WorldImageFormat</H2><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>WorldImageFormat</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>Format</DD></DL><HR><DL><DT>public final class <B>WorldImageFormat</B><DT>extends <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A><DT>implements Format</DL><P>A Format to allow discovery of Readers/Writers for raster images that support world files containing information about the image. Supports .gif+.gfw, .jpg/.jpeg+.jgw, .tif/.tiff+.tfw and .png+.pgw. .wld may be used in place of the format specific extension (.jpg+.wld, etc) Designed to be used with GridCoverageExchange.<P><P><DL><DT><B>Author:</B></DT> <DD>Simone Giannecchini</DD><DT><B>Module:</B></DT><DD><CODE><B>plugin/image</B></CODE> (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-image/"><CODE>gt2-image.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/image/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/branches/2.3.x/plugin/image/src/org/geotools/gce/image/WorldImageFormat.java">SVN head</A>)</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static ParameterDescriptor</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/image/WorldImageFormat.html#FORMAT">FORMAT</A></B></CODE><BR> Format writing parameter. </TD></TR></TABLE> <A NAME="fields_inherited_from_class_AbstractGridFormat"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#GEOTOOLS_WRITE_PARAMS">GEOTOOLS_WRITE_PARAMS</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#mInfo">mInfo</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#READ_GRIDGEOMETRY2D">READ_GRIDGEOMETRY2D</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#readParameters">readParameters</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#writeParameters">writeParameters</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/geotools/gce/image/WorldImageFormat.html#WorldImageFormat()">WorldImageFormat</A></B>()</CODE><BR> WorldImageFormat</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/image/WorldImageFormat.html#accepts(java.lang.Object)">accepts</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)</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/image/imageio/GeoToolsWriteParams.html" title="class in org.geotools.image.imageio">GeoToolsWriteParams</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/image/WorldImageFormat.html#getDefaultImageIOWriteParameters()">getDefaultImageIOWriteParameters</A></B>()</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> GridCoverageReader</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/image/WorldImageFormat.html#getReader(java.lang.Object)">getReader</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> source)</CODE><BR> 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. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> GridCoverageReader</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/image/WorldImageFormat.html#getReader(java.lang.Object, org.geotools.factory.Hints)">getReader</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> source, <A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A> hints)</CODE><BR> 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. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/image/WorldImageFormat.html#getWorldExtension(java.lang.String)">getWorldExtension</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> fileExtension)</CODE><BR> Takes an image file extension (such as .gif, including the '.') and returns it's corresponding world file extension (such as .gfw).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> GridCoverageWriter</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/image/WorldImageFormat.html#getWriter(java.lang.Object)">getWriter</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> destination)</CODE><BR> Call the accepts() method before asking for a writer to determine if the current object is supported.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> GridCoverageWriter</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/image/WorldImageFormat.html#getWriter(java.lang.Object, org.geotools.factory.Hints)">getWriter</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> destination, <A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A> hints)</CODE><BR> Call the accepts() method before asking for a writer to determine if the current object is supported.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractGridFormat"><!-- --></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/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#equals(org.opengis.coverage.grid.Format)">equals</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getDefaultCRS()">getDefaultCRS</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getDescription()">getDescription</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getDocURL()">getDocURL</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getName()">getName</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getReadParameters()">getReadParameters</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getVendor()">getVendor</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getVersion()">getVersion</A>, <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html#getWriteParameters()">getWriteParameters</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>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?