📄 turbineresources.html
字号:
double def)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a double, or a default value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getFloat(java.lang.String)">getFloat</A></B>(java.lang.String name)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a float.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getFloat(java.lang.String, float)">getFloat</A></B>(java.lang.String name, float def)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a float, or a default value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getInt(java.lang.String)">getInt</A></B>(java.lang.String name)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as an integer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getInt(java.lang.String, int)">getInt</A></B>(java.lang.String name, int def)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as an integer, or a default value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.util.Iterator</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getKeys()">getKeys</A></B>()</CODE><BR> Get the list of the keys contained in the configuration repository.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.util.Iterator</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getKeys(java.lang.String)">getKeys</A></B>(java.lang.String prefix)</CODE><BR> Get the list of the keys contained in the configuration repository that match the specified prefix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getLong(java.lang.String)">getLong</A></B>(java.lang.String name)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a long.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getLong(java.lang.String, long)">getLong</A></B>(java.lang.String name, long def)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a long, or a default value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../../org/apache/turbine/services/resources/ResourceService.html">ResourceService</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getResources(java.lang.String)">getResources</A></B>(java.lang.String prefix)</CODE><BR> The purpose of this method is to extract a subset of configuration resources sharing a common name prefix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static <A HREF="../../../../../org/apache/turbine/services/resources/ResourceService.html">ResourceService</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getService()">getService</A></B>()</CODE><BR> Utility method for accessing the service implementation</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getString(java.lang.String)">getString</A></B>(java.lang.String name)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getString(java.lang.String, java.lang.String)">getString</A></B>(java.lang.String name, java.lang.String def)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a string, or a default value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getStringArray(java.lang.String)">getStringArray</A></B>(java.lang.String name)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a string array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.util.Vector</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getVector(java.lang.String)">getVector</A></B>(java.lang.String name)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a vector.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.util.Vector</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#getVector(java.lang.String, java.util.Vector)">getVector</A></B>(java.lang.String name, java.util.Vector def)</CODE><BR> The purpose of this method is to get the configuration resource with the given name as a vector, or a default value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/resources/TurbineResources.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></B>(java.lang.String key, java.lang.String value)</CODE><BR> Set a property in with a key=value pair.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="MAIL_SERVER_KEY"><!-- --></A><H3>MAIL_SERVER_KEY</H3><PRE>public static final java.lang.String <B>MAIL_SERVER_KEY</B></PRE><DL></DL><HR><A NAME="MODULE_CACHE_KEY"><!-- --></A><H3>MODULE_CACHE_KEY</H3><PRE>public static final java.lang.String <B>MODULE_CACHE_KEY</B></PRE><DL></DL><HR><A NAME="MODULE_PACKAGES_KEY"><!-- --></A><H3>MODULE_PACKAGES_KEY</H3><PRE>public static final java.lang.String <B>MODULE_PACKAGES_KEY</B></PRE><DL></DL><HR><A NAME="ACTION_CACHE_SIZE_KEY"><!-- --></A><H3>ACTION_CACHE_SIZE_KEY</H3><PRE>public static final java.lang.String <B>ACTION_CACHE_SIZE_KEY</B></PRE><DL></DL><HR><A NAME="LAYOUT_CACHE_SIZE_KEY"><!-- --></A><H3>LAYOUT_CACHE_SIZE_KEY</H3><PRE>public static final java.lang.String <B>LAYOUT_CACHE_SIZE_KEY</B></PRE><DL></DL><HR><A NAME="NAVIGATION_CACHE_SIZE_KEY"><!-- --></A><H3>NAVIGATION_CACHE_SIZE_KEY</H3><PRE>public static final java.lang.String <B>NAVIGATION_CACHE_SIZE_KEY</B></PRE><DL></DL><HR><A NAME="PAGE_CACHE_SIZE_KEY"><!-- --></A><H3>PAGE_CACHE_SIZE_KEY</H3><PRE>public static final java.lang.String <B>PAGE_CACHE_SIZE_KEY</B></PRE><DL></DL><HR><A NAME="SCREEN_CACHE_SIZE_KEY"><!-- --></A><H3>SCREEN_CACHE_SIZE_KEY</H3><PRE>public static final java.lang.String <B>SCREEN_CACHE_SIZE_KEY</B></PRE><DL></DL><HR><A NAME="USER_CLASS_KEY"><!-- --></A><H3>USER_CLASS_KEY</H3><PRE>public static final java.lang.String <B>USER_CLASS_KEY</B></PRE><DL></DL><HR><A NAME="MAX_FILE_SIZE_KEY"><!-- --></A><H3>MAX_FILE_SIZE_KEY</H3><PRE>public static final java.lang.String <B>MAX_FILE_SIZE_KEY</B></PRE><DL></DL><HR><A NAME="DB_DRIVER_KEY"><!-- --></A><H3>DB_DRIVER_KEY</H3><PRE>public static final java.lang.String <B>DB_DRIVER_KEY</B></PRE><DL></DL><HR><A NAME="DB_URL_KEY"><!-- --></A><H3>DB_URL_KEY</H3><PRE>public static final java.lang.String <B>DB_URL_KEY</B></PRE><DL></DL><HR><A NAME="DB_USERNAME_KEY"><!-- --></A><H3>DB_USERNAME_KEY</H3><PRE>public static final java.lang.String <B>DB_USERNAME_KEY</B></PRE><DL></DL><HR><A NAME="DB_PASSWORD_KEY"><!-- --></A><H3>DB_PASSWORD_KEY</H3><PRE>public static final java.lang.String <B>DB_PASSWORD_KEY</B></PRE><DL></DL><HR><A NAME="DB_MAXCONNECTIONS_KEY"><!-- --></A><H3>DB_MAXCONNECTIONS_KEY</H3><PRE>public static final java.lang.String <B>DB_MAXCONNECTIONS_KEY</B></PRE><DL></DL><HR><A NAME="DB_EXPIRYTIME_KEY"><!-- --></A><H3>DB_EXPIRYTIME_KEY</H3><PRE>public static final java.lang.String <B>DB_EXPIRYTIME_KEY</B></PRE><DL></DL><HR><A NAME="FILE_SERVER"><!-- --></A><H3>FILE_SERVER</H3><PRE>public static final java.lang.String <B>FILE_SERVER</B></PRE><DL></DL><HR><A NAME="LOGIN_MESSAGE"><!-- --></A><H3>LOGIN_MESSAGE</H3><PRE>public static final java.lang.String <B>LOGIN_MESSAGE</B></PRE><DL></DL><HR><A NAME="LOGIN_ERROR"><!-- --></A><H3>LOGIN_ERROR</H3><PRE>public static final java.lang.String <B>LOGIN_ERROR</B></PRE><DL></DL><HR><A NAME="LOGIN_MESSAGE_NOSCREEN"><!-- --></A><H3>LOGIN_MESSAGE_NOSCREEN</H3><PRE>public static final java.lang.String <B>LOGIN_MESSAGE_NOSCREEN</B></PRE><DL></DL><HR><A NAME="LOGOUT_MESSAGE"><!-- --></A><H3>LOGOUT_MESSAGE</H3><PRE>public static final java.lang.String <B>LOGOUT_MESSAGE</B></PRE><DL></DL><HR><A NAME="DB_IDBROKER_CLEVERQUANTITY"><!-- --></A><H3>DB_IDBROKER_CLEVERQUANTITY</H3><PRE>public static final java.lang.String <B>DB_IDBROKER_CLEVERQUANTITY</B></PRE><DL></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -