|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.video.util.VideoEncoding
public class VideoEncoding
Parses an encoding string and stores its values
| Constructor Summary | |
|---|---|
VideoEncoding(String encoding)
Creates a new VideoEncoding instance |
|
VideoEncoding(String encoding,
String width,
String height,
String videoCodec,
String audioCodec,
String mode)
Creates a new VideoEncoding instance |
|
| Method Summary | |
|---|---|
String |
getAudioCodec()
Returns the audio codec |
String |
getDescriptor()
Returns the encoding string |
String |
getEncoding()
Returns the mime type |
String |
getHeight()
Returns the height |
String |
getMode()
Returns the mode |
String |
getVideoCodec()
Returns the video codec |
String |
getWidth()
Returns the width |
String |
toResolutionString()
Returns a string describing the solution of the encoding |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VideoEncoding(String encoding)
throws IllegalArgumentException
encoding - the text of a single encoding
IllegalArgumentException - if the encoding format is wrong
public VideoEncoding(String encoding,
String width,
String height,
String videoCodec,
String audioCodec,
String mode)
encoding - the mime typewidth - the widthheight - the heightvideoCodec - the video codecaudioCodec - the audio codecmode - the mode| Method Detail |
|---|
public String getEncoding()
public String getWidth()
public String getHeight()
public String getVideoCodec()
public String getAudioCodec()
public String getMode()
public String getDescriptor()
public String toResolutionString()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||