|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.converters.ConverterUtils
public class ConverterUtils
Utility routines for the converter package.
Serializable,
Serialized Form| Constructor Summary | |
|---|---|
ConverterUtils()
|
|
| Method Summary | |
|---|---|
static void |
errms(java.io.StreamTokenizer tokenizer,
java.lang.String theMsg)
Throws error message with line number and last token read. |
static void |
getFirstToken(java.io.StreamTokenizer tokenizer)
Gets token, skipping empty lines. |
static void |
getToken(java.io.StreamTokenizer tokenizer)
Gets token. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConverterUtils()
| Method Detail |
|---|
public static void getFirstToken(java.io.StreamTokenizer tokenizer)
throws java.io.IOException
tokenizer - the stream tokenizer
java.io.IOException - if reading the next token fails
public static void getToken(java.io.StreamTokenizer tokenizer)
throws java.io.IOException
tokenizer - the stream tokenizer
java.io.IOException - if reading the next token fails
public static void errms(java.io.StreamTokenizer tokenizer,
java.lang.String theMsg)
throws java.io.IOException
theMsg - the error message to be throwntokenizer - the stream tokenizer
IOExcpetion - containing the error message
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||