public class EightyFileSystem extends FileSystem implements EightyWatcher
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Stephan Pfab BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. **** END LICENSE BLOCK ****
| Constructor and Description |
|---|
EightyFileSystem(EightyFS eightyFileSystem,
String id,
EightyProvider provider,
AttributeProvider attributeProvider) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Channel> |
addClosable(T cl) |
void |
close() |
EightyFS |
get80() |
AttributeProvider |
getAttributeProvider() |
Iterable<FileStore> |
getFileStores() |
String |
getId() |
Path |
getPath(String first,
String... more) |
PathMatcher |
getPathMatcher(String syntaxAndPattern) |
Iterable<Path> |
getRootDirectories() |
String |
getSeparator() |
UserPrincipalLookupService |
getUserPrincipalLookupService() |
boolean |
isOpen() |
boolean |
isReadOnly() |
WatchService |
newWatchService() |
EightyProvider |
provider() |
void |
reopen() |
void |
signal(EightyPath path,
WatchEvent.Kind<Path> eventKind) |
Set<String> |
supportedFileAttributeViews() |
String |
toString() |
public EightyFileSystem(EightyFS eightyFileSystem, String id, EightyProvider provider, AttributeProvider attributeProvider)
public EightyProvider provider()
provider in class FileSystempublic 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 Path 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 EightyFS get80()
public <T extends Channel> T addClosable(T cl)
public void signal(EightyPath path, WatchEvent.Kind<Path> eventKind)
signal in interface EightyWatcherpublic void reopen()
public String getId()
public AttributeProvider getAttributeProvider()
Copyright © 2015. All rights reserved.