|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.minorthird.text.FancyLoader
public class FancyLoader
Configurable method of loading data objects.
| Field Summary | |
|---|---|
static java.lang.String |
DATADIR_PROP
Property defining location of raw data |
static java.lang.String |
LABELDIR_PROP
Property defining location of labels added to data |
static java.lang.String |
REPOSITORY_PROP
Property defining root of repository |
static java.lang.String |
SCRIPTDIR_PROP
Property defining location of scripts for loading data |
static java.lang.String |
SGML_MARKUP_PATTERN_PROP
When to expect sgml markup |
| Constructor Summary | |
|---|---|
FancyLoader()
|
|
| Method Summary | |
|---|---|
static java.lang.Object[] |
getPossibleTextLabelKeys()
Return an array of a possible arguments to FancyLoader.loadTextLabels() |
static java.lang.String |
getProperty(java.lang.String prop)
|
static TextLabels |
loadTextLabels(java.lang.String script)
Try to load a TextLabels object 'foo' in one of these ways. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String REPOSITORY_PROP
public static final java.lang.String DATADIR_PROP
public static final java.lang.String LABELDIR_PROP
public static final java.lang.String SCRIPTDIR_PROP
public static final java.lang.String SGML_MARKUP_PATTERN_PROP
| Constructor Detail |
|---|
public FancyLoader()
| Method Detail |
|---|
public static java.lang.Object[] getPossibleTextLabelKeys()
public static TextLabels loadTextLabels(java.lang.String script)
script - the name of the bean shell script, directory, file, ...
public static java.lang.String getProperty(java.lang.String prop)
public static void main(java.lang.String[] args)
throws bsh.EvalError,
java.io.IOException
bsh.EvalError
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||