public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static String |
get(Properties props,
String name) |
static String |
get(Properties props,
String name,
String defaultValue) |
static String |
getTime() |
static String |
getTime(Date date) |
static Properties |
loadProperties(String configurationFileProperty,
String configurationFileDefault) |
static Map<String,String> |
map(String... args) |
static String |
require(Properties props,
String name) |
static void |
safeClose(Closeable closeable) |
public static void safeClose(Closeable closeable)
public static Properties loadProperties(String configurationFileProperty, String configurationFileDefault) throws IOException
IOExceptionpublic static String require(Properties props, String name)
public static String get(Properties props, String name)
public static String get(Properties props, String name, String defaultValue)
public static String getTime()
Copyright © 2016 JBoss by Red Hat. All rights reserved.