Package de.businesscode.bcdui.web.i18n
Class I18nDbResources
- java.lang.Object
-
- java.util.ResourceBundle
-
- java.util.ListResourceBundle
-
- de.businesscode.bcdui.web.i18n.I18nDbResources
-
public class I18nDbResources extends java.util.ListResourceBundle
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BCDUI_DATE_PATTERN
static java.lang.String
BCDUI_DATE_SEPARATOR
static java.lang.String
BCDUI_DATETIME_PATTERN
static java.lang.String
BCDUI_DECIMAL_SEPARATOR
static java.lang.String
BCDUI_GROUPING_SEPARATOR
static java.lang.String
BCDUI_LANG_VAR_NAME
static java.lang.String
BCDUI_XSLT_DATE_PATTERN
static java.lang.String
BCDUI_XSLT_DATETIME_PATTERN
-
Constructor Summary
Constructors Constructor Description I18nDbResources(javax.servlet.http.HttpSession session, java.sql.Connection con)
I18nDbResources
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.sql.Connection
getCon()
Deprecated.java.sql.Connection
getConnection()
protected java.lang.Object[][]
getContents()
static java.sql.Connection
getControlConnection()
java.lang.String
getDatePattern()
java.lang.String
getDateSeparator()
java.lang.String
getDateTimePattern()
java.lang.String
getDecimalSeparator()
java.lang.String
getGroupSeparator()
java.util.Locale
getLang()
Deprecated.java.util.Locale
getLanguage()
org.apache.logging.log4j.Logger
getLogger()
java.util.ResourceBundle
getMessagesBundle()
static java.lang.String
getTransformSQL(java.lang.String sql)
java.lang.String
getXsltDatePattern()
java.lang.String
getXsltDateTimePattern()
void
setCon(java.sql.Connection con)
Deprecated.void
setConnection(java.sql.Connection con)
void
setDatePattern(java.lang.String datePattern)
void
setDateSeparator(java.lang.String dateSeparator)
void
setDateTimePattern(java.lang.String dateTimePattern)
void
setDecimalSeparator(java.lang.String decimalSeparator)
void
setGroupSeparator(java.lang.String groupSeparator)
void
setLang(java.util.Locale lang)
Deprecated.void
setLanguage(java.util.Locale lang)
void
setLogger(org.apache.logging.log4j.Logger logger)
void
setMessagesBundle(java.util.ResourceBundle messagesBundle)
void
setXsltDatePattern(java.lang.String xsltDatePattern)
void
setXsltDateTimePattern(java.lang.String xsltDateTimePattern)
-
-
-
Field Detail
-
BCDUI_LANG_VAR_NAME
public static final java.lang.String BCDUI_LANG_VAR_NAME
- See Also:
- Constant Field Values
-
BCDUI_DECIMAL_SEPARATOR
public static final java.lang.String BCDUI_DECIMAL_SEPARATOR
- See Also:
- Constant Field Values
-
BCDUI_GROUPING_SEPARATOR
public static final java.lang.String BCDUI_GROUPING_SEPARATOR
- See Also:
- Constant Field Values
-
BCDUI_DATE_PATTERN
public static final java.lang.String BCDUI_DATE_PATTERN
- See Also:
- Constant Field Values
-
BCDUI_DATETIME_PATTERN
public static final java.lang.String BCDUI_DATETIME_PATTERN
- See Also:
- Constant Field Values
-
BCDUI_XSLT_DATE_PATTERN
public static final java.lang.String BCDUI_XSLT_DATE_PATTERN
- See Also:
- Constant Field Values
-
BCDUI_XSLT_DATETIME_PATTERN
public static final java.lang.String BCDUI_XSLT_DATETIME_PATTERN
- See Also:
- Constant Field Values
-
BCDUI_DATE_SEPARATOR
public static final java.lang.String BCDUI_DATE_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContents
protected java.lang.Object[][] getContents()
- Specified by:
getContents
in classjava.util.ListResourceBundle
- See Also:
ListResourceBundle.getContents()
-
getControlConnection
public static java.sql.Connection getControlConnection() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getTransformSQL
public static java.lang.String getTransformSQL(java.lang.String sql)
-
getLang
@Deprecated public java.util.Locale getLang()
Deprecated.
-
setLang
@Deprecated public void setLang(java.util.Locale lang)
Deprecated.
-
getLanguage
public java.util.Locale getLanguage()
-
setLanguage
public void setLanguage(java.util.Locale lang)
-
getLogger
public org.apache.logging.log4j.Logger getLogger()
-
setLogger
public void setLogger(org.apache.logging.log4j.Logger logger)
-
getCon
@Deprecated public java.sql.Connection getCon()
Deprecated.
-
setCon
@Deprecated public void setCon(java.sql.Connection con)
Deprecated.
-
getConnection
public java.sql.Connection getConnection()
-
setConnection
public void setConnection(java.sql.Connection con)
-
getDecimalSeparator
public java.lang.String getDecimalSeparator()
-
setDecimalSeparator
public void setDecimalSeparator(java.lang.String decimalSeparator)
-
getGroupSeparator
public java.lang.String getGroupSeparator()
-
setGroupSeparator
public void setGroupSeparator(java.lang.String groupSeparator)
-
getDatePattern
public java.lang.String getDatePattern()
-
setDatePattern
public void setDatePattern(java.lang.String datePattern)
-
getDateTimePattern
public java.lang.String getDateTimePattern()
-
setDateTimePattern
public void setDateTimePattern(java.lang.String dateTimePattern)
-
getXsltDatePattern
public java.lang.String getXsltDatePattern()
-
setXsltDatePattern
public void setXsltDatePattern(java.lang.String xsltDatePattern)
-
getXsltDateTimePattern
public java.lang.String getXsltDateTimePattern()
-
setXsltDateTimePattern
public void setXsltDateTimePattern(java.lang.String xsltDateTimePattern)
-
getDateSeparator
public java.lang.String getDateSeparator()
-
setDateSeparator
public void setDateSeparator(java.lang.String dateSeparator)
-
getMessagesBundle
public java.util.ResourceBundle getMessagesBundle()
-
setMessagesBundle
public void setMessagesBundle(java.util.ResourceBundle messagesBundle)
-
-