java.lang.ObjectTranscription
public class Transcription
This class represents a transcription of the contents of a language sound file. The transcription may be in any character set. A Transcription is on of the data fields of a Record of information about a language sound file. Other data fields in this Record are the set of Translations and the Cognates
| Field Summary | |
|---|---|
private java.lang.String |
characterSet
The character set in which the transcription is written |
static java.lang.String |
CODE
The text which indicates that this field is a transcription This could or should be read from a properties file by the Record or DataFile object |
static java.lang.String |
SEPARATOR
The string which separates the field name from the value. |
private java.lang.String |
transcription
A set of words representing the textual equivalent of some segment of sound |
| Constructor Summary | |
|---|---|
Transcription()
|
|
Transcription(java.lang.String sDataString)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCharacterSet()
return the character set in which the transcription is written |
java.lang.String |
getTranscription()
|
static void |
main(java.lang.String[] args)
|
void |
parseDataString(java.lang.String sDataString)
|
java.lang.String |
print()
provide a textual representation of the data contained by the Transcription object. |
java.lang.String |
toString()
over-ride the default Object class method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String transcription
private java.lang.String characterSet
public static java.lang.String CODE
public static java.lang.String SEPARATOR
| Constructor Detail |
|---|
public Transcription()
public Transcription(java.lang.String sDataString)
| Method Detail |
|---|
public void parseDataString(java.lang.String sDataString)
public java.lang.String getTranscription()
public java.lang.String getCharacterSet()
public java.lang.String print()
public java.lang.String toString()
toString in class java.lang.Object
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception