-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJavaIndexerConstants.java
More file actions
56 lines (45 loc) · 1.93 KB
/
JavaIndexerConstants.java
File metadata and controls
56 lines (45 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package com.JavaIndexer;
import java.util.HashMap;
import com.JavaIndexer.generics.Parameterizable;
/**
* Defines a whole slew of public static constants that can be used system-wide.
*/
public class JavaIndexerConstants
{
/*
* n.b. these are NOT final but should nevertheless not be changed.
*/
/**
* Location for binary (executable) objects. Not final but should not be
* changed.
*/
public static String JAVAINDEXER_BINDIR = "../bin/";
/**
* Location for libraries such as word lists. Not final but should not be
* changed.
*/
public static String JAVAINDEXER_LIBDIR = "../lib/";
/**
* Location for source code for JGAAP project. Not final but should not be
* changed.
*/
public static String JAVAINDEXER_SRCDIR = "../src/";
/**
* Java Prefix for different types of object collections
* Again, not final but should not be changed
*/
public static String JAVAINDEXER_EVENTDRIVERPREFIX = "com.JavaIndexer.eventDrivers.";
public static String JAVAINDEXER_PROCESSINGPREFIX = "com.JavaIndexer.processing.";
public static String JAVAINDEXER_GUIPREFIX = "com.JavaIndexer.gui.";
public static String JAVAINDEXER_GENERICSPREFIX = "com.JavaIndexer.generics.";
public static String JAVAINDEXER_BACKENDPREFIX = "com.JavaIndexer.backend.";
public static String JAVAINDEXER_LANGUAGEPREFIX = "com.JavaIndexer.languages.";
// MVR This can and should be changed.
/** Set of global parameters, to change via usual schemes. */
public static Parameterizable globalParams = new Parameterizable();
/** Set of global objects, accessed via a HashMap
* (when Parameterizable is not sufficient because
* we need to store generic objects)
*/
public static HashMap<String, Object> globalObjects = new HashMap<String,Object>();
}