Class SysPath


  • @ThreadSafe
    public final class SysPath
    extends java.lang.Object
    Provides constants for paths in the /sys filesystem on Linux.

    If the user desires to configure a custom /sys path, it must be declared in the OSHI configuration file or updated in the GlobalConfig class prior to initializing this class.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CPU  
      static java.lang.String DMI_ID  
      static java.lang.String HWMON  
      static java.lang.String MODEL  
      static java.lang.String NET  
      static java.lang.String POWER_SUPPLY  
      static java.lang.String SYS
      The /sys filesystem location.
      static java.lang.String THERMAL  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SysPath()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String querySysConfig()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SYS

        public static final java.lang.String SYS
        The /sys filesystem location.
      • CPU

        public static final java.lang.String CPU
      • DMI_ID

        public static final java.lang.String DMI_ID
      • NET

        public static final java.lang.String NET
      • MODEL

        public static final java.lang.String MODEL
      • POWER_SUPPLY

        public static final java.lang.String POWER_SUPPLY
      • HWMON

        public static final java.lang.String HWMON
      • THERMAL

        public static final java.lang.String THERMAL
    • Constructor Detail

      • SysPath

        private SysPath()
    • Method Detail

      • querySysConfig

        private static java.lang.String querySysConfig()