com.vgrs.xcode.common
Class UnicodeTokenizer

java.lang.Object
  extended by com.vgrs.xcode.common.UnicodeTokenizer
All Implemented Interfaces:
java.lang.Iterable<int[]>

public class UnicodeTokenizer
extends java.lang.Object
implements java.lang.Iterable<int[]>

Allows tokenization of an array of integer primitives. Functionality emulates the StringTokenizer object.


Constructor Summary
UnicodeTokenizer(int[] aInput, int[] aDelimiters, boolean aReturnDelims)
          Construct a unicode tokenizer for the specified unicode.
 
Method Summary
 java.util.Iterator<int[]> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicodeTokenizer

public UnicodeTokenizer(int[] aInput,
                        int[] aDelimiters,
                        boolean aReturnDelims)
Construct a unicode tokenizer for the specified unicode.

Parameters:
aInput - a unicode to be parsed
aDelimiters - delimiters
aReturnDelims - flag to indicate if to return delimiter as token
Method Detail

iterator

public java.util.Iterator<int[]> iterator()
Specified by:
iterator in interface java.lang.Iterable<int[]>


Copyright © 2000-2010 VeriSign Inc. All Rights Reserved