JBoss Common Beans 1.1.0.Final-redhat-1

org.jboss.common.beans.property.token
Class ArrayTokenizer

java.lang.Object
  extended by org.jboss.common.beans.property.token.ArrayTokenizer
Direct Known Subclasses:
GreedyTokenizer, StrictTokenizer

public abstract class ArrayTokenizer
extends Object

Simple abstract class to abstract tokenization process. Implementation provides rules of tokenization, ie. chars(delimiters) based on which String is broken down into tokens.

Author:
baranowb

Constructor Summary
ArrayTokenizer()
           
 
Method Summary
protected abstract  String getDelimiters()
          Returns delimiters which are used in tokenization.
 String[] tokenize(String value)
          Implementation of this method breaks down passed string into tokens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayTokenizer

public ArrayTokenizer()
Method Detail

tokenize

public final String[] tokenize(String value)
Implementation of this method breaks down passed string into tokens.

Parameters:
value -
Returns:

getDelimiters

protected abstract String getDelimiters()
Returns delimiters which are used in tokenization.

Returns:

JBoss Common Beans 1.1.0.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.