|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.util.BatchFile
Provides a set of utilities methods for manipulating batch files.
Constructor Summary | |
BatchFile()
|
Method Summary | |
static java.lang.String |
getFilename(java.lang.String batchFileLine)
Returns the file name portion of a line in a batch file. |
static java.util.List |
getLines(java.lang.String batchFile)
Returns a List of the lines in a batch file. |
static java.util.List |
getLines(java.lang.String batchFile,
int skip)
Returns a List of the lines in a batch file. |
static java.lang.String |
getReference(java.lang.String batchFileLine)
Returns the reference string portion of a line in a batch file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BatchFile()
Method Detail |
public static java.util.List getLines(java.lang.String batchFile) throws java.io.IOException
batchFile
- the batch file to read
java.io.IOException
public static java.util.List getLines(java.lang.String batchFile, int skip) throws java.io.IOException
batchFile
- the batch file to readskip
- the number of lines to skip between items
java.io.IOException
public static java.lang.String getFilename(java.lang.String batchFileLine)
public static java.lang.String getReference(java.lang.String batchFileLine)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |