org.nees.tools.agent
Class ScraperConfiguration
java.lang.Object
java.util.Dictionary
java.util.Hashtable
java.util.Properties
org.nees.util.XProperties
org.nees.tools.agent.ScraperConfiguration
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class ScraperConfiguration
- extends XProperties
- See Also:
- Serialized Form
| Fields inherited from class java.util.Properties |
defaults |
| Methods inherited from class org.nees.util.XProperties |
add, add, add, clone, equals, getBoolean, getBytes, getClone, getDate, getDouble, getFile, getFile, getInt, getList, getList, getListSeparator, getLong, getSerializable, getSerializableList, getString, getURI, isEmpty, keySubset, load, main, setBoolean, setBytes, setDate, setDouble, setFile, setInt, setList, setList, setList, setListSeparator, setLong, setProperty, setSerializable, setSerializableList, setString, setURI, setURI |
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, store |
| Methods inherited from class java.util.Hashtable |
clear, contains, containsKey, containsValue, elements, entrySet, get, hashCode, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
APPEND_MODE_KEY
public static final java.lang.String APPEND_MODE_KEY
- See Also:
- Constant Field Values
BINARY_MODE_KEY
public static final java.lang.String BINARY_MODE_KEY
- See Also:
- Constant Field Values
CLEAR_DIRECTORY_KEY
public static final java.lang.String CLEAR_DIRECTORY_KEY
- See Also:
- Constant Field Values
CONTAINER_NAMESPACE_KEY
public static final java.lang.String CONTAINER_NAMESPACE_KEY
- See Also:
- Constant Field Values
CONTAINER_NAME_KEY
public static final java.lang.String CONTAINER_NAME_KEY
- See Also:
- Constant Field Values
DIRECTORY_KEY
public static final java.lang.String DIRECTORY_KEY
- See Also:
- Constant Field Values
ENABLE_LOGGING_KEY
public static final java.lang.String ENABLE_LOGGING_KEY
- See Also:
- Constant Field Values
EXTENSION_KEY
public static final java.lang.String EXTENSION_KEY
- See Also:
- Constant Field Values
EXTENSION_LIST_KEY
public static final java.lang.String EXTENSION_LIST_KEY
- See Also:
- Constant Field Values
FAIL_IF_SEQUENCE_NUMBER_GAP_KEY
public static final java.lang.String FAIL_IF_SEQUENCE_NUMBER_GAP_KEY
- See Also:
- Constant Field Values
GSS_CREDENTIAL_DEFAULT_KEY
public static final java.lang.String GSS_CREDENTIAL_DEFAULT_KEY
- See Also:
- Constant Field Values
GSS_CREDENTIAL_FILE_KEY
public static final java.lang.String GSS_CREDENTIAL_FILE_KEY
- See Also:
- Constant Field Values
INCLUDE_EXTENSION_KEY
public static final java.lang.String INCLUDE_EXTENSION_KEY
- See Also:
- Constant Field Values
LOG_FILE_NAME_KEY
public static final java.lang.String LOG_FILE_NAME_KEY
- See Also:
- Constant Field Values
LOGICALNAME_NAMESPACE_KEY
public static final java.lang.String LOGICALNAME_NAMESPACE_KEY
- See Also:
- Constant Field Values
NFMS_HOST_KEY
public static final java.lang.String NFMS_HOST_KEY
- See Also:
- Constant Field Values
NFMS_PORT_KEY
public static final java.lang.String NFMS_PORT_KEY
- See Also:
- Constant Field Values
POLLING_INTERVAL_KEY
public static final java.lang.String POLLING_INTERVAL_KEY
- See Also:
- Constant Field Values
RUN_MINIMIZED_KEY
public static final java.lang.String RUN_MINIMIZED_KEY
- See Also:
- Constant Field Values
SEQUENTIAL_FILE_NUMBERING_KEY
public static final java.lang.String SEQUENTIAL_FILE_NUMBERING_KEY
- See Also:
- Constant Field Values
NFMS_GRID_SERVICE_LOCATOR_STRING
public static final java.lang.String NFMS_GRID_SERVICE_LOCATOR_STRING
- See Also:
- Constant Field Values
ScraperConfiguration
public ScraperConfiguration()
- ScrapperConfiguration constructor comment.
ScraperConfiguration
public ScraperConfiguration(java.lang.String fileName)
throws java.lang.Exception
- ScrapperConfiguration constructor comment.
- Parameters:
fileName - java.lang.String
- Throws:
java.lang.Exception - The exception description.
ScraperConfiguration
public ScraperConfiguration(java.util.Properties p)
- ScrapperConfiguration constructor comment.
- Parameters:
p - java.util.Properties
ScraperConfiguration
public ScraperConfiguration(java.util.Properties[] sources,
boolean overwrite)
- ScrapperConfiguration constructor comment.
- Parameters:
sources - java.util.Properties[]overwrite - boolean
ScraperConfiguration
public ScraperConfiguration(java.util.Properties[] sources,
boolean[] overwrite)
throws java.lang.Exception
- ScrapperConfiguration constructor comment.
- Parameters:
sources - java.util.Properties[]overwrite - boolean[]
- Throws:
java.lang.Exception - The exception description.
clearDirectory
public boolean clearDirectory()
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
enableLogging
public boolean enableLogging()
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
failIfSequenceGaps
public boolean failIfSequenceGaps()
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
getContainerName
public java.lang.String getContainerName()
- Returns:
- java.lang.String
getContainerNamespace
public java.lang.String getContainerNamespace()
- Returns:
- java.lang.String
getCredentialFile
public java.io.File getCredentialFile()
throws java.lang.Exception
- Returns:
- java.io.File
- Throws:
java.lang.Exception - The exception description.
getDirectory
public java.io.File getDirectory()
throws java.lang.Exception
- Returns:
- java.io.File
- Throws:
java.lang.Exception
getExtension
public java.lang.String getExtension()
- Returns:
- java.lang.String
- Throws:
java.lang.Exception - The exception description.
getExtensionList
public java.lang.String[] getExtensionList()
throws java.lang.Exception
- Returns:
- java.lang.String[]
- Throws:
java.lang.Exception
getLogFile
public java.io.File getLogFile()
throws java.lang.Exception
- Returns:
- java.io.File
- Throws:
java.lang.Exception - The exception description.
getLogicalNamespace
public java.lang.String getLogicalNamespace()
- Returns:
- java.lang.String
getNFMSHost
public java.lang.String getNFMSHost()
throws java.lang.Exception
- Returns:
- java.net.URL
- Throws:
java.lang.Exception - The exception description.
getNFMSPort
public int getNFMSPort()
throws java.lang.Exception
- Returns:
- int
- Throws:
java.lang.Exception
getPollingInterval
public long getPollingInterval()
throws java.lang.Exception
- Returns:
- long
- Throws:
java.lang.Exception - The exception description.
getUseDefaultCredential
public boolean getUseDefaultCredential()
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
includeExtension
public boolean includeExtension()
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
isAppendModeOn
public boolean isAppendModeOn()
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
isBinaryModeOn
public boolean isBinaryModeOn()
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
isSequentialNumberingOn
public boolean isSequentialNumberingOn()
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception
runMinimized
public boolean runMinimized()
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
setClearDirectory
public void setClearDirectory(boolean clearDirectory)
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
setCredentialFile
public void setCredentialFile(java.io.File f)
throws java.lang.Exception
- Throws:
java.lang.Exception
setCredentialFile
public void setCredentialFile(java.lang.String fileName)
throws java.lang.Exception
- Parameters:
fileName - java.io.File
- Throws:
java.lang.Exception
setNFMSHost
public void setNFMSHost(java.lang.String host)
- Parameters:
host - java.lang.String
setNFMSPort
public void setNFMSPort(int value)
- Parameters:
value - java.lang.String
setUseDefaultCredential
public void setUseDefaultCredential(boolean b)
throws java.lang.Exception
- Returns:
- boolean
- Throws:
java.lang.Exception - The exception description.
getNFMSGridServiceHandle
public java.lang.String getNFMSGridServiceHandle()
throws java.lang.Exception
- Throws:
java.lang.Exception