public abstract class DefaultSystemInfoProvider extends SystemInfoProviderBase implements SystemInfoProvider
| Constructor and Description |
|---|
DefaultSystemInfoProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getBashVersionInfo() |
String |
getBogoMIPS() |
String |
getCpuArchitecture() |
String[] |
getCpuFeatures() |
String |
getCpuImplementer() |
protected String |
getCpuInfo(String target)
This method will read and parse the '/proc/cpuinfo' into a collection of properties.
|
String |
getCpuPart() |
String |
getCpuRevision() |
String |
getCpuVariant() |
String |
getHardware() |
String |
getJavaRuntime() |
String |
getJavaVendor() |
String |
getJavaVendorUrl() |
String |
getJavaVersion() |
String |
getJavaVirtualMachine() |
protected List<Long> |
getMemory() |
long |
getMemoryBuffers() |
long |
getMemoryCached() |
long |
getMemoryFree() |
long |
getMemoryShared() |
long |
getMemoryTotal() |
long |
getMemoryUsed() |
String |
getOsArch() |
String |
getOsName() |
String |
getOsVersion() |
String |
getProcessor() |
protected String |
getReadElfTag(String tag) |
String |
getRevision() |
String |
getSerial() |
protected boolean |
hasReadElfTag(String tag) |
boolean |
isHardFloatAbi() |
getBoardType, getClockFrequencyArm, getClockFrequencyCore, getClockFrequencyDPI, getClockFrequencyEMMC, getClockFrequencyH264, getClockFrequencyHDMI, getClockFrequencyISP, getClockFrequencyPixel, getClockFrequencyPWM, getClockFrequencyUART, getClockFrequencyV3D, getClockFrequencyVEC, getCodecH264Enabled, getCodecMPG2Enabled, getCodecWVC1Enabled, getCpuTemperature, getCpuVoltage, getMemoryVoltageSDRam_C, getMemoryVoltageSDRam_I, getMemoryVoltageSDRam_P, getModelName, getOsFirmwareBuild, getOsFirmwareDateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBoardType, getClockFrequencyArm, getClockFrequencyCore, getClockFrequencyDPI, getClockFrequencyEMMC, getClockFrequencyH264, getClockFrequencyHDMI, getClockFrequencyISP, getClockFrequencyPixel, getClockFrequencyPWM, getClockFrequencyUART, getClockFrequencyV3D, getClockFrequencyVEC, getCodecH264Enabled, getCodecMPG2Enabled, getCodecWVC1Enabled, getCpuTemperature, getCpuVoltage, getMemoryVoltageSDRam_C, getMemoryVoltageSDRam_I, getMemoryVoltageSDRam_P, getModelName, getOsFirmwareBuild, getOsFirmwareDatepublic DefaultSystemInfoProvider()
protected String getCpuInfo(String target) throws IOException, InterruptedException, UnsupportedOperationException
target - IOExceptionInterruptedExceptionUnsupportedOperationExceptionprotected String getBashVersionInfo()
protected boolean hasReadElfTag(String tag)
protected String getReadElfTag(String tag)
protected List<Long> getMemory() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getProcessor() throws IOException, InterruptedException, UnsupportedOperationException
getProcessor in interface SystemInfoProvidergetProcessor in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getBogoMIPS() throws IOException, InterruptedException, UnsupportedOperationException
getBogoMIPS in interface SystemInfoProvidergetBogoMIPS in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String[] getCpuFeatures() throws IOException, InterruptedException, UnsupportedOperationException
getCpuFeatures in interface SystemInfoProvidergetCpuFeatures in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getCpuImplementer() throws IOException, InterruptedException, UnsupportedOperationException
getCpuImplementer in interface SystemInfoProvidergetCpuImplementer in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getCpuArchitecture() throws IOException, InterruptedException, UnsupportedOperationException
getCpuArchitecture in interface SystemInfoProvidergetCpuArchitecture in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getCpuVariant() throws IOException, InterruptedException, UnsupportedOperationException
getCpuVariant in interface SystemInfoProvidergetCpuVariant in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getCpuPart() throws IOException, InterruptedException, UnsupportedOperationException
getCpuPart in interface SystemInfoProvidergetCpuPart in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getCpuRevision() throws IOException, InterruptedException, UnsupportedOperationException
getCpuRevision in interface SystemInfoProvidergetCpuRevision in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getHardware() throws IOException, InterruptedException, UnsupportedOperationException
getHardware in interface SystemInfoProvidergetHardware in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getRevision() throws IOException, InterruptedException, UnsupportedOperationException
getRevision in interface SystemInfoProvidergetRevision in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getSerial() throws IOException, InterruptedException, UnsupportedOperationException
getSerial in interface SystemInfoProvidergetSerial in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic String getOsName() throws UnsupportedOperationException
getOsName in interface SystemInfoProvidergetOsName in class SystemInfoProviderBaseUnsupportedOperationExceptionpublic String getOsVersion() throws UnsupportedOperationException
getOsVersion in interface SystemInfoProvidergetOsVersion in class SystemInfoProviderBaseUnsupportedOperationExceptionpublic String getOsArch() throws UnsupportedOperationException
getOsArch in interface SystemInfoProvidergetOsArch in class SystemInfoProviderBaseUnsupportedOperationExceptionpublic String getJavaVendor() throws UnsupportedOperationException
getJavaVendor in interface SystemInfoProvidergetJavaVendor in class SystemInfoProviderBaseUnsupportedOperationExceptionpublic String getJavaVendorUrl() throws UnsupportedOperationException
getJavaVendorUrl in interface SystemInfoProvidergetJavaVendorUrl in class SystemInfoProviderBaseUnsupportedOperationExceptionpublic String getJavaVersion() throws UnsupportedOperationException
getJavaVersion in interface SystemInfoProvidergetJavaVersion in class SystemInfoProviderBaseUnsupportedOperationExceptionpublic String getJavaVirtualMachine() throws UnsupportedOperationException
getJavaVirtualMachine in interface SystemInfoProvidergetJavaVirtualMachine in class SystemInfoProviderBaseUnsupportedOperationExceptionpublic String getJavaRuntime() throws UnsupportedOperationException
getJavaRuntime in interface SystemInfoProvidergetJavaRuntime in class SystemInfoProviderBaseUnsupportedOperationExceptionpublic boolean isHardFloatAbi() throws UnsupportedOperationException
isHardFloatAbi in interface SystemInfoProviderisHardFloatAbi in class SystemInfoProviderBaseUnsupportedOperationExceptionpublic long getMemoryTotal() throws IOException, InterruptedException, UnsupportedOperationException
getMemoryTotal in interface SystemInfoProvidergetMemoryTotal in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic long getMemoryUsed() throws IOException, InterruptedException, UnsupportedOperationException
getMemoryUsed in interface SystemInfoProvidergetMemoryUsed in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic long getMemoryFree() throws IOException, InterruptedException, UnsupportedOperationException
getMemoryFree in interface SystemInfoProvidergetMemoryFree in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic long getMemoryShared() throws IOException, InterruptedException, UnsupportedOperationException
getMemoryShared in interface SystemInfoProvidergetMemoryShared in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic long getMemoryBuffers() throws IOException, InterruptedException, UnsupportedOperationException
getMemoryBuffers in interface SystemInfoProvidergetMemoryBuffers in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionpublic long getMemoryCached() throws IOException, InterruptedException, UnsupportedOperationException
getMemoryCached in interface SystemInfoProvidergetMemoryCached in class SystemInfoProviderBaseIOExceptionInterruptedExceptionUnsupportedOperationExceptionCopyright © 2012–2019 Pi4J. All rights reserved.