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 TypeMethodDescriptionvoid
close()
getPathMatcher
(String syntaxAndPattern) boolean
isOpen()
boolean
provider()
-
Constructor Details
-
FileSystemWrapper
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classFileSystem
- Throws:
IOException
-
getFileStores
- Specified by:
getFileStores
in classFileSystem
-
getPath
- Specified by:
getPath
in classFileSystem
-
getPathMatcher
- Specified by:
getPathMatcher
in classFileSystem
-
getRootDirectories
- Specified by:
getRootDirectories
in classFileSystem
-
getSeparator
- Specified by:
getSeparator
in classFileSystem
-
getUserPrincipalLookupService
- Specified by:
getUserPrincipalLookupService
in classFileSystem
-
isOpen
public boolean isOpen()- Specified by:
isOpen
in classFileSystem
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in classFileSystem
-
newWatchService
- Specified by:
newWatchService
in classFileSystem
- Throws:
IOException
-
provider
- Specified by:
provider
in classFileSystem
-
supportedFileAttributeViews
- Specified by:
supportedFileAttributeViews
in classFileSystem
-