Package oshi.hardware.common
Class AbstractSoundCard
- java.lang.Object
-
- oshi.hardware.common.AbstractSoundCard
-
- All Implemented Interfaces:
SoundCard
- Direct Known Subclasses:
AixSoundCard
,FreeBsdSoundCard
,LinuxSoundCard
,MacSoundCard
,OpenBsdSoundCard
,SolarisSoundCard
,WindowsSoundCard
@Immutable public abstract class AbstractSoundCard extends java.lang.Object implements SoundCard
An abstract Sound Card
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
codec
private java.lang.String
kernelVersion
private java.lang.String
name
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSoundCard(java.lang.String kernelVersion, java.lang.String name, java.lang.String codec)
Abstract Sound Card Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCodec()
Retrieves the codec of the Sound cardjava.lang.String
getDriverVersion()
Retrieves the driver version currently in use in machinejava.lang.String
getName()
Retrieves the full name of the card.java.lang.String
toString()
-
-
-
Method Detail
-
getDriverVersion
public java.lang.String getDriverVersion()
Description copied from interface:SoundCard
Retrieves the driver version currently in use in machine- Specified by:
getDriverVersion
in interfaceSoundCard
- Returns:
- The current and complete name of the driver version
-
getName
public java.lang.String getName()
Description copied from interface:SoundCard
Retrieves the full name of the card.
-
getCodec
public java.lang.String getCodec()
Description copied from interface:SoundCard
Retrieves the codec of the Sound card
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-