Uses of Class
kr.motd.maven.os.Detector.LinuxRelease
-
Packages that use Detector.LinuxRelease Package Description kr.motd.maven.os -
-
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 Detector.LinuxRelease
Detector. getLinuxRelease()
private Detector.LinuxRelease
Detector. parseLinuxOsReleaseFile(java.lang.String fileName)
Parses a file in the format of/etc/os-release
and return aDetector.LinuxRelease
based on theID
,ID_LIKE
, andVERSION_ID
entries.private Detector.LinuxRelease
Detector. parseLinuxRedhatReleaseFile(java.lang.String fileName)
Parses the/etc/redhat-release
and returns aDetector.LinuxRelease
containing the ID and like ["rhel", "fedora", ID].
-