(String... args)
| 35 | { |
| 36 | |
| 37 | public static void main(String... args) throws Exception |
| 38 | { |
| 39 | String FileName = "Example.ogg"; |
| 40 | if (args.length > 0) |
| 41 | FileName = args[0]; |
| 42 | |
| 43 | //Comment this line and uncomment the next one if you would like to test the "by buffer" interface |
| 44 | if (false) |
| 45 | //if (true) |
| 46 | { |
| 47 | if (FileName.startsWith("http://") || FileName.startsWith("https://")) |
| 48 | ByBuffer_URL (FileName); |
| 49 | else |
| 50 | ByBuffer_LocalFile (FileName); |
| 51 | } |
| 52 | else |
| 53 | ByFileName (FileName); |
| 54 | } |
| 55 | |
| 56 | private static void ByFileName(String FileName) throws Exception |
| 57 | { |
nothing calls this directly
no test coverage detected