public class Attributes
extends java.lang.Object
Constructor and Description |
---|
Attributes() |
Attributes(java.lang.String format,
java.lang.String codec,
java.lang.Integer samplingRate,
java.lang.Integer channels) |
Attributes(java.lang.String format,
java.lang.String codec,
java.lang.Integer samplingRate,
java.lang.Integer channels,
java.lang.Integer bitRate) |
Attributes(java.lang.String format,
java.lang.String codec,
java.lang.Integer samplingRate,
java.lang.Integer channels,
java.lang.Integer bitRate,
java.lang.Integer volume) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getBitRate()
Returns the bitrate value for the attributes process.
|
java.lang.Integer |
getChannels()
Returns the channels value (1=mono, 2=stereo) for the attributes process.
|
java.lang.String |
getCodec()
Returns the codec name for the attributes process.
|
long |
getDuration()
Returns the stream duration in millis.
|
java.lang.String |
getFormat()
Returns the format name for the encoded target multimedia file.
|
java.lang.Integer |
getSamplingRate()
Returns the samplingRate value for the attributes process.
|
java.lang.Integer |
getVolume()
Returns the volume value for the attributes process.
|
void |
setBitRate(java.lang.Integer bitRate)
Sets the bitrate value for the attributes process.
|
void |
setChannels(java.lang.Integer channels)
Sets the channels value (1=mono, 2=stereo) for the attributes process.
|
void |
setCodec(java.lang.String codec)
Sets the codec name for the attributes process.
|
void |
setDuration(long duration)
Sets the stream duration in millis.
|
void |
setFormat(java.lang.String format)
Sets the format name for the encoded target multimedia file.
|
void |
setSamplingRate(java.lang.Integer samplingRate)
Sets the samplingRate value for the attributes process.
|
void |
setVolume(java.lang.Integer volume)
Sets the volume value for the attributes process.
|
java.lang.String |
toString() |
public Attributes(java.lang.String format, java.lang.String codec, java.lang.Integer samplingRate, java.lang.Integer channels, java.lang.Integer bitRate, java.lang.Integer volume)
public Attributes(java.lang.String format, java.lang.String codec, java.lang.Integer samplingRate, java.lang.Integer channels, java.lang.Integer bitRate)
public Attributes(java.lang.String format, java.lang.String codec, java.lang.Integer samplingRate, java.lang.Integer channels)
public Attributes()
public java.lang.String getCodec()
public void setCodec(java.lang.String codec)
codec
- The codec name for the attributes process.public java.lang.Integer getBitRate()
public void setBitRate(java.lang.Integer bitRate)
bitRate
- The bitrate value for the attributes process.public java.lang.Integer getSamplingRate()
public void setSamplingRate(java.lang.Integer samplingRate)
samplingRate
- The samplingRate value for the attributes process.public java.lang.Integer getChannels()
public void setChannels(java.lang.Integer channels)
channels
- The channels value (1=mono, 2=stereo) for the attributes
process.public java.lang.Integer getVolume()
public void setVolume(java.lang.Integer volume)
volume
- The volume value for the attributes process.public java.lang.String getFormat()
public void setFormat(java.lang.String format)
format
- The format name for the encoded target multimedia file.public long getDuration()
public void setDuration(long duration)
duration
- The stream duration in millis.public java.lang.String toString()
toString
in class java.lang.Object