nectec.semantic.web.knowledge.application.framework.common
Class DirectoryAndFileNames

java.lang.Object
  extended by nectec.semantic.web.knowledge.application.framework.common.DirectoryAndFileNames

public class DirectoryAndFileNames
extends Object

Class for storing directory names and file names used in many places internally to perform desired function. It is also available for general public use.


Field Summary
static String APP_DATA_DIR
          Name of the directory used for storing the output instance data (XML file) and can be found in searching (Semantic Search) and recommender (Recommender) data directory.
static String APP_DATA_SETTINGS
          Name of the directory used for storing settings of classes and can be found in searching (Semantic Search) and recommender (Recommender) data directory.
static String APP_SUB_DIR
          Name of the directory which contains only application-specific data such as searching (Semantic Search), recommender (Recommender), etc.
static String COMMON_CONFIG
          Name of the file of the common configuration (in mapping, searching and recommender).
static String D2RQ_INSTANCES
          Name of the output file generated from D2RQ module inside, just before transforming data in ontology compatible format.
static String DATA
          File name used for storing instance data Mapped from the database.
static String G_RULES
          Name of the file which stores JENA generic rules before applying custom rule engine.
static HashMap<String,String> INCLUDED_APPLICATIONS
          Collection of the paths (Locations) of application data directories on the system.
static String INDIV_MAP_SETTINGS
          Name of the file which contains configuration information regarding only to one class of interest, for Mapping modules.
static String INDIV_SETTINGS
          Name of the file which contains configuration information only for one class of interest so that searching (Semantic Search) and recommender (Recommender) data can be used properly.
static String INTEGRATED_DATA
          Name of the file which stores all instance data as specified in the Semantic Search configuration.
static String MAPPING_CONFIG_DIR
          Name of the directory used for storing the mapping configuration for ontology classes.
static String MAPPING_INSTANCES_DIR
          Name of the directory used for storing the instance data, only in Mapping.
static String MAPPING_OUTPUT
          Name of the directory used for storing data resulted from ontology mapping.
static String MAPPING_PATH
          Location of the mapping data directory on the system.
static String MODIFIED_MAP
          Name of the file which is generated after the mapping is generated.
static String ONTOLOGY_DIR
          Name of the directory used for storing the ontology file.
static String PLG_DATA_DIR
          Name of the directory used for storing data from outside source and can be found in searching (Semantic Search) and recommender (Semantic Search) data directory.
static String RECOMMENDED_DATA
          Name of the file which stores data with recommendation generated as output by Recommender.
static String RECOMMENDER
          Name of the directory used for storing Recommender-specific data.
static String RULE_DEPENDENCY
          Dependency of rules.
static String RULE_DIR
          Name of the directory used for storing rules (both generic rules and custom recommender rules).
static String RULE_INFO
          Name of the file which stores modifiers used for executing custom rules.
static String RULE_RESULT_LOG
          Rule result for debugging purpose.
static String SEMANTIC_SEARCH
          Name of the directory used for storing Semantic-Search-specific data.
static String TDB_ORIGINAL
          TDB directory which index data in the file 'integrated_data.xml'.
static String TDB_REC
          TDB directory which index data in the file 'recommended_data.xml'.
 
Constructor Summary
DirectoryAndFileNames()
           
 
Method Summary
static void pathReset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAPPING_PATH

public static String MAPPING_PATH
Location of the mapping data directory on the system.


INCLUDED_APPLICATIONS

public static HashMap<String,String> INCLUDED_APPLICATIONS
Collection of the paths (Locations) of application data directories on the system.


APP_SUB_DIR

public static final String APP_SUB_DIR
Name of the directory which contains only application-specific data such as searching (Semantic Search), recommender (Recommender), etc.

See Also:
Constant Field Values

RECOMMENDER

public static final String RECOMMENDER
Name of the directory used for storing Recommender-specific data.

See Also:
Constant Field Values

TDB_ORIGINAL

public static String TDB_ORIGINAL
TDB directory which index data in the file 'integrated_data.xml'.


TDB_REC

public static String TDB_REC
TDB directory which index data in the file 'recommended_data.xml'.


SEMANTIC_SEARCH

