Class SolarisPowerSource
- java.lang.Object
-
- oshi.hardware.common.AbstractPowerSource
-
- oshi.hardware.platform.unix.solaris.SolarisPowerSource
-
- All Implemented Interfaces:
java.io.Serializable
,PowerSource
public class SolarisPowerSource extends AbstractPowerSource
A Power Source- Author:
- widdis[at]gmail[dot]com
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class oshi.hardware.common.AbstractPowerSource
name, remainingCapacity, timeRemaining
-
-
Constructor Summary
Constructors Constructor Description SolarisPowerSource(java.lang.String newName, double newRemainingCapacity, double newTimeRemaining)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PowerSource[]
getPowerSources()
Gets Battery Information-
Methods inherited from class oshi.hardware.common.AbstractPowerSource
getName, getRemainingCapacity, getTimeRemaining
-
-
-
-
Method Detail
-
getPowerSources
public static PowerSource[] getPowerSources()
Gets Battery Information- Returns:
- An array of PowerSource objects representing batteries, etc.
-
-