|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.psu.ist.youseer.SubmitterConfig
public class SubmitterConfig
Field Summary | |
---|---|
java.lang.String |
CACHE
The solr field that will store the location of the cached version of this file |
java.lang.String |
CacheFolder
The path that will have the ARC files under it |
java.lang.String |
DatabaseProvider
Database provider, read from the XML configuration file |
java.lang.String |
DBConnectionString
The database connection string, read from the XML configuration file |
java.lang.String |
DOCUMENT_TEXT
The solr field that will store the content |
java.lang.String |
FILE_TYPE
The solr field that will store the file type of the document |
java.util.HashSet |
IndexedTypes
Contains a set of all the Indexable file types, populated from the XML Configuration file |
java.lang.String |
IndexURL
The URL of the index |
java.lang.String |
OFFSET
The solr field that will store the offset within the ARC file |
java.lang.String |
OriginalPart
The absolute path of the root folder that contains the ARC files |
java.lang.String |
TITLE
The solr field that will store the title |
java.lang.String |
URL
The solr field that will store the URL |
Constructor Summary | |
---|---|
SubmitterConfig()
|
|
SubmitterConfig(java.lang.String Url,
java.lang.String Title,
java.lang.String Document_Text,
java.lang.String File_Type,
java.lang.String Cache,
java.lang.String offset)
|
Method Summary | |
---|---|
boolean |
ReadConfigFile(java.lang.String path)
Reads the SubmitterConfig.xml file, and populates the data of this class. |
private boolean |
ValidateConfig()
Validates this object after populating it from the XML configuration file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String URL
public java.lang.String TITLE
public java.lang.String DOCUMENT_TEXT
public java.lang.String FILE_TYPE
public java.lang.String CACHE
public java.lang.String OFFSET
public java.util.HashSet IndexedTypes
public java.lang.String IndexURL
public java.lang.String CacheFolder
public java.lang.String OriginalPart
public java.lang.String DatabaseProvider
public java.lang.String DBConnectionString
Constructor Detail |
---|
public SubmitterConfig()
public SubmitterConfig(java.lang.String Url, java.lang.String Title, java.lang.String Document_Text, java.lang.String File_Type, java.lang.String Cache, java.lang.String offset)
Method Detail |
---|
public boolean ReadConfigFile(java.lang.String path)
path
- the path to the configuration file
private boolean ValidateConfig()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |