Changeset 636 for AE/installer2/src/net/oni2/aeinstaller/backend/depot
- Timestamp:
- Jan 19, 2013, 4:35:35 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/backend/depot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/backend/depot/DepotConfig.java
r626 r636 20 20 * @return Vocabulary name for platform field 21 21 */ 22 publicstatic String getVocabularyName_Platform() {22 static String getVocabularyName_Platform() { 23 23 return "Platform"; 24 24 } … … 27 27 * @return Vocabulary name for installtype field 28 28 */ 29 publicstatic String getVocabularyName_InstallType() {29 static String getVocabularyName_InstallType() { 30 30 return "Install method"; 31 31 } … … 34 34 * @return Vocabulary name for modtype field 35 35 */ 36 publicstatic String getVocabularyName_ModType() {36 static String getVocabularyName_ModType() { 37 37 return "Mod type"; 38 38 } … … 62 62 * @return Taxonomy term name for installtype Package 63 63 */ 64 publicstatic String getTaxonomyName_InstallType_Package() {64 static String getTaxonomyName_InstallType_Package() { 65 65 return "Package"; 66 66 } … … 87 87 * @return URL of Depot 88 88 */ 89 publicstatic String getDepotUrl() {89 static String getDepotUrl() { 90 90 return Settings.getInstance().get("depot_url", "http://mods.oni2.net/"); 91 91 } … … 94 94 * @return URL of Depot API 95 95 */ 96 publicstatic String getDepotApiUrl() {96 static String getDepotApiUrl() { 97 97 return Settings.getInstance().get("depot_api_url", 98 98 "http://mods.oni2.net/?q=api/"); -
AE/installer2/src/net/oni2/aeinstaller/backend/depot/model/TaxonomyTerm.java
r591 r636 13 13 private String description; 14 14 private String uri; 15 16 /**17 * Manually create a taxonomy term for internal use18 *19 * @param tid20 * ID21 * @param vid22 * VocabID23 * @param name24 * Term name25 */26 public TaxonomyTerm(int tid, int vid, String name) {27 this.tid = tid;28 this.vid = vid;29 this.name = name;30 this.description = "";31 this.uri = "";32 }33 15 34 16 /**
Note:
See TracChangeset
for help on using the changeset viewer.