MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / main

Method main

Source/Example/HowToUse_Dll.java:37–54  ·  view source on GitHub ↗
(String... args)

Source from the content-addressed store, hash-verified

35{
36
37public 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
56private static void ByFileName(String FileName) throws Exception
57{

Callers

nothing calls this directly

Calls 3

ByBuffer_URLMethod · 0.95
ByBuffer_LocalFileMethod · 0.95
ByFileNameMethod · 0.95

Tested by

no test coverage detected