|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Syntax used by Prettify
| Method Summary | |
boolean |
isClose(char c)
punctuation closing a list: ')' or ']' or ')' or ... |
boolean |
isCloseQuote(char c)
punctuation closing a string |
boolean |
isEscapeChar(char c)
character escape, e.g., '\' in "(\"Hi\")" |
boolean |
isLetterOrDigit(char c)
|
boolean |
isMatchedClose(char open,
char close)
match list punctuation: '(' -> ')', '[' -> ']', '{' -> '}' ... |
boolean |
isMatchedCloseQuote(char open,
char close)
map string quotes '\"' to '\"' |
boolean |
isOpen(char c)
punctuation opening a list: '(' or '[' or '{' or ... |
boolean |
isOpenQuote(char c)
punctuation opening a string |
boolean |
isSeparator(char c)
list element separator, e.g., ',', ';', ... |
boolean |
isWhitespace(char c)
|
int |
skipString(String input,
int position)
skip over a "quoted string" |
int |
skipWhitespace(String input,
int position)
skip over space. |
int |
skipWord(String input,
int position)
skip over a contiguous.word.without.a.possible.line.break. |
| Method Detail |
public boolean isWhitespace(char c)
Character.isWhitespacepublic boolean isLetterOrDigit(char c)
Character.isLetterOrDigitpublic boolean isOpen(char c)
public boolean isClose(char c)
public boolean isMatchedClose(char open,
char close)
public boolean isSeparator(char c)
public boolean isOpenQuote(char c)
public boolean isCloseQuote(char c)
public boolean isMatchedCloseQuote(char open,
char close)
public boolean isEscapeChar(char c)
public int skipWhitespace(String input,
int position)
public int skipWord(String input,
int position)
throws IllegalArgumentException
public int skipString(String input,
int position)
|
Copyright (c) 1996-1999 Massachusetts Institute of Technology Feedback: jeva-feedback@ai.mit.edu |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||