Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.common.osm
Class SimpleOsmPath.Tokenizer  view SimpleOsmPath.Tokenizer download SimpleOsmPath.Tokenizer.java

java.lang.Object
  extended bycom.aendvari.common.osm.SimpleOsmPath.Tokenizer
Enclosing class:
SimpleOsmPath

protected static class SimpleOsmPath.Tokenizer
extends java.lang.Object

Parses an expression for segments separated by "/" or ".".


Field Summary
protected  java.lang.String expression
          The string to parse.
protected  int position
          The current position in the string.
 
Constructor Summary
(package private) SimpleOsmPath.Tokenizer(java.lang.String setExpression)
          Creates a Tokenizer to parse the supplied string.
 
Method Summary
(package private)  java.lang.String nextToken()
          Returns the next available token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

protected int position
The current position in the string.


expression

protected java.lang.String expression
The string to parse.

Constructor Detail

SimpleOsmPath.Tokenizer

SimpleOsmPath.Tokenizer(java.lang.String setExpression)
Creates a Tokenizer to parse the supplied string.

Method Detail

nextToken

java.lang.String nextToken()
Returns the next available token.