|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.marc4j.util.CharacterConverterLoader
Loads a character converter using a system property.
Method Summary | |
static Object |
createCharacterConverter(String label,
String defaultClass)
Returns a new instance for the class defined by the given system property, or default class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Object createCharacterConverter(String label, String defaultClass) throws CharacterConverterLoaderException
Returns a new instance for the class defined by the given system property, or default class.
The method will first look for a system property, then for
a properties file named marc4j.properties
. If these
options fail, an instance of the default class is returned.
label
- the label for the system propertydefaultClass
- the default class to use if the system property is null
CharacterConverterLoaderException
- is thrown if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |