Changeset 9313


Ignore:
Timestamp:
2005-03-08T11:47:51+13:00 (19 years ago)
Author:
mdewsnip
Message:

Removed main function, and changed to have Unix line endings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/util/HTMLStringTokenizer.java

    r8243 r9313  
    5656    parseToken();
    5757    }
     58
    5859    /** Determines if there are still tokens remaining unparsed in the source.
    5960     * @return A <strong>boolean</strong> which is <i>true</i> if there are more tokens.
     
    6566    return false;
    6667    }
     68
    6769    /** Determines if the tag currently being returned by sameToken is a tag.
    6870     * @return A <strong>boolean</strong> indicating if the token is a tag.
     
    7476    return false;
    7577    }
     78
    7679    /** Retrieves the next token.
    7780     * @return A <strong>String</strong> representing the token.
     
    8487    return previous;
    8588    }
    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
    9290    /** Parses the next token and stores it in current.
    9391     */
     
    134132    }
    135133    }
     134
    136135    /** Method to ignore whitespace in the source.
    137136     */
     
    141140    }
    142141    }
    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     }
    150142}
Note: See TracChangeset for help on using the changeset viewer.