Constructor and Description |
---|
S3FileInput() |
S3FileInput(S3ClientHelper clientBuilder) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getStream(java.net.URI uri) |
java.util.List<java.net.URI> |
listUris(java.net.URI uri,
com.google.common.base.Predicate<java.net.URI> uriPredicate)
this method returns all files that are found within fileUri
|
boolean |
sharedStorageDefault() |
public S3FileInput()
public S3FileInput(S3ClientHelper clientBuilder)
public java.util.List<java.net.URI> listUris(java.net.URI uri, com.google.common.base.Predicate<java.net.URI> uriPredicate) throws java.io.IOException
FileInput
listUris
in interface FileInput
uri
- 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
public java.io.InputStream getStream(java.net.URI uri) throws java.io.IOException
public boolean sharedStorageDefault()
sharedStorageDefault
in interface FileInput