public class VersionIdentifierFormatterLabel extends AbstractVersionIdentifierFormatterString
Constructor and Description |
---|
VersionIdentifierFormatterLabel(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 VersionIdentifierFormatterLabel(String prefix, int maximumLength)
prefix
- is the static prefix to append before the label
. Will be omitted
if label
is null
.maximumLength
- is the maximum number of letters for the label
. 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.