org.opencms.configuration
Class CmsParameterConfiguration.ParameterTokenizer

java.lang.Object
  extended by java.util.StringTokenizer
      extended by org.opencms.configuration.CmsParameterConfiguration.ParameterTokenizer
All Implemented Interfaces:
Enumeration<Object>
Enclosing class:
CmsParameterConfiguration

protected static class CmsParameterConfiguration.ParameterTokenizer
extends StringTokenizer

This class divides property value into tokens separated by ",".

Commas in the property value that are wanted can be escaped using the backslash in front like this "\,".


Constructor Summary
CmsParameterConfiguration.ParameterTokenizer(String string)
          Constructor.
 
Method Summary
 String nextToken()
          Returns the next token.
 
Methods inherited from class java.util.StringTokenizer
countTokens, hasMoreElements, hasMoreTokens, nextElement, nextToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsParameterConfiguration.ParameterTokenizer

public CmsParameterConfiguration.ParameterTokenizer(String string)
Constructor.

Parameters:
string - the String to break into tokens
Method Detail

nextToken

public String nextToken()
Returns the next token.

Overrides:
nextToken in class StringTokenizer
Returns:
the next token