public static final String SEMANTIC_SEARCH
Name of the directory used for storing Semantic-Search-specific data.

See Also:
Constant Field Values

APP_DATA_SETTINGS

public static final String APP_DATA_SETTINGS
Name of the directory used for storing settings of classes and can be found in searching (Semantic Search) and recommender (Recommender) data directory.

See Also:
Constant Field Values

ONTOLOGY_DIR

public static final String ONTOLOGY_DIR
Name of the directory used for storing the ontology file.

See Also:
Constant Field Values

APP_DATA_DIR

public static final String APP_DATA_DIR
Name of the directory used for storing the output instance data (XML file) and can be found in searching (Semantic Search) and recommender (Recommender) data directory.

See Also:
Constant Field Values

PLG_DATA_DIR

public static final String PLG_DATA_DIR
Name of the directory used for storing data from outside source and can be found in searching (Semantic Search) and recommender (Semantic Search) data directory.

See Also:
Constant Field Values

RULE_DIR

public static final String RULE_DIR
Name of the directory used for storing rules (both generic rules and custom recommender rules).

See Also:
Constant Field Values

MAPPING_CONFIG_DIR

public static final String MAPPING_CONFIG_DIR
Name of the directory used for storing the mapping configuration for ontology classes.

See Also:
Constant Field Values

MAPPING_OUTPUT

public static final String MAPPING_OUTPUT
Name of the directory used for storing data resulted from ontology mapping.

See Also:
Constant Field Values

MAPPING_INSTANCES_DIR

public static final String MAPPING_INSTANCES_DIR
Name of the directory used for storing the instance data, only in Mapping.

See Also:
Constant Field Values

MODIFIED_MAP

public static final String MODIFIED_MAP
Name of the file which is generated after the mapping is generated. Then this mapping information file will be used as an input for D2RQ module.

See Also:
Constant Field Values

COMMON_CONFIG

public static final String COMMON_CONFIG
Name of the file of the common configuration (in mapping, searching and recommender). Contains global configuration information of the interested module (mapping/searching/recommender).

See Also:
Constant Field Values

INDIV_SETTINGS

public static final String INDIV_SETTINGS
Name of the file which contains configuration information only for one class of interest so that searching (Semantic Search) and recommender (Recommender) data can be used properly. This is different from common configuration which contains global configuration for the interested module. For example, 'settings.cfg' in 'Person' directory will contain configuration information for the class 'Person'

See Also:
Constant Field Values

INDIV_MAP_SETTINGS

public static final String INDIV_MAP_SETTINGS
Name of the file which contains configuration information regarding only to one class of interest, for Mapping modules. This is different from common configuration which contains global configuration for the interested module. For example, 'mapping.cfg' in 'Person' directory will contain configuration information for the class 'Person'

See Also:
Constant Field Values

DATA

public static final String DATA
File name used for storing instance data Mapped from the database. For example, 'data.xml' in 'Person' will contain Person instance data which are structured according to the ontology used.

See Also:
Constant Field Values

D2RQ_INSTANCES

public static final String D2RQ_INSTANCES
Name of the output file generated from D2RQ module inside, just before transforming data in ontology compatible format.

See Also:
Constant Field Values

G_RULES

public static final String G_RULES
Name of the file which stores JENA generic rules before applying custom rule engine.

See Also:
Constant Field Values

RULE_DEPENDENCY

public static final String RULE_DEPENDENCY
Dependency of rules.

See Also:
Constant Field Values

RULE_RESULT_LOG

public static final String RULE_RESULT_LOG
Rule result for debugging purpose.

See Also:
Constant Field Values

RULE_INFO

public static final String RULE_INFO
Name of the file which stores modifiers used for executing custom rules.

See Also:
Constant Field Values

RECOMMENDED_DATA

public static final String RECOMMENDED_DATA
Name of the file which stores data with recommendation generated as output by Recommender.

See Also:
Constant Field Values

INTEGRATED_DATA

public static final String INTEGRATED_DATA
Name of the file which stores all instance data as specified in the Semantic Search configuration.

See Also:
Constant Field Values
Constructor Detail

DirectoryAndFileNames

public DirectoryAndFileNames()
Method Detail

pathReset

public static void pathReset()