public class FormatFactory extends Object
| Constructor and Description |
|---|
FormatFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationFormat |
createApplicationFormat(EncodingName name)
Creates a new format descriptor for application line
|
static ApplicationFormat |
createApplicationFormat(String name)
Creates a new format descriptor for application line
|
static AudioFormat |
createAudioFormat(EncodingName name)
Creates new audio format descriptor.
|
static AudioFormat |
createAudioFormat(EncodingName name,
int sampleRate,
int sampleSize,
int channels)
Creates new format descriptor
|
static AudioFormat |
createAudioFormat(String name,
int sampleRate)
Creates new format descriptor
|
static AudioFormat |
createAudioFormat(String name,
int sampleRate,
int sampleSize,
int channels)
Creates new format descriptor
|
static VideoFormat |
createVideoFormat(EncodingName name)
Creates new format descriptor.
|
static VideoFormat |
createVideoFormat(EncodingName name,
int frameRate)
Creates new format descriptor.
|
static VideoFormat |
createVideoFormat(String name)
Creates new format descriptor.
|
static VideoFormat |
createVideoFormat(String name,
int frameRate)
Creates new format descriptor.
|
public static AudioFormat createAudioFormat(EncodingName name)
name - the encoding name.public static AudioFormat createAudioFormat(EncodingName name, int sampleRate, int sampleSize, int channels)
name - the encodingsampleRate - sample rate value in HertzsampleSize - sample size in bitschannels - number of channelspublic static AudioFormat createAudioFormat(String name, int sampleRate, int sampleSize, int channels)
name - the encodingsampleRate - sample rate value in HertzsampleSize - sample size in bitschannels - number of channelspublic static AudioFormat createAudioFormat(String name, int sampleRate)
name - the encodingsampleRate - sample rate value in Hertzpublic static VideoFormat createVideoFormat(EncodingName name, int frameRate)
name - format encoding name.frameRate - the number of frames per second.public static VideoFormat createVideoFormat(EncodingName name)
name - format encoding name.public static VideoFormat createVideoFormat(String name)
name - format encoding name.public static VideoFormat createVideoFormat(String name, int frameRate)
name - format encoding name.frameRate - the number of frames per second.public static ApplicationFormat createApplicationFormat(EncodingName name)
name - format encoding namepublic static ApplicationFormat createApplicationFormat(String name)
name - format encoding nameCopyright © 2017 TeleStax, Inc.. All Rights Reserved.