Modifier and Type | Field and Description |
---|---|
static boolean |
IS_SECURITY_ENABLED |
Modifier and Type | Method and Description |
---|---|
static void |
closeQuietly(Connection conn)
Closes the Connection (which may be null).
|
static void |
closeQuietly(ResultSet rset)
Closes the ResultSet (which may be null).
|
static void |
closeQuietly(Statement stmt)
Closes the Statement (which may be null).
|
static String |
getMessage(String key)
Obtain the correct i18n message for the given key.
|
static String |
getMessage(String key,
Object... args)
Obtain the correct i18n message for the given key with placeholders
replaced by the supplied arguments.
|
public static final boolean IS_SECURITY_ENABLED
public static void closeQuietly(ResultSet rset)
rset
- a ResultSet, may be null
public static void closeQuietly(Connection conn)
conn
- a Connection, may be null
public static void closeQuietly(Statement stmt)
stmt
- a Statement, may be null
public static String getMessage(String key)
public static String getMessage(String key, Object... args)
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.