public class S3FileSystem extends FileSystem implements Comparable<S3FileSystem>
configured by {@link AmazonS3Factory}| Constructor and Description |
|---|
S3FileSystem(S3FileSystemProvider provider,
String key,
com.amazonaws.services.s3.AmazonS3 client,
String endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
compareTo(S3FileSystem o) |
boolean |
equals(Object obj) |
int |
getCache() |
com.amazonaws.services.s3.AmazonS3 |
getClient() |
String |
getEndpoint()
get the endpoint associated with this fileSystem.
|
Iterable<FileStore> |
getFileStores() |
String |
getKey() |
S3Path |
getPath(String first,
String... more) |
PathMatcher |
getPathMatcher(String syntaxAndPattern) |
Iterable<Path> |
getRootDirectories() |
String |
getSeparator() |
UserPrincipalLookupService |
getUserPrincipalLookupService() |
int |
hashCode() |
boolean |
isOpen() |
boolean |
isReadOnly() |
String[] |
key2Parts(String keyParts) |
WatchService |
newWatchService() |
S3FileSystemProvider |
provider() |
Set<String> |
supportedFileAttributeViews() |
public S3FileSystem(S3FileSystemProvider provider, String key, com.amazonaws.services.s3.AmazonS3 client, String endpoint)
public S3FileSystemProvider provider()
provider in class FileSystempublic String getKey()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FileSystemIOExceptionpublic boolean isOpen()
isOpen in class FileSystempublic boolean isReadOnly()
isReadOnly in class FileSystempublic String getSeparator()
getSeparator in class FileSystempublic Iterable<Path> getRootDirectories()
getRootDirectories in class FileSystempublic Iterable<FileStore> getFileStores()
getFileStores in class FileSystempublic Set<String> supportedFileAttributeViews()
supportedFileAttributeViews in class FileSystempublic S3Path getPath(String first, String... more)
getPath in class FileSystempublic PathMatcher getPathMatcher(String syntaxAndPattern)
getPathMatcher in class FileSystempublic UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService in class FileSystempublic WatchService newWatchService() throws IOException
newWatchService in class FileSystemIOExceptionpublic com.amazonaws.services.s3.AmazonS3 getClient()
public String getEndpoint()
public int compareTo(S3FileSystem o)
compareTo in interface Comparable<S3FileSystem>public int getCache()
Copyright © 2018. All rights reserved.