Package oshi.hardware.common
Class AbstractFirmware
java.lang.Object
oshi.hardware.common.AbstractFirmware
- All Implemented Interfaces:
Firmware
- Direct Known Subclasses:
OpenBsdFirmware
@Immutable public abstract class AbstractFirmware extends java.lang.Object implements Firmware
Firmware data.
-
Constructor Summary
Constructors Constructor Description AbstractFirmware() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()Get the firmware description.java.lang.StringgetName()Get the firmware name.java.lang.StringgetReleaseDate()Get the firmware release date.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface oshi.hardware.Firmware
getManufacturer, getVersion
-
Constructor Details
-
AbstractFirmware
public AbstractFirmware()
-
-
Method Details
-
getName
public java.lang.String getName()Description copied from interface:FirmwareGet the firmware name. -
getDescription
public java.lang.String getDescription()Description copied from interface:FirmwareGet the firmware description.- Specified by:
getDescriptionin interfaceFirmware- Returns:
- the description
-
getReleaseDate
public java.lang.String getReleaseDate()Description copied from interface:FirmwareGet the firmware release date.- Specified by:
getReleaseDatein interfaceFirmware- Returns:
- The release date.
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-