Liferay 7.0-ce-b4

com.liferay.portal.kernel.nio
Class FileSystemWrapper

java.lang.Object
  extended by java.nio.file.FileSystem
      extended by com.liferay.portal.kernel.nio.FileSystemWrapper
All Implemented Interfaces:
Closeable, AutoCloseable

public class FileSystemWrapper
extends java.nio.file.FileSystem


Constructor Summary
FileSystemWrapper(java.nio.file.FileSystem fileSystem, java.nio.file.spi.FileSystemProvider fileSystemProvider)
           
 
Method Summary
 void close()
           
 Iterable<java.nio.file.FileStore> getFileStores()
           
 java.nio.file.Path getPath(String first, String... more)
           
 java.nio.file.PathMatcher getPathMatcher(String syntaxAndPattern)
           
 Iterable<java.nio.file.Path> getRootDirectories()
           
 String getSeparator()
           
 java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
           
 boolean isOpen()
           
 boolean isReadOnly()
           
 java.nio.file.WatchService newWatchService()
           
 java.nio.file.spi.FileSystemProvider provider()
           
 Set<String> supportedFileAttributeViews()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemWrapper

public FileSystemWrapper(java.nio.file.FileSystem fileSystem,
                         java.nio.file.spi.FileSystemProvider fileSystemProvider)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface AutoCloseable
Specified by:
close in class java.nio.file.FileSystem
Throws:
IOException

getFileStores

public Iterable<java.nio.file.FileStore> getFileStores()
Specified by:
getFileStores in class java.nio.file.FileSystem

getPath

public java.nio.file.Path getPath(String first,
                                  String... more)
Specified by:
getPath in class java.nio.file.FileSystem

getPathMatcher

public java.nio.file.PathMatcher getPathMatcher(String syntaxAndPattern)
Specified by:
getPathMatcher in class java.nio.file.FileSystem

getRootDirectories

public Iterable<java.nio.file.Path> getRootDirectories()
Specified by:
getRootDirectories in class java.nio.file.FileSystem

getSeparator

public String getSeparator()
Specified by:
getSeparator in class java.nio.file.FileSystem

getUserPrincipalLookupService

public java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
Specified by:
getUserPrincipalLookupService in class java.nio.file.FileSystem

isOpen

public boolean isOpen()
Specified by:
isOpen in class java.nio.file.FileSystem

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in class java.nio.file.FileSystem

newWatchService

public java.nio.file.WatchService newWatchService()
                                           throws IOException
Specified by:
newWatchService in class java.nio.file.FileSystem
Throws:
IOException

provider

public java.nio.file.spi.FileSystemProvider provider()
Specified by:
provider in class java.nio.file.FileSystem

supportedFileAttributeViews

public Set<String> supportedFileAttributeViews()
Specified by:
supportedFileAttributeViews in class java.nio.file.FileSystem

Liferay 7.0-ce-b4