Package xyz.cofe.text
Class Text.SimpleParseResult
java.lang.Object
xyz.cofe.text.Text.SimpleParseResult
- All Implemented Interfaces:
Text.ParseStringResult
- Enclosing class:
- Text
public static class Text.SimpleParseResult extends java.lang.Object implements Text.ParseStringResult
Результат парсинга текстовой строки
-
Field Summary
Fields Modifier and Type Field Description intbeginIndexjava.lang.StringdecodedStringintendIndexjava.lang.StringsourceString -
Constructor Summary
Constructors Constructor Description SimpleParseResult() -
Method Summary
Modifier and Type Method Description intbeginIndex()Индекс начала константыjava.lang.StringdecodedString()Декодированная строкаintendIndex()Индекс конца константы (исключительно)java.lang.StringsourceString()Исходная строка
-
Field Details
-
decodedString
public java.lang.String decodedString -
sourceString
public java.lang.String sourceString -
beginIndex
public int beginIndex -
endIndex
public int endIndex
-
-
Constructor Details
-
SimpleParseResult
public SimpleParseResult()
-
-
Method Details
-
decodedString
public java.lang.String decodedString()Description copied from interface:Text.ParseStringResultДекодированная строка- Specified by:
decodedStringin interfaceText.ParseStringResult- Returns:
- Декодированная строка
-
sourceString
public java.lang.String sourceString()Description copied from interface:Text.ParseStringResultИсходная строка- Specified by:
sourceStringin interfaceText.ParseStringResult- Returns:
- Исходная строка
-
beginIndex
public int beginIndex()Description copied from interface:Text.ParseStringResultИндекс начала константы- Specified by:
beginIndexin interfaceText.ParseStringResult- Returns:
- Индекс
-
endIndex
public int endIndex()Description copied from interface:Text.ParseStringResultИндекс конца константы (исключительно)- Specified by:
endIndexin interfaceText.ParseStringResult- Returns:
- Индекс
-