public class HL7Config
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static HL7Config |
createInstance()
Constructs instance of HL7Config
|
static HL7Config |
createInstance(EnumLogMode enumLogMode,
EnumLocale enumLocale)
Constructs instance of HL7Config for specified logmode and locale
|
void |
disableLogging()
Sets logging mode as OFF.
|
void |
enableLogging()
Sets logging mode as ON.
|
void |
enableLogging(java.lang.String strLogLocation)
Sets logging mode as ON.
|
java.lang.String |
getLocale()
Retrieves Locale property
|
boolean |
isLoggingOn()
Retrieves whether logging mode is on.
|
void |
setLocale(EnumLocale enumLocale)
Sets Locale Property
|
public static HL7Config createInstance()
public static HL7Config createInstance(EnumLogMode enumLogMode, EnumLocale enumLocale)
enumLogMode - enum represents logging modeenumLocale - enum specify locale specific information.public boolean isLoggingOn()
public void enableLogging()
public void enableLogging(java.lang.String strLogLocation)
strLogLocation - Path of file in which logging is done.public void disableLogging()
public java.lang.String getLocale()
public void setLocale(EnumLocale enumLocale)
enumLocale - specifies locale specific information.