<AHREF="../../../../../com/sun/syndication/io/impl/PluginManager.html"title="class in com.sun.syndication.io.impl"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/sun/syndication/io/impl/RSS090Generator.html"title="class in com.sun.syndication.io.impl"><B>NEXT CLASS</B></A></FONT></TD>
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../../resources/inherit.gif"ALT="extended by "><B>com.sun.syndication.io.impl.PropertiesLoader</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>PropertiesLoader</B><DT>extends <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></DL>
</PRE>
<P>
Properties loader that aggregates a master properties file and several extra properties files,
all from the current classpath.
<P>
The master properties file has to be in a distinct location than the extra properties files.
First the master properties file is loaded, then all the extra properties files in their order
of appearance in the classpath.
<P>
Current use cases (plugin manager for parsers/converters/generators for feeds and modules
and date formats) assume properties are list of tokens, that why the only method to get
<CODE>static <AHREF="../../../../../com/sun/syndication/io/impl/PropertiesLoader.html"title="class in com.sun.syndication.io.impl">PropertiesLoader</A></CODE></FONT></TD>
<CODE> <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A>[]</CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../../com/sun/syndication/io/impl/PropertiesLoader.html#getProperty(java.lang.String)">getProperty</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> key)</CODE>
<BR>
Returns an array of values stored under a property key in all properties files.</TD>
<CODE> <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A>[]</CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../../com/sun/syndication/io/impl/PropertiesLoader.html#getTokenizedProperty(java.lang.String, java.lang.String)">getTokenizedProperty</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> key,
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> separator)</CODE>
<BR>
Returns an array of tokenized values stored under a property key in all properties files.</TD>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
public static <AHREF="../../../../../com/sun/syndication/io/impl/PropertiesLoader.html"title="class in com.sun.syndication.io.impl">PropertiesLoader</A><B>getPropertiesLoader</B>()</PRE>
<DL>
<DD>Returns the PropertiesLoader singleton used by ROME to load plugin components.
public <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A>[] <B>getTokenizedProperty</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> key,
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> separator)</PRE>
<DL>
<DD>Returns an array of tokenized values stored under a property key in all properties files.
If the master file has this property its tokens will be the first ones in the array.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - property key to retrieve values<DD><CODE>separator</CODE> - String with all separator characters to tokenize from the values in all
properties files.
<DT><B>Returns:</B><DD>all the tokens for the given property key from all the properties files.</DL>
public <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A>[] <B>getProperty</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> key)</PRE>
<DL>
<DD>Returns an array of values stored under a property key in all properties files.
If the master file has this property it will be the first ones in the array.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - property key to retrieve values
<DT><B>Returns:</B><DD>all the values for the given property key from all the properties files.</DL>
<AHREF="../../../../../com/sun/syndication/io/impl/PluginManager.html"title="class in com.sun.syndication.io.impl"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/sun/syndication/io/impl/RSS090Generator.html"title="class in com.sun.syndication.io.impl"><B>NEXT CLASS</B></A></FONT></TD>