Changeset 7324 for trunk/gli/src/org/greenstone/gatherer
- Timestamp:
- 2004-05-13T16:37:41+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/util/Utility.java
r7289 r7324 446 446 return col_dir + ARCHIVE_DIR; 447 447 } 448 448 449 /** Method which constructs the build directory given a certain collection. 449 450 * @param col_dir The location of the collection directory as a <strong>String</strong>. … … 468 469 public static String getCollectDir(String gsdl_path) { 469 470 return gsdl_path + COL_DIR; 471 } 472 static public String getCollectDir(String gsdl3_path, String site_name) { 473 return getSitesDir(gsdl3_path) + site_name + File.separator + COL_DIR; 470 474 } 471 475 … … 477 481 public static String getCollectionDir(String gsdl_path, String coll_name) { 478 482 return getCollectDir(gsdl_path) + coll_name + File.separator; 483 } 484 public static String getCollectionDir(String gsdl3_path, String site_name, String coll_name) { 485 return getCollectDir(gsdl3_path, site_name) + coll_name + File.separator; 479 486 } 480 487 … … 651 658 } 652 659 653 660 654 661 /* static private File getRecycleDirectory() { 655 662 return new File(RECYCLE); 656 663 } */ 657 664 665 666 static public String getSitesDir(String gsdl3_path) { 667 return gsdl3_path + File.separator + "web" 668 + File.separator + "sites" + File.separator; 669 670 } 658 671 /** Determine whether a character is a hexidecimal one. 659 672 * @param chr The <i>char</i> in question.
Note:
See TracChangeset
for help on using the changeset viewer.