Class DataFile

java.lang.Object
  extended by DataFile

public class DataFile
extends java.lang.Object

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

records

private Record[] records
Some collection structure of the data Records

Constructor Detail

DataFile

public DataFile(java.lang.String sData)
Method Detail

getWordsOnly

public Record[] getWordsOnly()
Return those Records which represent single word sound files and their word data


getSoundRecords

public Record[] getSoundRecords()

print

public java.lang.String print()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Hosted by www.Geocities.ws

1