Package oshi.hardware.platform.linux
Class LinuxFirmware
java.lang.Object
oshi.hardware.common.AbstractFirmware
oshi.hardware.platform.linux.LinuxFirmware
- All Implemented Interfaces:
Firmware
Firmware data obtained by sysfs.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DateTimeFormatter
private final Supplier
<LinuxFirmware.VcGenCmdStrings> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the firmware description.Get the firmware manufacturer.getName()
Get the firmware name.Get the firmware release date.Get the firmware version.private String
private String
private String
private String
private static LinuxFirmware.VcGenCmdStrings
private String
Methods inherited from class oshi.hardware.common.AbstractFirmware
toString
-
Field Details
-
VCGEN_FORMATTER
-
manufacturer
-
description
-
version
-
releaseDate
-
name
-
vcGenCmd
-
biosNameRev
-
-
Constructor Details
-
LinuxFirmware
LinuxFirmware()
-
-
Method Details
-
getManufacturer
Description copied from interface:Firmware
Get the firmware manufacturer.- Returns:
- the manufacturer
-
getDescription
Description copied from interface:Firmware
Get the firmware description.- Specified by:
getDescription
in interfaceFirmware
- Overrides:
getDescription
in classAbstractFirmware
- Returns:
- the description
-
getVersion
Description copied from interface:Firmware
Get the firmware version.- Returns:
- the version
-
getReleaseDate
Description copied from interface:Firmware
Get the firmware release date.- Specified by:
getReleaseDate
in interfaceFirmware
- Overrides:
getReleaseDate
in classAbstractFirmware
- Returns:
- The release date.
-
getName
Description copied from interface:Firmware
Get the firmware name.- Specified by:
getName
in interfaceFirmware
- Overrides:
getName
in classAbstractFirmware
- Returns:
- the name
-
queryManufacturer
-
queryDescription
-
queryVersion
-
queryReleaseDate
-
queryName
-
queryVcGenCmd
-