java.lang.ObjectDataFile
public class DataFile
This class is a plain text data file in a simple format which contains information about language sound files. As the file is parsed it will construct Record objects. Parsing may use a BreakIterator class or a StreamTokenizer to break the
| Field Summary | |
|---|---|
private Record[] |
records
Some collection structure of the data Records |
| Constructor Summary | |
|---|---|
DataFile(java.lang.String sData)
|
|
| Method Summary | |
|---|---|
Record[] |
getSoundRecords()
|
Record[] |
getWordsOnly()
Return those Records which represent single word sound files and their word data |
static void |
main(java.lang.String[] args)
|
java.lang.String |
print()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Record[] records
| Constructor Detail |
|---|
public DataFile(java.lang.String sData)
| Method Detail |
|---|
public Record[] getWordsOnly()
public Record[] getSoundRecords()
public java.lang.String print()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception