Class SystemInfoUtils

java.lang.Object
de.xima.fc.utils.SystemInfoUtils

public class SystemInfoUtils extends Object
Utility class for accessing system information
Author:
XIMA MEDIA GmbH
  • Method Details

    • getPathInfo

      public static final List<InfoItem<List<?>>> getPathInfo()
      Returns information about the system path
      Returns:
      List of InfoItems
    • getEnvironmentInfo

      public static final List<InfoItem<List<?>>> getEnvironmentInfo()
      Returns information about the system enviroment
      Returns:
      List of InfoItems
    • getJavaInfo

      public static final List<InfoItem<List<?>>> getJavaInfo()
      Returns information about the java virtual machine
      Returns:
      List of InfoItems
    • getMemoryInfo

      public static final List<InfoItem<List<?>>> getMemoryInfo()
      Returns memory information of the system
      Returns:
      List of InfoItems
    • getAppInfo

      public static final List<InfoItem<List<?>>> getAppInfo()
      Returns general information about the application
      Returns:
      List of InfoItems
    • getDbInfo

      public static final List<InfoItem<List<?>>> getDbInfo(DataSource ds)
      Returns information about the current database used by formcycle. When no database was configured or the database is not reachable, only the info from XfcConfig.DATABASE is included.
      Parameters:
      ds - Data source for the database connection in use by formcycle. If null, info items that require the data source are omitted in the result.
      Returns:
      A list of info items with database details.
    • getFontInfo

      public static final List<InfoItem<?>> getFontInfo()
      Returns information about the system fonts
      Returns:
      List of InfoItems
    • getInfoForGui

      public static final List<InfoItem<?>> getInfoForGui(List<InfoItem<List<?>>> original)