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

📄 directorydatastorefactory.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/dir/DirectoryDataStoreFactory.html#createNewDataStore(java.util.Map)">createNewDataStore</A></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>&nbsp;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/data/dir/DirectoryDataStoreFactory.html#getDescription()">getDescription</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Describe the nature of the datasource constructed by this factory. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/data/dir/DirectoryDataStoreFactory.html#getDisplayName()">getDisplayName</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name suitable for display to end user. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/dir/DirectoryDataStoreFactory.html#getImplementationHints()">getImplementationHints</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the implementation hints. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/geotools/data/DataStoreFactorySpi.Param.html" title="class in org.geotools.data">DataStoreFactorySpi.Param</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/dir/DirectoryDataStoreFactory.html#getParametersInfo()">getParametersInfo</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MetaData about the required Parameters (for createDataStore). </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/dir/DirectoryDataStoreFactory.html#isAvailable()">isAvailable</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test to see if this datastore is available, if it has all the appropriate libraries to construct a datastore.  </TD></TR></TABLE>&nbsp;<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>&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="DIRECTORY"><!-- --></A><H3>DIRECTORY</H3><PRE>public static final <A HREF="../../../../org/geotools/data/DataStoreFactorySpi.Param.html" title="class in org.geotools.data">DataStoreFactorySpi.Param</A> <B>DIRECTORY</B></PRE><DL><DD>The Directory parameter which should contain some files to read<P><DL></DL></DL><HR><A NAME="CREATE_SUFFIX_ORDER"><!-- --></A><H3>CREATE_SUFFIX_ORDER</H3><PRE>public static final <A HREF="../../../../org/geotools/data/DataStoreFactorySpi.Param.html" title="class in org.geotools.data">DataStoreFactorySpi.Param</A> <B>CREATE_SUFFIX_ORDER</B></PRE><DL><DD>The suffix parameter to specify the order of creation for new featureTypes<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="DirectoryDataStoreFactory()"><!-- --></A><H3>DirectoryDataStoreFactory</H3><PRE>public <B>DirectoryDataStoreFactory</B>()</PRE><DL></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="createDataStore(java.util.Map)"><!-- --></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/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;params)                          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/DataStoreFactorySpi.html" title="interface in org.geotools.data">DataStoreFactorySpi</A></CODE></B></DD><DD>Construct a live data source using the params specifed. <p> You can think of this as setting up a connection to the back end data source. </p> <p> Magic Params: the following params are magic and are honoured by convention by the GeoServer and uDig application. <ul> <li> "user": is taken to be the user name </li> <li> "passwd": is taken to be the password </li> <li> "namespace": is taken to be the namespace prefix (and will be kept in sync with GeoServer namespace management. </li> </ul> When we eventually move over to the use of OpperationalParam we will have to find someway to codify this convention. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#createDataStore(java.util.Map)">createDataStore</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 store. Typical key values for the map include: url -        location of a resource, used by file reading datasources. dbtype        - the type of the database to connect to, e.g. postgis, mysql<DT><B>Returns:</B><DD>The created DataStore, this may be null if the required resource         was not found or if insufficent parameters were given. Note         that canProcess() should have returned false if the problem is         to do with insuficent parameters.<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><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#createDataStore(java.util.Map)"><CODE>DataStoreFactorySpi.createDataStore(java.util.Map)</CODE></A></DL></DD></DL><HR><A NAME="createNewDataStore(java.util.Map)"><!-- --></A><H3>createNewDataStore</H3><PRE>public <A HREF="../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A> <B>createNewDataStore</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>&nbsp;params)                             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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#createNewDataStore(java.util.Map)">createNewDataStore</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>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><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#createNewDataStore(java.util.Map)"><CODE>DataStoreFactorySpi.createNewDataStore(java.util.Map)</CODE></A></DL></DD></DL><HR><A NAME="getDisplayName()"><!-- --></A><H3>getDisplayName</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>getDisplayName</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>Name suitable for display to end user. <p> A non localized display name for this data store type. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#getDisplayName()">getDisplayName</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>

⌨️ 快捷键说明

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