public final class CSConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
API_VERSION
The version number of the API.
|
static java.lang.String |
CRLF
Convenience string that represents host system's line break.
|
static java.lang.String |
DELETE_NOT_IMPLEMENTED_MSG
The exception message to be returned when the delete() method has not been implemented.
|
static java.util.regex.Pattern |
EMAIL_ENFORCED_DOMAIN
A precompiled regular expression to match a valid email address.
|
static java.util.regex.Pattern |
EMAIL_OPTIONAL_DOMAIN
A precompiled regular expression to match a valid email address local part, with the domain optional.
|
static java.lang.String |
EMPTY
A named instance of an empty string for everyone to use.
|
static java.lang.String |
EXIST_NOT_IMPLEMENTED_MSG
The exception message to be returned when the exist() method has not been implemented.
|
static java.lang.String |
GET_NOT_IMPLEMENTED_MSG
The exception message to be returned when the get() method has not been implemented.
|
static java.text.SimpleDateFormat |
ISO_DTTM_FORMAT
ISO 8601 date/time formatter.
|
static java.lang.Long |
MINUS_ONE_LONG
Long Object of -1L.
|
static long |
MSPERMINUTE
Milliseconds in one minute.
|
static long |
MSPERYEAR
Milliseconds in one Gregorian Year.
|
static java.lang.String |
NBSP
A named instance of the HTML non-breaking space as a String.
|
static java.lang.Long |
ONE_LONG
Long Object of 1L.
|
static java.util.regex.Pattern |
POSTCODE
A precompiled regular expression to match a valid UK postcode, using Royal Mail's outward and inward code rules.
|
static java.util.Random |
RANDOM_GENERATOR
A (potentially) high quality random number generator.
|
static java.lang.String |
SPACE
A named instance of a single space character (ASCII #32) as a string for everyone to use.
|
static java.lang.String |
UPDATE_NOT_IMPLEMENTED_MSG
The exception message to be returned when the update() method has not been implemented.
|
static java.lang.Long |
ZERO_LONG
Long Object of 0L.
|
public static final java.lang.String EXIST_NOT_IMPLEMENTED_MSG
public static final java.lang.String GET_NOT_IMPLEMENTED_MSG
public static final java.lang.String UPDATE_NOT_IMPLEMENTED_MSG
public static final java.lang.String DELETE_NOT_IMPLEMENTED_MSG
public static final long API_VERSION
public static final java.lang.String CRLF
public static final java.lang.String EMPTY
public static final java.lang.String SPACE
public static final java.lang.String NBSP
public static final java.lang.Long ZERO_LONG
public static final java.lang.Long ONE_LONG
public static final java.lang.Long MINUS_ONE_LONG
public static final long MSPERMINUTE
public static final long MSPERYEAR
public static final java.util.regex.Pattern EMAIL_ENFORCED_DOMAIN
user-1234@home.net
will match, but user-1234
will not.public static final java.util.regex.Pattern EMAIL_OPTIONAL_DOMAIN
user-1234@home.net
and user-1234
will both match.public static final java.util.regex.Pattern POSTCODE
public static final java.text.SimpleDateFormat ISO_DTTM_FORMAT
public static final java.util.Random RANDOM_GENERATOR
Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.