Package de.xima.fc.utils
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<InfoItem<List<?>>>
getAppInfo()
Returns general information about the applicationstatic List<InfoItem<List<?>>>
getDbInfo(DataSource ds)
Returns information about the current database used by FORMCYCLE.static List<InfoItem<List<?>>>
getEnvironmentInfo()
Returns information about the system enviromentstatic List<InfoItem<?>>
getFontInfo()
Returns information about the system fontsstatic List<InfoItem<?>>
getInfoForGui(List<InfoItem<List<?>>> original)
static List<InfoItem<List<?>>>
getJavaInfo()
Returns information about the java virtual machinestatic List<InfoItem<List<?>>>
getMemoryInfo()
Returns memory information of the systemstatic List<InfoItem<List<?>>>
getPathInfo()
Returns information about the system path
-
-
-
Method Detail
-
getPathInfo
public static final List<InfoItem<List<?>>> getPathInfo()
Returns information about the system path
-
getEnvironmentInfo
public static final List<InfoItem<List<?>>> getEnvironmentInfo()
Returns information about the system enviroment
-
getJavaInfo
public static final List<InfoItem<List<?>>> getJavaInfo()
Returns information about the java virtual machine
-
getMemoryInfo
public static final List<InfoItem<List<?>>> getMemoryInfo()
Returns memory information of the system
-
getAppInfo
public static final List<InfoItem<List<?>>> getAppInfo()
Returns general information about the application
-
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 fromXfcConfig.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
-
-