public class SystemInfoFactory extends Object
This factory class provides a static method to create new 'GpioController' instances.
Before using the Pi4J library, you need to ensure that the Java VM in configured with access to the following system libraries:
This library depends on the wiringPi native system library. (developed by Gordon Henderson @ http://wiringpi.com/)
GpioController
,
GpioProvider
,
https://www.pi4j.com/Modifier and Type | Method and Description |
---|---|
static SystemInfoProvider |
getProvider()
Return default instance of
SystemInfoProvider . |
static void |
setProvider(SystemInfoProvider provider)
Sets default
SystemInfoProvider . |
public static SystemInfoProvider getProvider()
Return default instance of SystemInfoProvider
.
public static void setProvider(SystemInfoProvider provider)
SystemInfoProvider
.provider
- default system info providerCopyright © 2012–2021 Pi4J. All rights reserved.