Code example for StringTokenizer

Methods: countTokens

0
		this.string=string;
	} 
 
	public long getNumericValue() throws LRException 
	{ 
		StringTokenizer parser=new StringTokenizer(string.getStringValue());
		return parser.countTokens();
	} 
 
	public String getStringValue() throws LRException
	{ 
		return String.valueOf(getNumericValue());
	} 
}