source: java/ModDepotAccess/src/net/oni2/moddepot/DepotConfig.java@ 864

Last change on this file since 864 was 748, checked in by alloc, 12 years ago

java lib: Mod depot access

File size: 1.4 KB
Line 
1package net.oni2.moddepot;
2
3import java.util.HashSet;
4
5/**
6 * @author Christian Illy
7 */
8public class DepotConfig {
9 /**
10 * Node type for package nodes
11 */
12 public static String nodeType_Package = "mod";
13 /**
14 * Vocabulary name for the platform terms
15 */
16 public static String vocabName_Platform = "Platform";
17 /**
18 * Vocabulary name for the install type terms
19 */
20 public static String vocabName_InstallType = "Install method";
21 /**
22 * Vocabulary name for the mod type terms
23 */
24 public static String vocabName_ModType = "Mod type";
25
26 /**
27 * Taxonomy term name for the win platform
28 */
29 public static String taxName_Platform_Win = "Windows";
30 /**
31 * Taxonomy term name for the mac platform
32 */
33 public static String taxName_Platform_MacOS = "Mac OS";
34 /**
35 * Taxonomy term name for platform independent
36 */
37 public static String taxName_Platform_Both = "Both";
38
39 /**
40 * Taxonomy term name for package install type
41 */
42 public static String taxName_InstallType_Package = "Package";
43
44 /**
45 * Package number at which non-core packages start
46 */
47 public static int corePackageNumberLimit = 8000;
48
49 /**
50 * URL of depot
51 */
52 public static String depotUrl = "http://mods.oni2.net/";
53
54 /**
55 * @return Taxonomy term names for mods of type Tool
56 */
57 public static HashSet<String> getTaxonomyName_ModType_Tool() {
58 HashSet<String> res = new HashSet<String>();
59 res.add("Tool");
60 res.add("Patch");
61 return res;
62 }
63
64}
Note: See TracBrowser for help on using the repository browser.