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