net.jini.config
Class ConfigurationFile.PushbackStreamTokenizer
java.lang.Object
java.io.StreamTokenizer
net.jini.config.ConfigurationFile.PushbackStreamTokenizer
- Enclosing class:
- ConfigurationFile
private static class ConfigurationFile.PushbackStreamTokenizer
- extends StreamTokenizer
Defines a StreamTokenizer that resets sval, nval, and lineno when the
pushBack method is called.
Methods inherited from class java.io.StreamTokenizer |
commentChar, eolIsSignificant, lowerCaseMode, ordinaryChar, ordinaryChars, parseNumbers, quoteChar, resetSyntax, slashSlashComments, slashStarComments, toString, whitespaceChars, wordChars |
gotToken
private boolean gotToken
pushedBack
private boolean pushedBack
savedNval
private double savedNval
savedSval
private String savedSval
savedTtype
private int savedTtype
savedLineno
private int savedLineno
ConfigurationFile.PushbackStreamTokenizer
ConfigurationFile.PushbackStreamTokenizer(Reader reader)
nextToken
public int nextToken()
throws IOException
- Overrides:
nextToken
in class StreamTokenizer
- Throws:
IOException
pushBack
public void pushBack()
- Overrides:
pushBack
in class StreamTokenizer
lineno
public int lineno()
- Overrides:
lineno
in class StreamTokenizer
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.