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

📄 resource.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/jxta/ext/config/Resource.html" title="class in net.jxta.ext.config">Resource</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getResource(java.lang.String)">getResource</A></B>(java.lang.String&nbsp;key)</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;java.io.InputStream</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getResourceAsStream(java.lang.String)">getResourceAsStream</A></B>(java.lang.String&nbsp;resource)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the resourceAsStream attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.io.InputStream</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getResourceAsStream(java.lang.String, java.lang.Class)">getResourceAsStream</A></B>(java.lang.String&nbsp;resource,                    java.lang.Class&nbsp;clazz)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the resourceAsStream attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getResources(java.lang.String)">getResources</A></B>(java.lang.String&nbsp;key)</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;java.net.URI</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getURI(java.lang.String)">getURI</A></B>(java.lang.String&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the URI attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.net.URI</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getURI(java.lang.String, java.net.URI)">getURI</A></B>(java.lang.String&nbsp;key,       java.net.URI&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the URI attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getURIs(java.lang.String)">getURIs</A></B>(java.lang.String&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the URIs attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getURIs(java.lang.String, java.net.URI)">getURIs</A></B>(java.lang.String&nbsp;key,        java.net.URI&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the URIs attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.net.URL</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getURL(java.lang.String)">getURL</A></B>(java.lang.String&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the URL attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.net.URL</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getURL(java.lang.String, java.net.URL)">getURL</A></B>(java.lang.String&nbsp;key,       java.net.URL&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the URL attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getURLs(java.lang.String)">getURLs</A></B>(java.lang.String&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the URLs attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#getURLs(java.lang.String, java.net.URL)">getURLs</A></B>(java.lang.String&nbsp;key,        java.net.URL&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the URLs attribute of the Resource object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#load(java.io.File)">load</A></B>(java.io.File&nbsp;resource)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#load(java.io.InputStream)">load</A></B>(java.io.InputStream&nbsp;is)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#load(java.lang.String)">load</A></B>(java.lang.String&nbsp;resource)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#load(java.lang.String, java.lang.Class)">load</A></B>(java.lang.String&nbsp;resource,     java.lang.Class&nbsp;clazz)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#load(java.net.URL)">load</A></B>(java.net.URL&nbsp;resource)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#set(java.lang.String)">set</A></B>(java.lang.String&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#set(java.lang.String, java.lang.String)">set</A></B>(java.lang.String&nbsp;key,    java.lang.String&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.net.URL</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#toURL(java.io.File)">toURL</A></B>(java.io.File&nbsp;f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.net.URL</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#toURL(java.lang.String)">toURL</A></B>(java.lang.String&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Description of the Method</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><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, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="Resource()"><!-- --></A><H3>Resource</H3><PRE>public <B>Resource</B>()</PRE><DL><DD>Constructor for the Resource object<P></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="toURL(java.lang.String)"><!-- --></A><H3>toURL</H3><PRE>public static java.net.URL <B>toURL</B>(java.lang.String&nbsp;s)                          throws <A HREF="../../../../net/jxta/ext/config/ConversionException.html" title="class in net.jxta.ext.config">ConversionException</A></PRE><DL><DD>Description of the Method<P><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - Description of the Parameter<DT><B>Returns:</B><DD>Description of the Return Value<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ConversionException.html" title="class in net.jxta.ext.config">ConversionException</A></CODE> - Description of the Exception</DL></DD></DL><HR><A NAME="toURL(java.io.File)"><!-- --></A><H3>toURL</H3><PRE>public static java.net.URL <B>toURL</B>(java.io.File&nbsp;f)                          throws <A HREF="../../../../net/jxta/ext/config/ConversionException.html" title="class in net.jxta.ext.config">ConversionException</A></PRE><DL><DD>Description of the Method<P><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - Description of the Parameter<DT><B>Returns:</B><DD>Description of the Return Value<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ConversionException.html" title="class in net.jxta.ext.config">ConversionException</A></CODE> - Description of the Exception</DL></DD></DL><HR><A NAME="load(java.net.URL)"><!-- --></A><H3>load</H3><PRE>public void <B>load</B>(java.net.URL&nbsp;resource)          throws <A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A></PRE><DL><DD>Description of the Method<P><DD><DL><DT><B>Parameters:</B><DD><CODE>resource</CODE> - Description of the Parameter<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A></CODE> - Description of the Exception</DL></DD></DL><HR><A NAME="load(java.lang.String)"><!-- --></A><H3>load</H3><PRE>public void <B>load</B>(java.lang.String&nbsp;resource)          throws <A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A></PRE><DL><DD>Description of the Method<P><DD><DL><DT><B>Parameters:</B><DD><CODE>resource</CODE> - Description of the Parameter<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A></CODE> - Description of the Exception</DL></DD></DL><HR><A NAME="load(java.io.File)"><!-- --></A><H3>load</H3><PRE>public void <B>load</B>(java.io.File&nbsp;resource)          throws <A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A>,                 java.net.MalformedURLException</PRE><DL><DD>Description of the Method<P><DD><DL><DT><B>Parameters:</B><DD><CODE>resource</CODE> - Description of the Parameter<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A></CODE> - Description of the Exception<DD><CODE>java.net.MalformedURLException</CODE> - Description of the Exception</DL></DD></DL><HR><A NAME="load(java.lang.String, java.lang.Class)"><!-- --></A><H3>load</H3><PRE>public void <B>load</B>(java.lang.String&nbsp;resource,                 java.lang.Class&nbsp;clazz)          throws <A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A></PRE><DL><DD>Description of the Method<P><DD><DL><DT><B>Parameters:</B><DD><CODE>resource</CODE> - Description of the Parameter<DD><CODE>clazz</CODE> - Description of the Parameter<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A></CODE> - Description of the Exception</DL></DD></DL><HR><A NAME="load(java.io.InputStream)"><!-- --></A><H3>load</H3><PRE>public void <B>load</B>(java.io.InputStream&nbsp;is)          throws <A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A></PRE><DL><DD>Description of the Method<P><DD><DL><DT><B>Parameters:</B><DD><CODE>is</CODE> - Description of the Parameter<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ResourceNotFoundException.html" title="class in net.jxta.ext.config">ResourceNotFoundException</A></CODE> - Description of the Exception</DL></DD></DL><HR>

⌨️ 快捷键说明

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