📄 resource.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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 key)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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 resource)</CODE><BR> 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> 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 resource, java.lang.Class clazz)</CODE><BR> 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> 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 key)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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 key)</CODE><BR> 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> 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 key, java.net.URI d)</CODE><BR> 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> 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 key)</CODE><BR> 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> 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 key, java.net.URI d)</CODE><BR> 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> 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 key)</CODE><BR> 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> 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 key, java.net.URL d)</CODE><BR> 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> 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 key)</CODE><BR> 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> 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 key, java.net.URL d)</CODE><BR> 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> 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 resource)</CODE><BR> Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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 is)</CODE><BR> Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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 resource)</CODE><BR> Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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 resource, java.lang.Class clazz)</CODE><BR> Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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 resource)</CODE><BR> Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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 key)</CODE><BR> Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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 key, java.lang.String value)</CODE><BR> Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Resource.html#toString()">toString</A></B>()</CODE><BR> Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static 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 f)</CODE><BR> Description of the Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static 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 s)</CODE><BR> Description of the Method</TD></TR></TABLE> <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> <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 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 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 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 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 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 resource, java.lang.Class 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 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 + -