Package com.liferay.portal.kernel.nio
Class FileSystemWrapper
Object
FileSystem
com.liferay.portal.kernel.nio.FileSystemWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable
- Author:
- Shuyang Zhou
-
Constructor Summary
ConstructorsConstructorDescriptionFileSystemWrapper(FileSystem fileSystem, FileSystemProvider fileSystemProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getPathMatcher(String syntaxAndPattern) booleanisOpen()booleanprovider()
-
Constructor Details
-
FileSystemWrapper
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classFileSystem- Throws:
IOException
-
getFileStores
- Specified by:
getFileStoresin classFileSystem
-
getPath
- Specified by:
getPathin classFileSystem
-
getPathMatcher
- Specified by:
getPathMatcherin classFileSystem
-
getRootDirectories
- Specified by:
getRootDirectoriesin classFileSystem
-
getSeparator
- Specified by:
getSeparatorin classFileSystem
-
getUserPrincipalLookupService
- Specified by:
getUserPrincipalLookupServicein classFileSystem
-
isOpen
public boolean isOpen()- Specified by:
isOpenin classFileSystem
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin classFileSystem
-
newWatchService
- Specified by:
newWatchServicein classFileSystem- Throws:
IOException
-
provider
- Specified by:
providerin classFileSystem
-
supportedFileAttributeViews
- Specified by:
supportedFileAttributeViewsin classFileSystem
-