Class BaseSimpleFileSystem

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.uberfire.commons.lifecycle.Disposable, org.uberfire.java.nio.base.FileSystemId, org.uberfire.java.nio.Closeable, org.uberfire.java.nio.file.FileSystem
    Direct Known Subclasses:
    SimpleUnixFileSystem, SimpleWindowsFileSystem

    public abstract class BaseSimpleFileSystem
    extends Object
    implements org.uberfire.java.nio.file.FileSystem, org.uberfire.java.nio.base.FileSystemId
    • Method Detail

      • id

        public String id()
        Specified by:
        id in interface org.uberfire.java.nio.base.FileSystemId
      • provider

        public org.uberfire.java.nio.file.spi.FileSystemProvider provider()
        Specified by:
        provider in interface org.uberfire.java.nio.file.FileSystem
      • isOpen

        public boolean isOpen()
        Specified by:
        isOpen in interface org.uberfire.java.nio.file.FileSystem
      • isReadOnly

        public boolean isReadOnly()
        Specified by:
        isReadOnly in interface org.uberfire.java.nio.file.FileSystem
      • getSeparator

        public String getSeparator()
        Specified by:
        getSeparator in interface org.uberfire.java.nio.file.FileSystem
      • getSeparator

        public String getSeparator​(String path)
      • supportedFileAttributeViews

        public Set<String> supportedFileAttributeViews()
        Specified by:
        supportedFileAttributeViews in interface org.uberfire.java.nio.file.FileSystem
      • getPath

        public org.uberfire.java.nio.file.Path getPath​(String first,
                                                       String... more)
                                                throws org.uberfire.java.nio.file.InvalidPathException
        Specified by:
        getPath in interface org.uberfire.java.nio.file.FileSystem
        Throws:
        org.uberfire.java.nio.file.InvalidPathException
      • getUserPrincipalLookupService

        public org.uberfire.java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
                                                                                                      throws UnsupportedOperationException
        Specified by:
        getUserPrincipalLookupService in interface org.uberfire.java.nio.file.FileSystem
        Throws:
        UnsupportedOperationException
      • newWatchService

        public org.uberfire.java.nio.file.WatchService newWatchService()
                                                                throws UnsupportedOperationException,
                                                                       org.uberfire.java.nio.IOException
        Specified by:
        newWatchService in interface org.uberfire.java.nio.file.FileSystem
        Throws:
        UnsupportedOperationException
        org.uberfire.java.nio.IOException
      • getName

        public String getName()
        Specified by:
        getName in interface org.uberfire.java.nio.file.FileSystem