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. |
doFormatformat, format, formatNullpublic 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)
String to format.getString in class AbstractVersionIdentifierFormatterStringvalue - is the VersionIdentifier.String to format.Copyright © 2001–2015 mmm-Team. All rights reserved.