Serializable
, Comparable<Delimiter>
, org.refcodes.mixin.CharAccessor
public enum Delimiter extends Enum<Delimiter> implements org.refcodes.mixin.CharAccessor
Enum Constant | Description |
---|---|
ARRAY |
When concatenating the elements of an array to a single line, then per
default this delimiter us used (":").
|
CIPHER_UID |
The delimiter char separating a cipher UID from an encrypted text (":").
|
COOKIE_PROPERTIES |
The delimiter separating properties (key/value-pairs/tuples) from each
other (";").
|
COOKIE_TUPEL |
The delimiter separating a cookie's tuple name from its value ("=").
|
CORRELATION_ID |
The delimiter char separating correlation IDs from each other (":").
|
CSV |
Default delimiter for CSV (comma separated values) lines; this is not
necessarily a comma (","), moreover we choose to use the semicolon ";".
|
DOS_PATH |
The path delimiter for all descendants of good old MS-DOS.
|
HTTP_HEADER_ELEMENTS |
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 (",").
|
INDEX |
A number (index) is prefixed by a hash ("#").
|
INNER_CLASS |
The separator separating an inner class from a class in a fully qualified
class name ("$").
|
IP_V4 |
IPv4 delimiter as of the CIDR notation (see
"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation").
|
IP_V6 |
IPv6 delimiter as of the CIDR notation (see
"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation").
|
JAR_URL_RESOURCE |
Separates the JAR file from the therein addressed resource ("!").
|
KEBAB_CASE |
When concatenating elements in a word written in kebab case (e.g.
|
LIST |
When concatenating the elements of a list to a single line, then per
default this delimiter us used (",").
|
MEDIA_TYPE_PARAMETERS |
The delimiter separating a HTTP header's media type declaration from the
(optional) parameters and the parameters from each other (";").
|
METHOD_NAME |
The separator separating a method name from a class name ("#").
|
NAMESPACE |
A hierarchy such as a package structure often is represented by dot "."
|
PACKAGE_HIERARCHY |
The separator separating the packages from a package hierarchy (".").
|
PATH |
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 |
The delimiter separating a key from a value of a key/value property
("=").
|
SNAKE_CASE |
When concatenating elements in a word written in snake case (e.g.
|
SYSTEM_FILE_PATH |
The system's file path delimiter as used by the underlying operating
system.
|
URL_CREDENTIALS |
User-info representing a credentials in an URL are separated be a colon
(":").
|
URL_FRAGMENT |
A fragment is the hash ("#") separated suffix of an URL.
|
URL_PORT |
When separating a host from a port in an URL, then per definition this
delimiter is used (":").
|
URL_QUERY |
The delimiter char separating the locator part from a query string of an
URL ("?").
|
URL_USER_INFO |
User-info (e.g. credentials) in an URL are separated be an ampersand
("@").
|
WEB_FIELD |
The delimiter char separating one web field from another in a query
string of an URL ("&").
|
Modifier and Type | Method | 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 INDEX
public static final Delimiter URL_FRAGMENT
public static final Delimiter URL_CREDENTIALS
public static final Delimiter URL_USER_INFO
public static final Delimiter PATH
SystemProperty.FILE_SEPARATOR
.public static final Delimiter DOS_PATH
public static final Delimiter SYSTEM_FILE_PATH
public static final Delimiter CSV
public static final Delimiter ARRAY
public static final Delimiter IP_V4
public static final Delimiter IP_V6
public static final Delimiter URL_PORT
public static final Delimiter LIST
public static final Delimiter SNAKE_CASE
public static final Delimiter KEBAB_CASE
public static final Delimiter NAMESPACE
public static final Delimiter COOKIE_PROPERTIES
public static final Delimiter COOKIE_TUPEL
public static final Delimiter PROPERTY
public static final Delimiter JAR_URL_RESOURCE
public static final Delimiter METHOD_NAME
public static final Delimiter INNER_CLASS
public static final Delimiter PACKAGE_HIERARCHY
public static final Delimiter CIPHER_UID
public static final Delimiter CORRELATION_ID
public static final Delimiter WEB_FIELD
public static final Delimiter URL_QUERY
public static final Delimiter MEDIA_TYPE_PARAMETERS
public static final Delimiter HTTP_HEADER_ELEMENTS
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 © 2018. All rights reserved.