Class 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
    • Constructor Detail

      • LinuxDistribution

        public LinuxDistribution​(LinuxDistribution.Distribution distribution,
                                 java.lang.String versionId,
                                 int majorversion,
                                 int minorVersion)
    • Method Detail

      • getVersionId

        public java.lang.String getVersionId()
      • getMajorVersion

        public int getMajorVersion()
      • getMinorVersion

        public int getMinorVersion()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object