📄 gmldatastorefactory.html
字号:
<li> getShortDescription(): Gets the short description of this feature. </li> </ul> <p> This should be the same as: </p> <pre><code> Object params = factory.getParameters(); BeanInfo info = getBeanInfo( params ); return info.getPropertyDescriptors(); <code></pre><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#getParametersInfo()">getParametersInfo</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html" title="interface in org.geotools.data">DataStoreFactorySpi</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Param array describing the Map for createDataStore<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#getParametersInfo()"><CODE>DataStoreFactorySpi.getParametersInfo()</CODE></A></DL></DD></DL><HR><A NAME="canProcess(java.util.Map)"><!-- --></A><H3>canProcess</H3><PRE>public boolean <B>canProcess</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> params)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html" title="interface in org.geotools.data">DataStoreFactorySpi</A></CODE></B></DD><DD>Test to see if this factory is suitable for processing the data pointed to by the params map. <p> If this datasource requires a number of parameters then this mehtod should check that they are all present and that they are all valid. If the datasource is a file reading data source then the extentions or mime types of any files specified should be checked. For example, a Shapefile datasource should check that the url param ends with shp, such tests should be case insensative. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#canProcess(java.util.Map)">canProcess</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html" title="interface in org.geotools.data">DataStoreFactorySpi</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>params</CODE> - The full set of information needed to construct a live data source.<DT><B>Returns:</B><DD>booean true if and only if this factory can process the resource indicated by the param set and all the required params are pressent.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#canProcess(java.util.Map)"><CODE>DataStoreFactorySpi.canProcess(java.util.Map)</CODE></A></DL></DD></DL><HR><A NAME="isAvailable()"><!-- --></A><H3>isAvailable</H3><PRE>public boolean <B>isAvailable</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html" title="interface in org.geotools.data">DataStoreFactorySpi</A></CODE></B></DD><DD>Test to see if this datastore is available, if it has all the appropriate libraries to construct a datastore. Most datastores should return true, because geotools will distribute the appropriate libraries. Though it's not a bad idea for DataStoreFactories to check to make sure that the libraries are there. OracleDataStoreFactory is an example of one that may generally return false, since geotools can not distribute the oracle jars, they must be added by the client. One may ask how this is different than canProcess, and basically available is used by the DataStoreFinder getAvailableDataStore method, so that DataStores that can not even be used do not show up as options in gui applications.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#isAvailable()">isAvailable</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html" title="interface in org.geotools.data">DataStoreFactorySpi</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD><tt>true</tt> if and only if this factory has all the appropriate jars on the classpath to create DataStores.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#isAvailable()"><CODE>DataStoreFactorySpi.isAvailable()</CODE></A></DL></DD></DL><HR><A NAME="getFileExtensions()"><!-- --></A><H3>getFileExtensions</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>getFileExtensions</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html" title="interface in org.geotools.data">FileDataStoreFactorySpi</A></CODE></B></DD><DD>DOCUMENT ME!<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html#getFileExtensions()">getFileExtensions</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html" title="interface in org.geotools.data">FileDataStoreFactorySpi</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>An ordered list of file extensions which can be read by this dataStore.<DT><B>See Also:</B><DD><CODE>org.geotools.data.dir.FileDataStoreFactorySpi#getFileExtensions()</CODE></DL></DD></DL><HR><A NAME="canProcess(java.net.URL)"><!-- --></A><H3>canProcess</H3><PRE>public boolean <B>canProcess</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> f)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html" title="interface in org.geotools.data">FileDataStoreFactorySpi</A></CODE></B></DD><DD>DOCUMENT ME!<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html#canProcess(java.net.URL)">canProcess</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html" title="interface in org.geotools.data">FileDataStoreFactorySpi</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - URL a url to a real file (may not be local)<DT><B>Returns:</B><DD>True when this dataStore can resolve and read the data specified by the URL.<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><DT><B>See Also:</B><DD><CODE>org.geotools.data.dir.FileDataStoreFactorySpi#canProcess(java.net.URL)</CODE></DL></DD></DL><HR><A NAME="testURL(java.net.URL)"><!-- --></A><H3>testURL</H3><PRE>public boolean <B>testURL</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> f) 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><DL></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></DL></DD></DL><HR><A NAME="createDataStore(java.net.URL)"><!-- --></A><H3>createDataStore</H3><PRE>public <A HREF="../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A> <B>createDataStore</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> url) 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><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html" title="interface in org.geotools.data">FileDataStoreFactorySpi</A></CODE></B></DD><DD>DOCUMENT ME!<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html#createDataStore(java.net.URL)">createDataStore</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html" title="interface in org.geotools.data">FileDataStoreFactorySpi</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>url</CODE> - A URL to the data location for the single featureType of this DataStore<DT><B>Returns:</B><DD>Returns an AbstractFileDataStore created from the data source provided.<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><DT><B>See Also:</B><DD><CODE>org.geotools.data.dir.FileDataStoreFactorySpi#createDataStore(java.net.URL)</CODE></DL></DD></DL><HR><A NAME="getTypeName(java.net.URL)"><!-- --></A><H3>getTypeName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getTypeName</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> url) 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><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html" title="interface in org.geotools.data">FileDataStoreFactorySpi</A></CODE></B></DD><DD>DOCUMENT ME!<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html#getTypeName(java.net.URL)">getTypeName</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FileDataStoreFactorySpi.html" title="interface in org.geotools.data">FileDataStoreFactorySpi</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>url</CODE> - The location of the datum to parse into features<DT><B>Returns:</B><DD>Returns the typename of the datum specified (on occasion this may involve starting the parse as well to get the FeatureType -- may not be instantanious).<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><DT><B>See Also:</B><DD><CODE>org.geotools.data.dir.FileDataStoreFactorySpi#getTypeName(java.net.URL)</CODE></DL></DD></DL><HR><A NAME="getImplementationHints()"><!-- --></A><H3>getImplementationHints</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>getImplementationHints</B>()</PRE><DL><DD>Returns the implementation hints. The default implementation returns en empty map.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/factory/Factory.html#getImplementationHints()">getImplementationHints</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/factory/Factory.html" title="interface in org.geotools.factory">Factory</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The map of hints, or an <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collections.html#EMPTY_MAP" title="class or interface in java.util">empty map</A> if none.</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/GMLDataStoreFactory.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/data/gml/GMLDataStore.html" title="class in org.geotools.data.gml"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="GMLDataStoreFactory.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_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 + -