|
|||||||||
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(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 failspublic static void getToken(java.io.StreamTokenizer tokenizer) throws java.io.IOException
tokenizer
- the stream tokenizer
java.io.IOException
- if reading the next token failspublic 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 |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London