| Modifier and Type | Method and 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 a Detector.LinuxRelease
based on the ID, ID_LIKE, and VERSION_ID entries. |
private static Detector.LinuxRelease |
Detector.parseLinuxRedhatReleaseFile(java.io.File file)
Parses the
/etc/redhat-release and returns a Detector.LinuxRelease containing the
ID and like ["rhel", "fedora", ID]. |