| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SupportedFileFormat |
|
| 1.0;1 |
| 1 | package org.jaudiotagger.audio; | |
| 2 | ||
| 3 | /** | |
| 4 | * Files formats currently supported by Library | |
| 5 | */ | |
| 6 | 48 | public enum SupportedFileFormat |
| 7 | { | |
| 8 | 4 | OGG("ogg"), |
| 9 | 4 | MP3("mp3"), |
| 10 | 4 | FLAC("flac"), |
| 11 | 4 | MP4("mp4"), |
| 12 | 4 | M4A("m4a"), |
| 13 | 4 | M4P("m4p"), |
| 14 | 4 | WMA("wma"), |
| 15 | 4 | WAV("wav"), |
| 16 | 4 | RA("ra"), |
| 17 | 4 | RM("rm"), |
| 18 | 4 | M4B("m4b"); |
| 19 | ||
| 20 | private String filesuffix; | |
| 21 | ||
| 22 | SupportedFileFormat(String filesuffix) | |
| 23 | 44 | { |
| 24 | 44 | this.filesuffix = filesuffix; |
| 25 | 44 | } |
| 26 | ||
| 27 | public String getFilesuffix() | |
| 28 | { | |
| 29 | 80 | return filesuffix; |
| 30 | } | |
| 31 | } |