Package org.openas2.util
Class Properties
- java.lang.Object
-
- org.openas2.util.Properties
-
public class Properties extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<java.lang.String,java.lang.String>
_properties
static java.lang.String
APP_BASE_DIR_PROP
static java.lang.String
APP_TITLE_PROP
static java.lang.String
APP_VERSION_PROP
static java.lang.String
AS2_MDN_MESSAGE_ID_FORMAT
static java.lang.String
AS2_MDN_RESP_MAX_WAIT_SECS
static java.lang.String
AS2_MESSAGE_ID_ENCLOSE_IN_BRACKETS
static java.lang.String
AS2_MESSAGE_ID_FORMAT
static java.lang.String
AS2_RX_MESSAGE_FILENAME_FALLBACK
static java.lang.String
HTTP_USER_AGENT_PROP
-
Constructor Summary
Constructors Constructor Description Properties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.String>
getProperties()
static java.lang.String
getProperty(java.lang.String key, java.lang.String fallback)
static void
setProperties(java.util.Map<java.lang.String,java.lang.String> map)
static void
setProperty(java.lang.String prop, java.lang.String val)
-
-
-
Field Detail
-
APP_VERSION_PROP
public static java.lang.String APP_VERSION_PROP
-
APP_TITLE_PROP
public static java.lang.String APP_TITLE_PROP
-
APP_BASE_DIR_PROP
public static java.lang.String APP_BASE_DIR_PROP
-
HTTP_USER_AGENT_PROP
public static java.lang.String HTTP_USER_AGENT_PROP
-
AS2_MESSAGE_ID_FORMAT
public static java.lang.String AS2_MESSAGE_ID_FORMAT
-
AS2_MDN_MESSAGE_ID_FORMAT
public static java.lang.String AS2_MDN_MESSAGE_ID_FORMAT
-
AS2_MESSAGE_ID_ENCLOSE_IN_BRACKETS
public static java.lang.String AS2_MESSAGE_ID_ENCLOSE_IN_BRACKETS
-
AS2_RX_MESSAGE_FILENAME_FALLBACK
public static java.lang.String AS2_RX_MESSAGE_FILENAME_FALLBACK
-
AS2_MDN_RESP_MAX_WAIT_SECS
public static java.lang.String AS2_MDN_RESP_MAX_WAIT_SECS
-
_properties
private static java.util.Map<java.lang.String,java.lang.String> _properties
-
-
Method Detail
-
setProperties
public static void setProperties(java.util.Map<java.lang.String,java.lang.String> map)
-
setProperty
public static void setProperty(java.lang.String prop, java.lang.String val)
-
getProperties
public static java.util.Map<java.lang.String,java.lang.String> getProperties()
-
getProperty
public static java.lang.String getProperty(java.lang.String key, java.lang.String fallback)
-
-