Package oshi.hardware.common
Class AbstractFirmware
java.lang.Object
oshi.hardware.common.AbstractFirmware
- All Implemented Interfaces:
Firmware
@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.String
getDescription()
Get the firmware description.java.lang.String
getName()
Get the firmware name.java.lang.String
getReleaseDate()
Get the firmware release date.java.lang.String
toString()
-
Constructor Details
-
AbstractFirmware
public AbstractFirmware()
-
-
Method Details
-
getName
public java.lang.String getName()Description copied from interface:Firmware
Get the firmware name. -
getDescription
public java.lang.String getDescription()Description copied from interface:Firmware
Get the firmware description.- Specified by:
getDescription
in interfaceFirmware
- Returns:
- the description
-
getReleaseDate
public java.lang.String getReleaseDate()Description copied from interface:Firmware
Get the firmware release date.- Specified by:
getReleaseDate
in interfaceFirmware
- Returns:
- The release date.
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-