namespace jfw_plugin
{ /* SunVersion is used to compare java versions based on a string, as taken fromtheregistry.Thestringslooklike"1.3","1.3.1","1.3.1_02"etc. Versionssuchas"1.4.1_01a"areallowedalthoughthisisnotspecified. 1.4.1_01<1.4.1_01a<1.4.1_01b<1.4.1_02 Pre-releaseversions,suchas1.4.1-ea,1.4.1-beta,1.4.1-rcarerecognized, butaretreatedasminortoreleaseversions: 1.4.0>1.4.2-beta Prereleasesrelatethisway 1.4.1-ea<1.4.1-beta<1.4.1-rc1
/** Test if the version is compatible tu SUN's versioning scheme
*/ operatorbool() { return m_bValid; }
private: bool init(constchar* szVer);
bool m_bValid;
/* Determines if a string constitutes a pre release. For example, if "ea"ispassedthenRel_EAisreturned.Ifthestringisnoprerelease thenRel_NONEisreturned.
*/ static PreRelease getPreRelease(constchar* szRel);
};
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.