Package com.pi4j.system.impl
Class SystemInfoProviderBase
- java.lang.Object
-
- com.pi4j.system.impl.SystemInfoProviderBase
-
- All Implemented Interfaces:
SystemInfoProvider
- Direct Known Subclasses:
DefaultSystemInfoProvider
public abstract class SystemInfoProviderBase extends Object implements SystemInfoProvider
Abstract base implementation of the SystemInfoProvider interface. This base impl is a NO-OP impl, simply throwing a 'UnsupportedOperationException' for each method.
-
-
Constructor Summary
Constructors Constructor Description SystemInfoProviderBase()
-
Method Summary
-
-
-
Method Detail
-
getProcessor
public String getProcessor() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getProcessorin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getModelName
public String getModelName() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getModelNamein interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getBogoMIPS
public String getBogoMIPS() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getBogoMIPSin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getCpuFeatures
public String[] getCpuFeatures() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuFeaturesin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getCpuImplementer
public String getCpuImplementer() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuImplementerin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getCpuArchitecture
public String getCpuArchitecture() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuArchitecturein interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getCpuVariant
public String getCpuVariant() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuVariantin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getCpuPart
public String getCpuPart() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuPartin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getCpuRevision
public String getCpuRevision() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuRevisionin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getHardware
public String getHardware() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getHardwarein interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getRevision
public String getRevision() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getRevisionin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getSerial
public String getSerial() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getSerialin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getOsName
public String getOsName() throws UnsupportedOperationException
- Specified by:
getOsNamein interfaceSystemInfoProvider- Throws:
UnsupportedOperationException
-
getOsVersion
public String getOsVersion() throws UnsupportedOperationException
- Specified by:
getOsVersionin interfaceSystemInfoProvider- Throws:
UnsupportedOperationException
-
getOsArch
public String getOsArch() throws UnsupportedOperationException
- Specified by:
getOsArchin interfaceSystemInfoProvider- Throws:
UnsupportedOperationException
-
getOsFirmwareBuild
public String getOsFirmwareBuild() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getOsFirmwareBuildin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getOsFirmwareDate
public String getOsFirmwareDate() throws IOException, InterruptedException, ParseException, UnsupportedOperationException
- Specified by:
getOsFirmwareDatein interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionParseExceptionUnsupportedOperationException
-
getJavaVendor
public String getJavaVendor() throws UnsupportedOperationException
- Specified by:
getJavaVendorin interfaceSystemInfoProvider- Throws:
UnsupportedOperationException
-
getJavaVendorUrl
public String getJavaVendorUrl() throws UnsupportedOperationException
- Specified by:
getJavaVendorUrlin interfaceSystemInfoProvider- Throws:
UnsupportedOperationException
-
getJavaVersion
public String getJavaVersion() throws UnsupportedOperationException
- Specified by:
getJavaVersionin interfaceSystemInfoProvider- Throws:
UnsupportedOperationException
-
getJavaVirtualMachine
public String getJavaVirtualMachine() throws UnsupportedOperationException
- Specified by:
getJavaVirtualMachinein interfaceSystemInfoProvider- Throws:
UnsupportedOperationException
-
getJavaRuntime
public String getJavaRuntime() throws UnsupportedOperationException
- Specified by:
getJavaRuntimein interfaceSystemInfoProvider- Throws:
UnsupportedOperationException
-
isHardFloatAbi
public boolean isHardFloatAbi() throws UnsupportedOperationException- Specified by:
isHardFloatAbiin interfaceSystemInfoProvider- Throws:
UnsupportedOperationException
-
getMemoryTotal
public long getMemoryTotal() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getMemoryTotalin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getMemoryUsed
public long getMemoryUsed() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getMemoryUsedin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getMemoryFree
public long getMemoryFree() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getMemoryFreein interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getMemoryShared
public long getMemoryShared() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getMemorySharedin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getMemoryBuffers
public long getMemoryBuffers() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getMemoryBuffersin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getMemoryCached
public long getMemoryCached() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getMemoryCachedin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getBoardType
public SystemInfo.BoardType getBoardType() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getBoardTypein interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getCpuTemperature
public float getCpuTemperature() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException- Specified by:
getCpuTemperaturein interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionNumberFormatExceptionUnsupportedOperationException
-
getCpuVoltage
public float getCpuVoltage() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException- Specified by:
getCpuVoltagein interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionNumberFormatExceptionUnsupportedOperationException
-
getMemoryVoltageSDRam_C
public float getMemoryVoltageSDRam_C() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException- Specified by:
getMemoryVoltageSDRam_Cin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionNumberFormatExceptionUnsupportedOperationException
-
getMemoryVoltageSDRam_I
public float getMemoryVoltageSDRam_I() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException- Specified by:
getMemoryVoltageSDRam_Iin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionNumberFormatExceptionUnsupportedOperationException
-
getMemoryVoltageSDRam_P
public float getMemoryVoltageSDRam_P() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException- Specified by:
getMemoryVoltageSDRam_Pin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionNumberFormatExceptionUnsupportedOperationException
-
getCodecH264Enabled
public boolean getCodecH264Enabled() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getCodecH264Enabledin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getCodecMPG2Enabled
public boolean getCodecMPG2Enabled() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getCodecMPG2Enabledin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getCodecWVC1Enabled
public boolean getCodecWVC1Enabled() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getCodecWVC1Enabledin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyArm
public long getClockFrequencyArm() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyArmin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyCore
public long getClockFrequencyCore() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyCorein interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyH264
public long getClockFrequencyH264() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyH264in interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyISP
public long getClockFrequencyISP() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyISPin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyV3D
public long getClockFrequencyV3D() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyV3Din interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyUART
public long getClockFrequencyUART() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyUARTin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyPWM
public long getClockFrequencyPWM() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyPWMin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyEMMC
public long getClockFrequencyEMMC() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyEMMCin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyPixel
public long getClockFrequencyPixel() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyPixelin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyVEC
public long getClockFrequencyVEC() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyVECin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyHDMI
public long getClockFrequencyHDMI() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyHDMIin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
getClockFrequencyDPI
public long getClockFrequencyDPI() throws IOException, InterruptedException, UnsupportedOperationException- Specified by:
getClockFrequencyDPIin interfaceSystemInfoProvider- Throws:
IOExceptionInterruptedExceptionUnsupportedOperationException
-
-