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.Stringcodecprivate java.lang.StringkernelVersionprivate java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSoundCard(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.StringgetCodec()Retrieves the codec of the Sound cardjava.lang.StringgetDriverVersion()Retrieves the driver version currently in use in machinejava.lang.StringgetName()Retrieves the full name of the card.java.lang.StringtoString()
-
-
-
Method Detail
-
getDriverVersion
public java.lang.String getDriverVersion()
Description copied from interface:SoundCardRetrieves the driver version currently in use in machine- Specified by:
getDriverVersionin interfaceSoundCard- Returns:
- The current and complete name of the driver version
-
getName
public java.lang.String getName()
Description copied from interface:SoundCardRetrieves the full name of the card.
-
getCodec
public java.lang.String getCodec()
Description copied from interface:SoundCardRetrieves the codec of the Sound card
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-