Class JBBPTokenizer
java.lang.Object
com.igormaznitsa.jbbp.compiler.tokenizer.JBBPTokenizer
The Class implements a token parser which parses a String to binary block
parser tokens and check their format.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionJBBPTokenizer(String str) Constructor.JBBPTokenizer(String str, JBBPCustomFieldTypeProcessor customFieldTypeProcessor) Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
JBBPTokenizer
Constructor.- Parameters:
str- a string to be parsed, must not be null.
-
JBBPTokenizer
Constructor.- Parameters:
str- a string to be parsed, must not be null.customFieldTypeProcessor- custom field type processor, it can be null
-
-
Method Details
-
isGlobalReservedName
Case-sensitive check that the name is among global reserved ones.- Parameters:
name- the name to check, must not be null- Returns:
- true if the name is globally reserved one, false otherwise.
-
iterator
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove()The Operation is unsupported one.
-