Changeset 8809
- Timestamp:
- 2004-12-14T17:21:05+13:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gems/GEMS.java
r8793 r8809 95 95 static final private String SET = "set"; 96 96 static final private String VALUES = "values"; 97 98 static final public String METADATA_SET_TEMPLATE = "xml/template.mds"; 99 static final public String METADATA_VALUE_TEMPLATE = "xml/template.mdv"; 100 97 101 // static final public String MAX_LOADED_SETS = 64; 98 102 static public Configuration config = null; -
trunk/gli/src/org/greenstone/gatherer/gems/MSMUtils.java
r8581 r8809 716 716 */ 717 717 static final public Document getValueTreeTemplate() { 718 return Utility.parse( Utility.METADATA_VALUE_TEMPLATE, true);718 return Utility.parse(GEMS.METADATA_VALUE_TEMPLATE, true); 719 719 } 720 720 -
trunk/gli/src/org/greenstone/gatherer/gems/MetadataSetManager.java
r8793 r8809 85 85 86 86 public MetadataSet addSet(String namespace, String name) { 87 MetadataSet mds = new MetadataSet( Utility.METADATA_SET_TEMPLATE);87 MetadataSet mds = new MetadataSet(GEMS.METADATA_SET_TEMPLATE); 88 88 mds.setAttribute("creator", "The Greenstone Librarian Interface"); 89 89 // Calculate lastchanged to right now on this machine by this user -
trunk/gli/src/org/greenstone/gatherer/util/Utility.java
r8808 r8809 108 108 /** Definition of an important zip file, in this case zipped up version of metadata file stored in JAR file */ 109 109 static final public String METADATA_ZIP = "metadata.zip"; 110 /** The location the gatherer expects to find metadata set information. */111 static final public String METADATA_SET_TEMPLATE = "xml/template.mds";112 static final public String METADATA_VALUE_TEMPLATE = "xml/template.mdv";113 110 /** The default name of the perl executable under unix. */ 114 111 static final public String PERL_EXECUTABLE_UNIX = "perl"; … … 881 878 * @return A <strong>String</strong> made from appending space characters with the string until it has a length equal to length. 882 879 */ 883 public staticString pad(String str_raw, int length, char fill, boolean end) {880 static private String pad(String str_raw, int length, char fill, boolean end) { 884 881 StringBuffer str = new StringBuffer(str_raw); 885 882 while(str.length() < length) {
Note:
See TracChangeset
for help on using the changeset viewer.