|
Sun Message Library for SWIFT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SwiftReader
Read in a text file as lines of charactors, check the following:
| Method Summary | |
|---|---|
void |
parse(java.io.File input)
parse the html file input |
java.lang.String |
readNextElement(java.lang.String currLine,
java.lang.String openTag,
java.lang.String closeTag,
int srchLimitOpen,
int srchLimitClose,
boolean inclusive,
java.lang.String[] lastLine,
java.lang.String terminator)
given open and close tags and a current line of text processed, return the string that is enveloped with open and close tag |
| Method Detail |
|---|
void parse(java.io.File input)
throws java.lang.Exception
input
input -
java.lang.Exception
java.lang.String readNextElement(java.lang.String currLine,
java.lang.String openTag,
java.lang.String closeTag,
int srchLimitOpen,
int srchLimitClose,
boolean inclusive,
java.lang.String[] lastLine,
java.lang.String terminator)
throws java.io.IOException
currLine - - current line where the search for open tag
starts with;openTag - - open tagcloseTag - - close tagsrchLimitOpen - - # lines to search for the open tagsrchLimitClose - - # lines to search for the close taginclusive - - true include the tags in the result, false otherwise;lastLine - - the last line read when the search process finishes;termiantor - - a string if found in the line processed - the process will terminate and return;
java.io.IOException - - if there is IO error during line reading;
|
Sun Message Library for SWIFT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||