Class ArrayBasedStringTokenizer


  • public class ArrayBasedStringTokenizer
    extends java.lang.Object
    Tokenizes the given text based on a given array of Strings. On assembling the output array, you should be able to get back the original text.
    Author:
    Palash Ray
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] tokenize​(java.lang.String text)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArrayBasedStringTokenizer

        public ArrayBasedStringTokenizer​(java.lang.String[] tokens)
    • Method Detail

      • tokenize

        public java.lang.String[] tokenize​(java.lang.String text)