Uses of Class
kr.motd.maven.os.Detector.LinuxRelease
-
-
Uses of Detector.LinuxRelease in kr.motd.maven.os
Methods in kr.motd.maven.os that return Detector.LinuxRelease Modifier and Type Method Description private static Detector.LinuxRelease
Detector. getLinuxRelease()
private static Detector.LinuxRelease
Detector. parseLinuxOsReleaseFile(java.io.File file)
Parses a file in the format of/etc/os-release
and return aDetector.LinuxRelease
based on theID
,ID_LIKE
, andVERSION_ID
entries.private static Detector.LinuxRelease
Detector. parseLinuxRedhatReleaseFile(java.io.File file)
Parses the/etc/redhat-release
and returns aDetector.LinuxRelease
containing the ID and like ["rhel", "fedora", ID].
-