Package com.complexible.common
Class LinuxDistribution
- java.lang.Object
-
- com.complexible.common.LinuxDistribution
-
public final class LinuxDistribution extends java.lang.Object
Set of parsers and utilities for determining version information about the Linux distribution we are currently running on. This class is no longer used but it seems generally useful
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LinuxDistribution.Distribution
-
Constructor Summary
Constructors Constructor Description LinuxDistribution(LinuxDistribution.Distribution distribution, java.lang.String versionId, int majorversion, int minorVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinuxDistribution.Distribution
getDistribution()
int
getMajorVersion()
int
getMinorVersion()
java.lang.String
getVersionId()
java.lang.String
toString()
-
-
-
Constructor Detail
-
LinuxDistribution
public LinuxDistribution(LinuxDistribution.Distribution distribution, java.lang.String versionId, int majorversion, int minorVersion)
-
-
Method Detail
-
getDistribution
public LinuxDistribution.Distribution getDistribution()
-
getVersionId
public java.lang.String getVersionId()
-
getMajorVersion
public int getMajorVersion()
-
getMinorVersion
public int getMinorVersion()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-