Changeset 9313
- Timestamp:
- 2005-03-08T11:47:51+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/util/HTMLStringTokenizer.java
r8243 r9313 56 56 parseToken(); 57 57 } 58 58 59 /** Determines if there are still tokens remaining unparsed in the source. 59 60 * @return A <strong>boolean</strong> which is <i>true</i> if there are more tokens. … … 65 66 return false; 66 67 } 68 67 69 /** Determines if the tag currently being returned by sameToken is a tag. 68 70 * @return A <strong>boolean</strong> indicating if the token is a tag. … … 74 76 return false; 75 77 } 78 76 79 /** Retrieves the next token. 77 80 * @return A <strong>String</strong> representing the token. … … 84 87 return previous; 85 88 } 86 /** Repeats the result of the last <i>nextToken()</i>. 87 * @return A <strong>String</strong> representing the token. 88 */ 89 /* private String sameToken() { 90 return previous; 91 } */ 89 92 90 /** Parses the next token and stores it in current. 93 91 */ … … 134 132 } 135 133 } 134 136 135 /** Method to ignore whitespace in the source. 137 136 */ … … 141 140 } 142 141 } 143 144 static public void main(String args[]) {145 String init = "<HTML>Where material to be imported is found. Defaults to <i>GSDLHOME/collection/col_name/gimport</i></HTML>";146 ///ystem.err.println("Before: " + init);147 String result = Utility.formatHTMLWidth(init, 40);148 ///ystem.err.println("After: " + result);149 }150 142 }
Note:
See TracChangeset
for help on using the changeset viewer.