public class Versioning
extends java.lang.Object
| Constructor and Description |
|---|
Versioning() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
shorten4(java.lang.String version)
Converts 10.1.2.3 to 101203 and 10.1.2.10 to 101210.
|
public static java.lang.String shorten4(java.lang.String version)
The parameter version must have four segments (12.3.4.56).
The fourth segment (patch level) will be zero-padded to two digits if it has only one digit.
version - The version to convert