public enum Delimiter extends Enum<Delimiter> implements org.refcodes.mixin.CharAccessor
Enum Constant and Description |
---|
ARRAY_DELIMITER
When concatenating the elements of an array to a single line, then per
default this delimiter us used (":").
|
CIPHER_UID_DELIMITER
The delimiter char separating a cipher UID from an encrypted text (":").
|
COOKIE_PROPERTIES_DELIMITER
The delimiter separating properties (key/value-pairs/tuples) from each
other (";").
|
COOKIE_TUPEL_DELIMITER
The delimiter separating a cookie's tuple name from its value ("=").
|
CORRELATION_ID_DELIMITER
The delimiter char separating correlation IDs from each other (":").
|
CSV_DELIMITER
Default delimiter for CSV (comma separated values) lines; this is not
necessarily a comma (","), moreover we choose to use the semicolon ";".
|
HTTP_HEADER_ELEMENTS_DELIMITER
The delimiter in HTTP headers for multiple elements in a single header
field, e.g. in the ACCEPT header field separating multiple media type
declarations from each other (",").
|
HTTP_QUERY_STRING_DELIMITER
The delimiter char separating the locator part from a query string of an
URL ("?").
|
JAR_URL_RESOURCE_DELIMITER
Separates the JAR file from the therein addressed resource ("!").
|
LIST_DELIMITER
When concatenating the elements of a list to a single line, then per
default this delimiter us used (",").
|
MEDIA_TYPE_PARAMETERS_DELIMITER
The delimiter separating a HTTP header's media type declaration from the
(optional) parameters and the parameters from each other (";").
|
METHOD_NAME_DELIMITER
The separator separating a method name from a class name ("#").
|
NAMESPACE_DELIMITER
A hierarchy such as a package structure often is represented by dot "."
|
PATH_DELIMITER
The default path delimiter for all kinds of paths ("/"); the delimiter is
used to compose address locators for resources from inside JAR files or
for *nix alike operating systems.
|
PROPERTY_DELIMITER
The delimiter separating a key from a value of a key/value property
("=").
|
SNAKE_CASE_DELIMITER
When concatenating elements in a word written in snake case (e.g.
|
SYSTEM_FILE_PATH_DELIMITER
The system's file path delimiter as used by the underlying operating
system.
|
WEB_FIELD_DELIMITER
The delimiter char separating one web field from another in a query
string of an URL ("&").
|
Modifier and Type | Method and Description |
---|---|
char |
getChar() |
static Delimiter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Delimiter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Delimiter PATH_DELIMITER
SystemConsts#FILE_PATH_DELIMITER
.public static final Delimiter SYSTEM_FILE_PATH_DELIMITER
public static final Delimiter CSV_DELIMITER
public static final Delimiter ARRAY_DELIMITER
public static final Delimiter LIST_DELIMITER
public static final Delimiter SNAKE_CASE_DELIMITER
public static final Delimiter NAMESPACE_DELIMITER
public static final Delimiter COOKIE_PROPERTIES_DELIMITER
public static final Delimiter COOKIE_TUPEL_DELIMITER
public static final Delimiter PROPERTY_DELIMITER
public static final Delimiter JAR_URL_RESOURCE_DELIMITER
public static final Delimiter METHOD_NAME_DELIMITER
public static final Delimiter CIPHER_UID_DELIMITER
public static final Delimiter CORRELATION_ID_DELIMITER
public static final Delimiter WEB_FIELD_DELIMITER
public static final Delimiter HTTP_QUERY_STRING_DELIMITER
public static final Delimiter MEDIA_TYPE_PARAMETERS_DELIMITER
public static final Delimiter HTTP_HEADER_ELEMENTS_DELIMITER
public static Delimiter[] values()
for (Delimiter c : Delimiter.values()) System.out.println(c);
public static Delimiter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic char getChar()
getChar
in interface org.refcodes.mixin.CharAccessor
Copyright © 2017. All rights reserved.