public class DicomConfig
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static DicomConfig |
createInstance()
Constructs instance of DicomConfig.
|
static DicomConfig |
createInstance(EnumLogMode enumLogMode,
EnumLocale enumLocale)
Constructs instance of DicomConfig for specified logmode and locale.
|
void |
disAbleLogging()
This function sets logging mode as OFF.
|
void |
enableLogging(EnumLoggingLevel enumLoggingLevel)
This function sets logging mode as ON.
|
void |
enableLogging(EnumLoggingLevel enumLoggingLevel,
java.lang.String strLogLocation)
This function sets logging mode as ON.
|
java.lang.String |
getLocale()
Retrieves Locale property.
|
EnumLoggingLevel |
getLoggingLevel()
This function retrieves the logging level of DICOM Library.
|
java.lang.String |
getTempStorageFilePath()
This function Retrieves the temporary storage file path where the temporary file is stored.
|
boolean |
isLoggingOn()
This function retrieves the status of logging mode whether it is on.
|
boolean |
isTempStorageInUse()
This function indicates whether temporary storage is in use or not.
|
void |
setLocale(EnumLocale enumLocale)
Sets Locale property.
|
void |
useTempStorage(boolean isTempStorageInUSe)
This function is used to configure use of temporary storage.
|
void |
useTempStorage(java.lang.String strTempStorageFilePath)
This function is used to configure use of temporary storage.
|
public static DicomConfig createInstance()
public static DicomConfig createInstance(EnumLogMode enumLogMode, EnumLocale enumLocale)
enumLogMode - enum represents logging mode.enumLocale - enum specify locale specific information.public boolean isLoggingOn()
public void enableLogging(EnumLoggingLevel enumLoggingLevel)
enumLoggingLevel - enum represents logging Level as
SEVERE - Logs fatal exceptions.
INFO - Logs fatal exceptions, state of the object at the time of error.public void enableLogging(EnumLoggingLevel enumLoggingLevel, java.lang.String strLogLocation)
enumLoggingLevel - enum represents logging Level as
SEVERE - Logs fatal exceptions.
INFO - Logs fatal exceptions, state of the object at the time of error.strLogLocation - Path of directory in which logging is done.public void disAbleLogging()
public java.lang.String getLocale()
public void setLocale(EnumLocale enumLocale)
enumLocale - the enum locale.public EnumLoggingLevel getLoggingLevel()
public void useTempStorage(java.lang.String strTempStorageFilePath)
strTempStorageFilePath - File path where the temporary file should be stored.public void useTempStorage(boolean isTempStorageInUSe)
isTempStorageInUSe - boolean variable indicating whether temporary storage is in use or not.
true if temporary Storage is in use.
false if temporary Storage is not in use.public java.lang.String getTempStorageFilePath()
public boolean isTempStorageInUse()