public interface FileInput
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getStream(java.net.URI uri) |
java.util.List<java.net.URI> |
listUris(java.net.URI fileUri,
com.google.common.base.Predicate<java.net.URI> uriPredicate)
this method returns all files that are found within fileUri
|
boolean |
sharedStorageDefault() |
java.util.List<java.net.URI> listUris(java.net.URI fileUri, com.google.common.base.Predicate<java.net.URI> uriPredicate) throws java.io.IOException
fileUri
- uri that points to a directory
(and may optionally contain a "file hint" - which is the part after the last slash.)
a concrete implementation may ignore the file hint.uriPredicate
- predicate that a concrete implementation of FileInput must use to pre-filter the returned urisjava.io.IOException
java.io.InputStream getStream(java.net.URI uri) throws java.io.IOException
java.io.IOException
boolean sharedStorageDefault()