Class ChangeListenerAddingFileSystemSupport

  • All Implemented Interfaces:
    org.eclipse.xtend.lib.macro.file.FileSystemSupport, org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport

    @Accessors
    public class ChangeListenerAddingFileSystemSupport
    extends java.lang.Object
    implements org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void delete​(org.eclipse.xtend.lib.macro.file.Path path)  
      boolean exists​(org.eclipse.xtend.lib.macro.file.Path path)  
      java.lang.String getCharset​(org.eclipse.xtend.lib.macro.file.Path path)  
      java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.file.Path> getChildren​(org.eclipse.xtend.lib.macro.file.Path path)  
      java.lang.CharSequence getContents​(org.eclipse.xtend.lib.macro.file.Path path)  
      java.io.InputStream getContentsAsStream​(org.eclipse.xtend.lib.macro.file.Path path)  
      org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport getDelegate()  
      long getLastModification​(org.eclipse.xtend.lib.macro.file.Path path)  
      IResourceChangeRegistry getResourceChangeRegistry()  
      org.eclipse.emf.common.util.URI getResourceURI()  
      boolean isFile​(org.eclipse.xtend.lib.macro.file.Path path)  
      boolean isFolder​(org.eclipse.xtend.lib.macro.file.Path path)  
      void mkdir​(org.eclipse.xtend.lib.macro.file.Path path)
      Deprecated.
      void setContents​(org.eclipse.xtend.lib.macro.file.Path path, java.lang.CharSequence contents)  
      void setContentsAsStream​(org.eclipse.xtend.lib.macro.file.Path path, java.io.InputStream source)  
      java.net.URI toURI​(org.eclipse.xtend.lib.macro.file.Path path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChangeListenerAddingFileSystemSupport

        public ChangeListenerAddingFileSystemSupport​(org.eclipse.emf.common.util.URI resourceURI,
                                                     org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport delegate,
                                                     IResourceChangeRegistry resourceChangeRegistry)
    • Method Detail

      • delete

        public void delete​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        delete in interface org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport
      • mkdir

        @Deprecated
        public void mkdir​(org.eclipse.xtend.lib.macro.file.Path path)
        Deprecated.
        Specified by:
        mkdir in interface org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport
      • setContents

        public void setContents​(org.eclipse.xtend.lib.macro.file.Path path,
                                java.lang.CharSequence contents)
        Specified by:
        setContents in interface org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport
      • setContentsAsStream

        public void setContentsAsStream​(org.eclipse.xtend.lib.macro.file.Path path,
                                        java.io.InputStream source)
        Specified by:
        setContentsAsStream in interface org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport
      • exists

        public boolean exists​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        exists in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getCharset

        public java.lang.String getCharset​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        getCharset in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getChildren

        public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.file.Path> getChildren​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        getChildren in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getContents

        public java.lang.CharSequence getContents​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        getContents in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getContentsAsStream

        public java.io.InputStream getContentsAsStream​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        getContentsAsStream in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getLastModification

        public long getLastModification​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        getLastModification in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • isFile

        public boolean isFile​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        isFile in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • isFolder

        public boolean isFolder​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        isFolder in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • toURI

        public java.net.URI toURI​(org.eclipse.xtend.lib.macro.file.Path path)
        Specified by:
        toURI in interface org.eclipse.xtend.lib.macro.file.FileSystemSupport
      • getResourceURI

        @Pure
        public org.eclipse.emf.common.util.URI getResourceURI()
      • getDelegate

        @Pure
        public org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport getDelegate()