Changeset 5229


Ignore:
Timestamp:
2003-08-21T11:03:00+12:00 (21 years ago)
Author:
jmt12
Message:

Finally changed QUOTE_CHARACTER to SPEECH_CHARACTER, which has been driving me crazy since I confused the two.

File:
1 edited

Legend:

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

    r5205 r5229  
    3030 * Revised:
    3131 **************************************************************************************/
    32 /** Were you to guess that this is a class object choc-a-block full of static stringy goodness, you'd be right. */
     32/** 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   NEW_LINE_CHARACTER                         = '\n';
     34    static final public char   NEW_LINE_CHAR                              = '\n';
    3535    static final public char   STAR_CHAR                                  = '*';
    3636    static final public String ABSTRACT_ELEMENT                           = "Abstract";
     
    131131    static final public String PROPERTIES_FILE_EXTENSION                  = ".properties";
    132132    static final public String PSEUDO_COLLECTCONFIGURATION_XML            = "xml/CollectionConfig.xml";
    133     static final public String QUOTE_CHARACTER                            = "\"";
     133    //static final public String QUOTE_CHARACTER                            = "\"";
    134134    static final public String RBRACKET_CHARACTER                         = "]";
    135135    static final public String RBRACKET_PATTERN                           = "\\]";
     
    143143    static final public String SPACE_CHARACTER                            = " ";
    144144    static final public String SPECIAL_ATTRIBUTE                          = "special";
     145    static final public String SPEECH_CHARACTER                           = "\"";
    145146    static final public String STOP_CHARACTER                             = ".";
    146147    static final public String STRING_STR                                 = "string";
Note: See TracChangeset for help on using the changeset viewer.