📄 geomediadatastorefactory.html
字号:
<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="setConnectionParams(org.geotools.data.geomedia.GeoMediaConnectionParam[])"><!-- --></A><H3>setConnectionParams</H3><PRE>public void <B>setConnectionParams</B>(<A HREF="../../../../org/geotools/data/geomedia/GeoMediaConnectionParam.html" title="class in org.geotools.data.geomedia">GeoMediaConnectionParam</A>[] params)</PRE><DL><DD>DOCUMENT ME!<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>params</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="getConnectionParams()"><!-- --></A><H3>getConnectionParams</H3><PRE>public <A HREF="../../../../org/geotools/data/geomedia/GeoMediaConnectionParam.html" title="class in org.geotools.data.geomedia">GeoMediaConnectionParam</A>[] <B>getConnectionParams</B>()</PRE><DL><DD>DOCUMENT ME!<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>DOCUMENT ME!</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>Determines whether DataStore created by this factory can process the parameters. <p> Required Parameters are: </p> <ul> <li> <code>dbtype</code> - must equal "oracle" </li> <li> <code>host</code> </li> <li> <code>port</code> </li> <li> <code>user</code> </li> <li> <code>passwd</code> </li> <li> <code>instance</code> </li> </ul> <p> There are no defaults since each parameter must be explicitly defined by the user, or another DataSourceFactorySpi should be used. This behaviour is defined in the DataStoreFactorySpi contract. </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 parameter to check.<DT><B>Returns:</B><DD>True if all the required parameters are supplied.</DL></DD></DL><HR><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> 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>Construct a postgis data store using the params.<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 source. Should have dbtype equal to geomedia, as well as host, user, passwd, database, dbkey.<DT><B>Returns:</B><DD>The created DataSource, 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 insufficent 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> - DOCUMENT ME!<DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE> - Thrown if there were any problems creating or connecting the datasource.</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> 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>Oracle cannot create a new database.<P><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>Parameters:</B><DD><CODE>params</CODE> - <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> - DOCUMENT ME!<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - Cannot create new database</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><DT><B>Returns:</B><DD>A short name suitable for display in a user interface.</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</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>getDescription</B>()</PRE><DL><DD>Describe the nature of the datastore constructed by this factory.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataStoreFactorySpi.html#getDescription()">getDescription</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>A human readable description that is suitable for inclusion in a list of available datasources.</DL></DD></DL><HR><A NAME="isAvailable()"><!-- --></A><H3>isAvailable</H3><PRE>public boolean <B>isAvailable</B>()</PRE><DL><DD>Test to see if this datastore is available, if it has all the appropriate libraries to construct a datastore. This datastore just returns true for now. This method is used for gui apps, so as to not advertise data store capabilities they don't actually have.<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 is available to create DataStores.<DT><B>'TODO:'</B></DT> <DD>REVISIT: I'm just adding this method to compile, maintainer should revisit to check for any libraries that may be necessary for datastore creations. ch.</DD></DL></DD></DL><HR><A NAME="getParametersInfo()"><!-- --></A><H3>getParametersInfo</H3><PRE>public <A HREF="../../../../org/geotools/data/DataStoreFactorySpi.Param.html" title="class in org.geotools.data">DataStoreFactorySpi.Param</A>[] <B>getParametersInfo</B>()</PRE><DL><DD>Describe parameters.<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><CODE>org.geolbs.data.DataStoreFactorySpi#getParametersInfo()</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/GeoMediaDataStoreFactory.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/geomedia/GeoMediaDataStore.html" title="class in org.geotools.data.geomedia"><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="GeoMediaDataStoreFactory.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -