org.crsh.shell.impl.command
Class Tokenizer
java.lang.Object
org.crsh.shell.impl.command.Tokenizer
class Tokenizer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s
private final CharSequence s
- .
index
private int index
- .
c
private Character c
- .
Tokenizer
public Tokenizer(CharSequence s)
throws NullPointerException
- Create a new tokenizer.
- Parameters:
s
- the sequence to tokenize
- Throws:
NullPointerException
- if the sequence is null
next
private void next()
nextToken
public Token nextToken()
parseCommand
private Token parseCommand()
throws ScriptException
- Throws:
ScriptException
Copyright © 2014 eXo Platform SAS. All Rights Reserved.