Package com.exasol.errorreporting
Class Placeholder
- java.lang.Object
-
- com.exasol.errorreporting.Placeholder
-
public class Placeholder extends Object
A placeholder.
-
-
Constructor Summary
Constructors Constructor Description Placeholder(String text, int startPosition, int endPosition)Create a new instance ofPlaceholder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEndPosition()StringgetName()intgetStartPosition()booleanisUnquoted()StringtoString()
-
-
-
Constructor Detail
-
Placeholder
public Placeholder(String text, int startPosition, int endPosition)
Create a new instance ofPlaceholder.- Parameters:
text- the placeholder textstartPosition- position of first character of the placeholderendPosition- position of last character of the placeholder
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the placeholder name.
-
isUnquoted
public boolean isUnquoted()
- Returns:
- true if the placeholder is unquoted.
-
getStartPosition
public int getStartPosition()
- Returns:
- the placeholder start position in the text.
-
getEndPosition
public int getEndPosition()
- Returns:
- the placeholder end position in the text.
-
-