public class VersionIdentifierFormatterRevision extends AbstractVersionIdentifierFormatterNumber
Constructor and Description |
---|
VersionIdentifierFormatterRevision(StringUtil stringUtil,
String prefix,
int padding)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Number |
getNumber(VersionIdentifier value)
This method gets the
Number to format. |
doFormat
format, format, formatNull
public VersionIdentifierFormatterRevision(StringUtil stringUtil, String prefix, int padding)
stringUtil
- is the StringUtil
instance.prefix
- is the static prefix to append before the revision
. Will be
omitted if revision
is null
.padding
- is the padding (minimum number of digits) for the revision
.
The default is 0
.protected Number getNumber(VersionIdentifier value)
AbstractVersionIdentifierFormatterNumber
Number
to format.getNumber
in class AbstractVersionIdentifierFormatterNumber
value
- is the VersionIdentifier
.Number
to format.Copyright © 2001–2016 mmm-Team. All rights reserved.