-
public class MediaUtilA Utility class to help with determining information about media
-
-
Method Summary
Modifier and Type Method Description static StringgetUriWithProtocol(String uri)If the passed uri contains a protocol (e.g. -
-
Method Detail
-
getUriWithProtocol
static String getUriWithProtocol(String uri)
If the passed uri contains a protocol (e.g. Http, file) then it will be returned without any changes. If the uri does not contain a protocol then we will assume it is a file
- Parameters:
uri- The uri to make sure contains a protocol
-
-
-
-