|
Eclipse Platform Kepler (4.3) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVersionFormat
The IVersionFormat represents the Omni Version Format in compiled form. It is also a parser for versions of that format.
An instance of IVersionFormat is immutable and thus thread safe. The parser does not maintain any state.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_MAX_STRING_TRANSLATION
The string that by default will be interpreted as the logical max string when parsing optional elements of type string and a default that is the empty string (i.e. |
static java.lang.String |
DEFAULT_MIN_STRING_TRANSLATION
The string that by default will be interpreted as the logical min string when parsing optional elements of type string and a default that is the max string (i.e. |
Method Summary | |
---|---|
Version |
parse(java.lang.String version)
Parse the given version string. |
void |
toString(java.lang.StringBuffer sb)
Appends the string representation of this compiled format to the given StringBuffer. |
Field Detail |
---|
static final java.lang.String DEFAULT_MAX_STRING_TRANSLATION
static final java.lang.String DEFAULT_MIN_STRING_TRANSLATION
Method Detail |
---|
void toString(java.lang.StringBuffer sb)
sb
- The buffer that will receive the string representationVersion parse(java.lang.String version)
version
- The version string to parse.
java.lang.IllegalArgumentException
- If the version string could not be parsed.
|
Eclipse Platform Kepler (4.3) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.