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 DateTimeFormatterprivate 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 Stringprivate Stringprivate Stringprivate Stringprivate static LinuxFirmware.VcGenCmdStringsprivate StringMethods inherited from class AbstractFirmware
toString
-
Field Details
-
VCGEN_FORMATTER
-
manufacturer
-
description
-
version
-
releaseDate
-
name
-
vcGenCmd
-
biosNameRev
-
-
Constructor Details
-
LinuxFirmware
LinuxFirmware()
-
-
Method Details
-
getManufacturer
-
getDescription
Description copied from interface:FirmwareGet the firmware description.- Specified by:
getDescriptionin interfaceFirmware- Overrides:
getDescriptionin classAbstractFirmware- Returns:
- the description
-
getVersion
-
getReleaseDate
Description copied from interface:FirmwareGet the firmware release date.- Specified by:
getReleaseDatein interfaceFirmware- Overrides:
getReleaseDatein classAbstractFirmware- Returns:
- The release date.
-
getName
-
queryManufacturer
-
queryDescription
-
queryVersion
-
queryReleaseDate
-
queryName
-
queryVcGenCmd
-