public class ExtractCode
extends java.lang.Object
| Constructor and Description |
|---|
ExtractCode(java.lang.String content) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEndBraces(int indexFrom) |
int |
getEndMarkerLength() |
java.lang.String |
getInnerContent(int startIndex,
int endIndex) |
int |
getStartBraces(int indexFrom) |
int |
getStartMarkerLength() |
void |
setEndCodeSection(char[] endCodeSection) |
void |
setStartCodeSection(char[] startCodeSection) |
public void setStartCodeSection(char[] startCodeSection)
public void setEndCodeSection(char[] endCodeSection)
public int getStartMarkerLength()
public int getEndMarkerLength()
public java.lang.String getInnerContent(int startIndex,
int endIndex)
public int getStartBraces(int indexFrom)
indexFrom - - an index into the content string where we want to start looking for the start code sectionspublic int getEndBraces(int indexFrom)
indexFrom - - an index into the content string where we want to start looking for the end code sections