Changeset 7288
- Timestamp:
- 2004-05-07T09:33:08+12:00 (20 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfiguration.java
r6852 r7288 1513 1513 String full_pattern_str = tokenizer.nextToken(); 1514 1514 // To make life easier I'm going to parse this up now. 1515 boolean exclusion = (full_pattern_str.substring(1, 2).equals(EXCLA IMATION_CHARACTER));1515 boolean exclusion = (full_pattern_str.substring(1, 2).equals(EXCLAMATION_CHARACTER)); 1516 1516 // Set inclusion/exclusion flag, remove any exclaimation mark and the speech marks 1517 1517 if(exclusion) { … … 1694 1694 text.append(SPEECH_CHARACTER); 1695 1695 if(command_element.getAttribute(TYPE_ATTRIBUTE).equals(EXCLUDE_STR)) { 1696 text.append(EXCLA IMATION_CHARACTER);1696 text.append(EXCLAMATION_CHARACTER); 1697 1697 } 1698 1698 String content_str = command_element.getAttribute(CONTENT_ATTRIBUTE); -
trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java
r7281 r7288 100 100 static final public String ESCAPE_PATTERN = "\\\\"; 101 101 static final public String ESCAPE_STR = "\\"; 102 static final public String EXCLA IMATION_CHARACTER = "!";102 static final public String EXCLAMATION_CHARACTER = "!"; 103 103 static final public String EXCLUDE_STR = "exclude"; 104 104 static final public String EXTENSION_ATTRIBUTE = "extension";
Note:
See TracChangeset
for help on using the changeset viewer.