public class VersionIdentifierFormatterPhaseValue extends AbstractVersionIdentifierFormatterString
Constructor and Description |
---|
VersionIdentifierFormatterPhaseValue(String prefix,
int maximumLength)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getString(VersionIdentifier value)
This method gets the
String to format. |
doFormat
format, format, formatNull
public VersionIdentifierFormatterPhaseValue(String prefix, int maximumLength)
prefix
- is the static prefix to append before the phase
. Will be omitted
if phase
is null
.maximumLength
- is the maximum number of letters for the phase
. The
default is Integer.MAX_VALUE
.protected String getString(VersionIdentifier value)
AbstractVersionIdentifierFormatterString
String
to format.getString
in class AbstractVersionIdentifierFormatterString
value
- is the VersionIdentifier
.String
to format.Copyright © 2001–2016 mmm-Team. All rights reserved.