|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.text.LabeledDirectory
public class LabeledDirectory
Nested Class Summary | |
---|---|
class |
LabeledDirectory.MyCLP
A CommandLineProcessor for LabeledDirectory. |
Constructor Summary | |
---|---|
LabeledDirectory()
|
|
LabeledDirectory(java.io.File dir)
|
|
LabeledDirectory(java.lang.String s)
|
Method Summary | |
---|---|
CommandLineProcessor |
getCLP()
Return a CommandLineProcessor that be used to configure a LabeledDirectory |
MonotonicTextLabels |
getTextLabels(java.io.File f)
Get the TextLabels which annotates this file. |
static void |
main(java.lang.String[] args)
A simple main program that allows you to add annotations to a directory of text files. |
void |
reLabelText()
Re-label the text files in the directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabeledDirectory()
public LabeledDirectory(java.lang.String s)
public LabeledDirectory(java.io.File dir)
Method Detail |
---|
public CommandLineProcessor getCLP()
getCLP
in interface CommandLineProcessor.Configurable
public MonotonicTextLabels getTextLabels(java.io.File f) throws java.io.IOException
java.io.IOException
public void reLabelText() throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |