Class LinuxInfo

  • Direct Known Subclasses:
    LinuxCpuInfo, LinuxMemInfo

    public abstract class LinuxInfo
    extends Object
    This class define a linux info file parser.
    Since:
    1.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • LinuxInfo

        public LinuxInfo()
    • Method Detail

      • getInfoFile

        public abstract File getInfoFile()
        Get the file to parse.
        Returns:
        the file to parse
      • parse

        protected void parse()
      • get

        public String get​(String key)
        Get the value for a key
        Parameters:
        key - key
        Returns:
        the value for the key