Class Devicetree

java.lang.Object
oshi.driver.linux.Devicetree

@ThreadSafe
public final class Devicetree
extends java.lang.Object
Utility to read info from the devicetree
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String queryModel()
    Query the model from the devicetree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • queryModel

      public static java.lang.String queryModel()
      Query the model from the devicetree
      Returns:
      The model if available, null otherwise