public class SimpleStreamTokenizer extends Object
Copyright (C) 2002 Hewlett-Packard Company. This file is part of Sparta, an XML Parser, DOM, and XPath library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
public static final int TT_EOF
public static final int TT_NUMBER
public static final int TT_WORD
public int ttype
public int nval
public String sval
public SimpleStreamTokenizer(Reader reader) throws IOException
IOExceptionpublic void ordinaryChar(char ch)
public void wordChars(char from,
char to)
public int nextToken()
throws IOException
IOExceptionpublic void pushBack()
Copyright © 2013. All Rights Reserved.