📄 datasource.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/geotools/referencing/factory/AbstractAuthorityFactory.html" title="class in org.geotools.referencing.factory">AbstractAuthorityFactory</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/factory/epsg/DataSource.html#createFactory(org.geotools.factory.Hints)">createFactory</A></B>(<A HREF="../../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A> hints)</CODE><BR> Opens a connection and creates an EPSG factory for it. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/referencing/factory/epsg/DataSource.html#getPriority()">getPriority</A></B>()</CODE><BR> Returns the priority for this data source, as a number between <A HREF="../../../../../org/geotools/referencing/factory/epsg/DataSource.html#MINIMUM_PRIORITY"><CODE>MINIMUM_PRIORITY</CODE></A> and <A HREF="../../../../../org/geotools/referencing/factory/epsg/DataSource.html#MAXIMUM_PRIORITY"><CODE>MAXIMUM_PRIORITY</CODE></A> inclusive.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_DataSource"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/sql/DataSource.html" title="class or interface in javax.sql">DataSource</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/sql/DataSource.html#getConnection()" title="class or interface in javax.sql">getConnection</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/sql/DataSource.html#getConnection(java.lang.String, java.lang.String)" title="class or interface in javax.sql">getConnection</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/sql/DataSource.html#getLoginTimeout()" title="class or interface in javax.sql">getLoginTimeout</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/sql/DataSource.html#getLogWriter()" title="class or interface in javax.sql">getLogWriter</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/sql/DataSource.html#setLoginTimeout(int)" title="class or interface in javax.sql">setLoginTimeout</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/sql/DataSource.html#setLogWriter(java.io.PrintWriter)" title="class or interface in javax.sql">setLogWriter</A></CODE></TD></TR></TABLE> <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="MINIMUM_PRIORITY"><!-- --></A><H3>MINIMUM_PRIORITY</H3><PRE>public static final int <B>MINIMUM_PRIORITY</B></PRE><DL><DD>The minimum priority for a data source, which is 1. Data sources with lowest priority will be used only if there is no other source available.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.referencing.factory.epsg.DataSource.MINIMUM_PRIORITY">Constant Field Values</A></DL></DL><HR><A NAME="NORMAL_PRIORITY"><!-- --></A><H3>NORMAL_PRIORITY</H3><PRE>public static final int <B>NORMAL_PRIORITY</B></PRE><DL><DD>The default priority, which is 50.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.referencing.factory.epsg.DataSource.NORMAL_PRIORITY">Constant Field Values</A></DL></DL><HR><A NAME="MAXIMUM_PRIORITY"><!-- --></A><H3>MAXIMUM_PRIORITY</H3><PRE>public static final int <B>MAXIMUM_PRIORITY</B></PRE><DL><DD>The maximum priority for a data source, which is 100. Data sources with highest priority will be preferred to any other data sources.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.referencing.factory.epsg.DataSource.MAXIMUM_PRIORITY">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="getPriority()"><!-- --></A><H3>getPriority</H3><PRE>public int <B>getPriority</B>()</PRE><DL><DD>Returns the priority for this data source, as a number between <A HREF="../../../../../org/geotools/referencing/factory/epsg/DataSource.html#MINIMUM_PRIORITY"><CODE>MINIMUM_PRIORITY</CODE></A> and <A HREF="../../../../../org/geotools/referencing/factory/epsg/DataSource.html#MAXIMUM_PRIORITY"><CODE>MAXIMUM_PRIORITY</CODE></A> inclusive.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="createFactory(org.geotools.factory.Hints)"><!-- --></A><H3>createFactory</H3><PRE>public <A HREF="../../../../../org/geotools/referencing/factory/AbstractAuthorityFactory.html" title="class in org.geotools.referencing.factory">AbstractAuthorityFactory</A> <B>createFactory</B>(<A HREF="../../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A> hints) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>Opens a connection and creates an EPSG factory for it. This method may returns a sub-class of <A HREF="../../../../../org/geotools/referencing/factory/epsg/FactoryUsingSQL.html" title="class in org.geotools.referencing.factory.epsg"><CODE>FactoryUsingSQL</CODE></A> if it wants to use slightly different SQL queries.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>hints</CODE> - A map of hints, including the low-level factories to use for CRS creation. This argument should be given unchanged to constructor.<DT><B>Returns:</B><DD>The <A HREF="../../../../../org/geotools/referencing/factory/epsg/FactoryUsingSQL.html" title="class in org.geotools.referencing.factory.epsg">EPSG factory</A> using SQL queries appropriate for this data source.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE> - if connection to the database failed.</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/DataSource.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 NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="DataSource.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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 + -