datastoreservice.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 569 行 · 第 1/3 页
HTML
569 行
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>Supports the required Service resolves with an additional resolve to <A HREF="../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data"><CODE>DataStore</CODE></A>. <p> Subclasses may wish to extend this method. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>adaptee</CODE> - <DD><CODE>monitor</CODE> - <DT><B>Returns:</B><DD>instance of adaptee, or null if unavailable (IServiceInfo and List<IGeoResource> must be supported)<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/catalog/ServiceInfo.html" title="interface in org.geotools.catalog"><CODE>ServiceInfo</CODE></A>, <A HREF="../../../org/geotools/catalog/GeoResource.html" title="interface in org.geotools.catalog"><CODE>GeoResource</CODE></A>, <CODE>IResolve#resolve(Class, ProgressListener)</CODE></DL></DD></DL><HR><A NAME="members(org.geotools.util.ProgressListener)"><!-- --></A><H3>members</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>members</B>(<A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A> monitor) 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/catalog/Service.html" title="interface in org.geotools.catalog">Service</A></CODE></B></DD><DD>Return list of IGeoResources managed by this service. This method must return the same result as the following: <pre> <code> (List)resolve(List.class,monitor); </code> </pre> <p> Many file based serivces will just contain a single IGeoResource. </p><P><DD><DL><DT><B>Returns:</B><DD>A list of type GeoResource.<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="getInfo(org.geotools.util.ProgressListener)"><!-- --></A><H3>getInfo</H3><PRE>public <A HREF="../../../org/geotools/catalog/ServiceInfo.html" title="interface in org.geotools.catalog">ServiceInfo</A> <B>getInfo</B>(<A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A> monitor) 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>Returns:</B><DD>IServiceInfo resolve(IServiceInfo.class,ProgressListener monitor);<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>IService#resolve(Class, ProgressListener)</CODE></DL></DD></DL><HR><A NAME="dataStore(org.geotools.util.ProgressListener)"><!-- --></A><H3>dataStore</H3><PRE>protected <A HREF="../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A> <B>dataStore</B>(<A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A> monitor)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="createMetaData(org.geotools.data.DataStore, org.geotools.util.ProgressListener)"><!-- --></A><H3>createMetaData</H3><PRE>protected <A HREF="../../../org/geotools/catalog/ServiceInfo.html" title="interface in org.geotools.catalog">ServiceInfo</A> <B>createMetaData</B>(<A HREF="../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A> dataStore, <A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A> monitor)</PRE><DL><DD>Creates the service metadata. <p> Sublcasses should override to supply custom metadata specific to a particular DataStore. This default implementation supplies the following metadata mappings in an instance of <A HREF="../../../org/geotools/catalog/defaults/DefaultServiceInfo.html" title="class in org.geotools.catalog.defaults"><CODE>DefaultServiceInfo</CODE></A>. <ul> <li><A HREF="../../../org/geotools/data/DataStoreFactorySpi.html#getDisplayName()"><CODE>DataStoreFactorySpi.getDisplayName()</CODE></A> -> <A HREF="../../../org/geotools/catalog/ServiceInfo.html#getTitle()"><CODE>ServiceInfo.getTitle()</CODE></A> <li><A HREF="../../../org/geotools/data/DataStoreFactorySpi.html#getDescription()"><CODE>DataStoreFactorySpi.getDescription()</CODE></A> -> <A HREF="../../../org/geotools/catalog/ServiceInfo.html#getDescription()"><CODE>ServiceInfo.getDescription()</CODE></A>. </ul> </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>dataStore</CODE> - The underlying datastore.<DD><CODE>monitor</CODE> - Progress monitor for blocking calls.<DT><B>Returns:</B><DD>An instance of <A HREF="../../../org/geotools/catalog/defaults/DefaultServiceInfo.html" title="class in org.geotools.catalog.defaults"><CODE>DefaultServiceInfo</CODE></A>.</DL></DD></DL><HR><A NAME="createDataStoreFactory()"><!-- --></A><H3>createDataStoreFactory</H3><PRE>protected abstract <A HREF="../../../org/geotools/data/DataStoreFactorySpi.html" title="interface in org.geotools.data">DataStoreFactorySpi</A> <B>createDataStoreFactory</B>()</PRE><DL><DD>Creates the factory used to create the underlying datastore.<P><DD><DL><DT><B>Returns:</B><DD>THe datastore factory, never null.</DL></DD></DL><HR><A NAME="createGeoResource(java.lang.String, org.geotools.data.DataStore)"><!-- --></A><H3>createGeoResource</H3><PRE>protected abstract <A HREF="../../../org/geotools/catalog/GeoResource.html" title="interface in org.geotools.catalog">GeoResource</A> <B>createGeoResource</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> typeName, <A HREF="../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A> dataStore)</PRE><DL><DD>Creates the GeoResource handle for a specified feature type name.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - The name of the feature type.<DD><CODE>dataStore</CODE> - The datastore containing the feature type.<DT><B>Returns:</B><DD>The GeoResource handle, or null if it could not be created.</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/DataStoreService.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/catalog/AbstractService.html" title="class in org.geotools.catalog"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/catalog/FeatureSourceGeoResource.html" title="class in org.geotools.catalog"><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="DataStoreService.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="#fields_inherited_from_class_AbstractService">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: 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 + =
减小字号Ctrl + -
显示快捷键?