|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionNumber
The interface VersionNumber, represents a (software package) version. Where number is not strictly a number. Just a list of parts, as like many version (numbers) which are split up by a dot. The VersionNumber instance can contain any String, so also version number parts like 'alpha', 'beta', 'pre-release', or similar.
Method Summary | |
---|---|
String |
getAsText(String separator)
Returns the version number as text, using the separator, for separation of the different version number parts. |
List<String> |
getPartitionedVersion()
A list of strings, which form together the version number. |
Methods inherited from interface net.sourceforge.argval.version.VersionNumberVisitorAcceptor |
---|
accept |
Method Detail |
---|
List<String> getPartitionedVersion()
String getAsText(String separator)
Given the version number parts: [2, 2, 3, beta, 3] Will result in the text: '2.2.3.beta.3'
separator
- - the separator, used between the different version number parts.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |