Changeset 5940


Ignore:
Timestamp:
2003-11-24T11:47:12+13:00 (20 years ago)
Author:
jmt12
Message:

Added two new static chars, pipe and forward slash

File:
1 edited

Legend:

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

    r5881 r5940  
    3232/** Were you to guess that this is a class object choc-a-block full of static stringy goodness, you'd be right. They come in several flavours: Those ending _STR are strings you might find as values in XML, _ELEMENT are element names, _ATTRIBUTE are attribute names, _CHAR are particular characters while _CHARACTER are also characters but expressed as strings (for regex purposes ie startsWith, endsWith, indexOf and replaceAll); _PATTERN are strings which require extra escaping to put them through regex. Finally anything else is just a static string used within GLI. */
    3333public class StaticStrings {
     34    static final public char   FORWARDSLASH_CHAR                          = '/';
    3435    static final public char   NEW_LINE_CHAR                              = '\n';
     36    static final public char   PIPE_CHAR                                  = '|';
    3537    static final public char   STAR_CHAR                                  = '*';
    3638    static final public String ABSTRACT_ELEMENT                           = "Abstract";
Note: See TracChangeset for help on using the changeset viewer.