| Modifier and Type | Field and Description |
|---|---|
| private String | |
| public static final String | DIRECTIVE_PREFIX
Is |
| public static final int | |
| private static final int | |
| public static final String | HIDE_DIRECTIVE
Id |
| private String | |
| private String | |
| public static final String | SPACE_CHARS
Is |
| private String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: the leading space or table characters for this instance.prefix for this instance, which is any leading space or table characters. |
| public String | Returns: the source text valwhich is the original, verbatim value with which this instance was constructed. |
| public String | |
| public int | |
| public static int | Returns: the first index of any non-tab or non-space character.to inspect line)in the given line. |
| public static int | Returns: the first index of either a tab ort a space character;-1
if no such characters are found.to inspect string, final int at which to start the inspection; There is no
restriction on the value . If it is negative, it has the
same effect as if it were zero: the entire string may be
searched. If it is greater than the length of the string,
it has the same effect as if it were equal to the length
of string: fromIndex)-1 is returned.in the given, generic string. |
| public boolean | |
| public void | |
| public String |
| arguments | back to summary |
|---|---|
| private String arguments | |
| DIRECTIVE_PREFIX | back to summary |
|---|---|
| public static final String DIRECTIVE_PREFIX Is | |
| DIRECTIVE_PREFIX_LENGTH | back to summary |
|---|---|
| public static final int DIRECTIVE_PREFIX_LENGTH Is | |
| DIRECTIVE_PREFIX_LENGTH_PLUS_ONE | back to summary |
|---|---|
| private static final int DIRECTIVE_PREFIX_LENGTH_PLUS_ONE Is | |
| HIDE_DIRECTIVE | back to summary |
|---|---|
| public static final String HIDE_DIRECTIVE Id | |
| indent | back to summary |
|---|---|
| private String indent | |
| sourceText | back to summary |
|---|---|
| private String sourceText | |
| SPACE_CHARS | back to summary |
|---|---|
| public static final String SPACE_CHARS Is | |
| text | back to summary |
|---|---|
| private String text | |
| type | back to summary |
|---|---|
| private int type | |
| Line | back to summary |
|---|---|
| public Line(String line) throws PreprocessorException, NullPointerException Constructs a new instance from the given line.
| |
| getArguments | back to summary |
|---|---|
| public String getArguments() throws PreprocessorException for this line, if they exist.
| |
| getIndent | back to summary |
|---|---|
| public String getIndent() prefix for this instance, which is any leading space or table characters.
| |
| getSourceText | back to summary |
|---|---|
| public String getSourceText() which is the original, verbatim value with which this instance was constructed.
| |
| getText | back to summary |
|---|---|
| public String getText() which is not the directive or directive arguments portion of the line. For visible lines, this is the portion following the indent, if any. For hidden lines, this is the text, if any, following the directive prefix used to hide the line. | |
| getType | back to summary |
|---|---|
| public int getType() | |
| indexOfNonTabOrSpace | back to summary |
|---|---|
| public static int indexOfNonTabOrSpace(final String line) in the given line.
| |
| indexOfTabOrSpace | back to summary |
|---|---|
| public static int indexOfTabOrSpace(final String string, final int fromIndex) in the given, generic string.
| |
| isType | back to summary |
|---|---|
| public boolean isType(int lineType) | |
| setSourceText | back to summary |
|---|---|
| public void setSourceText(String line) throws PreprocessorException, NullPointerException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |