Package de.xima.fc.helper
Class PlaceholderStringTokenizer.PlaceholderStringToken
- java.lang.Object
-
- de.xima.fc.helper.PlaceholderStringTokenizer.PlaceholderStringToken
-
- Direct Known Subclasses:
PlaceholderStringTokenizer.PlaceholderStringLiteralToken
,PlaceholderStringTokenizer.PlaceholderStringPlaceholderToken
- Enclosing class:
- PlaceholderStringTokenizer
public abstract static class PlaceholderStringTokenizer.PlaceholderStringToken extends Object
Represents either a literal (non-placeholder) or placeholder part of a string.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Detail
-
getEnd
public int getEnd()
- Returns:
- The end position of this token. This is one after the end index, e.g. in
<hello [%tf1%]>
the literal<hello >
would end at position 6.
-
getStart
public int getStart()
- Returns:
- The start position of this token, e.g. in
<hello [%tf1%]>
the literal<hello >
would start at position 0.
-
-