net.sf.jasperreports.engine.query
Class JRClauseTokens
java.lang.Object
net.sf.jasperreports.engine.query.JRClauseTokens
public class JRClauseTokens
- extends Object
Query clause chunk wrapper.
- Version:
- $Id: JRClauseTokens.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Lucian Chirita ([email protected])
- See Also:
JRQueryChunk.getTokens()
,
JRQueryChunk.TYPE_CLAUSE_TOKENS
Method Summary |
String |
getToken(int position)
Returns a token at a specified position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRClauseTokens
public JRClauseTokens(String[] tokens)
- Wraps an array of tokens.
- Parameters:
tokens
- the tokens
getToken
public String getToken(int position)
- Returns a token at a specified position.
If the specified position is greater than the number of tokens or
the token is empty, the method returns null
.
- Parameters:
position
- the position
- Returns:
- the token at the specified position
Copyright © 2012. All Rights Reserved.