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:
getProcessor
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getModelName
public String getModelName() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getModelName
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getBogoMIPS
public String getBogoMIPS() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getBogoMIPS
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getCpuFeatures
public String[] getCpuFeatures() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuFeatures
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getCpuImplementer
public String getCpuImplementer() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuImplementer
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getCpuArchitecture
public String getCpuArchitecture() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuArchitecture
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getCpuVariant
public String getCpuVariant() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuVariant
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getCpuPart
public String getCpuPart() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuPart
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getCpuRevision
public String getCpuRevision() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCpuRevision
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getHardware
public String getHardware() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getHardware
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getRevision
public String getRevision() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getRevision
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getSerial
public String getSerial() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getSerial
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getOsName
public String getOsName() throws UnsupportedOperationException
- Specified by:
getOsName
in interfaceSystemInfoProvider
- Throws:
UnsupportedOperationException
-
getOsVersion
public String getOsVersion() throws UnsupportedOperationException
- Specified by:
getOsVersion
in interfaceSystemInfoProvider
- Throws:
UnsupportedOperationException
-
getOsArch
public String getOsArch() throws UnsupportedOperationException
- Specified by:
getOsArch
in interfaceSystemInfoProvider
- Throws:
UnsupportedOperationException
-
getOsFirmwareBuild
public String getOsFirmwareBuild() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getOsFirmwareBuild
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getOsFirmwareDate
public String getOsFirmwareDate() throws IOException, InterruptedException, ParseException, UnsupportedOperationException
- Specified by:
getOsFirmwareDate
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
ParseException
UnsupportedOperationException
-
getJavaVendor
public String getJavaVendor() throws UnsupportedOperationException
- Specified by:
getJavaVendor
in interfaceSystemInfoProvider
- Throws:
UnsupportedOperationException
-
getJavaVendorUrl
public String getJavaVendorUrl() throws UnsupportedOperationException
- Specified by:
getJavaVendorUrl
in interfaceSystemInfoProvider
- Throws:
UnsupportedOperationException
-
getJavaVersion
public String getJavaVersion() throws UnsupportedOperationException
- Specified by:
getJavaVersion
in interfaceSystemInfoProvider
- Throws:
UnsupportedOperationException
-
getJavaVirtualMachine
public String getJavaVirtualMachine() throws UnsupportedOperationException
- Specified by:
getJavaVirtualMachine
in interfaceSystemInfoProvider
- Throws:
UnsupportedOperationException
-
getJavaRuntime
public String getJavaRuntime() throws UnsupportedOperationException
- Specified by:
getJavaRuntime
in interfaceSystemInfoProvider
- Throws:
UnsupportedOperationException
-
isHardFloatAbi
public boolean isHardFloatAbi() throws UnsupportedOperationException
- Specified by:
isHardFloatAbi
in interfaceSystemInfoProvider
- Throws:
UnsupportedOperationException
-
getMemoryTotal
public long getMemoryTotal() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getMemoryTotal
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getMemoryUsed
public long getMemoryUsed() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getMemoryUsed
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getMemoryFree
public long getMemoryFree() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getMemoryFree
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getMemoryShared
public long getMemoryShared() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getMemoryShared
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getMemoryBuffers
public long getMemoryBuffers() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getMemoryBuffers
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getMemoryCached
public long getMemoryCached() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getMemoryCached
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getBoardType
public SystemInfo.BoardType getBoardType() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getBoardType
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getCpuTemperature
public float getCpuTemperature() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
- Specified by:
getCpuTemperature
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
-
getCpuVoltage
public float getCpuVoltage() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
- Specified by:
getCpuVoltage
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
-
getMemoryVoltageSDRam_C
public float getMemoryVoltageSDRam_C() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
- Specified by:
getMemoryVoltageSDRam_C
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
-
getMemoryVoltageSDRam_I
public float getMemoryVoltageSDRam_I() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
- Specified by:
getMemoryVoltageSDRam_I
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
-
getMemoryVoltageSDRam_P
public float getMemoryVoltageSDRam_P() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
- Specified by:
getMemoryVoltageSDRam_P
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
-
getCodecH264Enabled
public boolean getCodecH264Enabled() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCodecH264Enabled
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getCodecMPG2Enabled
public boolean getCodecMPG2Enabled() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCodecMPG2Enabled
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getCodecWVC1Enabled
public boolean getCodecWVC1Enabled() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getCodecWVC1Enabled
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyArm
public long getClockFrequencyArm() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyArm
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyCore
public long getClockFrequencyCore() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyCore
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyH264
public long getClockFrequencyH264() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyH264
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyISP
public long getClockFrequencyISP() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyISP
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyV3D
public long getClockFrequencyV3D() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyV3D
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyUART
public long getClockFrequencyUART() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyUART
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyPWM
public long getClockFrequencyPWM() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyPWM
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyEMMC
public long getClockFrequencyEMMC() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyEMMC
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyPixel
public long getClockFrequencyPixel() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyPixel
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyVEC
public long getClockFrequencyVEC() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyVEC
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyHDMI
public long getClockFrequencyHDMI() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyHDMI
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
getClockFrequencyDPI
public long getClockFrequencyDPI() throws IOException, InterruptedException, UnsupportedOperationException
- Specified by:
getClockFrequencyDPI
in interfaceSystemInfoProvider
- Throws:
IOException
InterruptedException
UnsupportedOperationException
-
-