Uses of Class
kr.motd.maven.os.Detector.LinuxRelease
Packages that use Detector.LinuxRelease
-
Uses of Detector.LinuxRelease in kr.motd.maven.os
Methods in kr.motd.maven.os that return Detector.LinuxReleaseModifier and TypeMethodDescriptionprivate Detector.LinuxRelease
Detector.getLinuxRelease()
private Detector.LinuxRelease
Detector.parseLinuxOsReleaseFile
(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
(String fileName) Parses the/etc/redhat-release
and returns aDetector.LinuxRelease
containing the ID and like ["rhel", "fedora", ID].