public final class FileSystemUriStreamHandler extends java.lang.Object implements URIStreamHandler
Modifier and Type | Field and Description |
---|---|
static URIStreamHandler |
INSTANCE
Single instance
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent(android.net.Uri uri)
Gets the uri content input stream
|
public static final URIStreamHandler INSTANCE
public java.io.InputStream getContent(android.net.Uri uri) throws java.io.IOException
getContent
in interface URIStreamHandler
uri
- the uri to usejava.io.IOException
- Throws IOException if uri's path is empty.