Class AbstractFileSystemAccess

    • Constructor Detail

      • AbstractFileSystemAccess

        public AbstractFileSystemAccess()
    • Method Detail

      • setCurrentSource

        public void setCurrentSource​(java.lang.String currentSource)
        Since:
        2.6
      • getCurrentSource

        protected java.lang.String getCurrentSource()
        The current source folder, relative to the project location
        Since:
        2.6
      • setOutputConfigurations

        public void setOutputConfigurations​(java.util.Map<java.lang.String,​OutputConfiguration> outputs)
        Since:
        2.1
      • getOutputConfigurations

        public java.util.Map<java.lang.String,​OutputConfiguration> getOutputConfigurations()
        Since:
        2.1
      • getOutputConfig

        protected OutputConfiguration getOutputConfig​(java.lang.String outputName)
        Since:
        2.1
      • getPathes

        protected java.util.Map<java.lang.String,​java.lang.String> getPathes()
      • setOutputPath

        public void setOutputPath​(java.lang.String outputName,
                                  java.lang.String path)
      • setOutputPath

        public void setOutputPath​(java.lang.String path)
      • generateFile

        public void generateFile​(java.lang.String fileName,
                                 java.lang.CharSequence contents)
        Specified by:
        generateFile in interface IFileSystemAccess
        Parameters:
        fileName - using '/' as file separator
        contents - the to-be-written contents.
      • deleteFile

        public void deleteFile​(java.lang.String fileName)
        Specified by:
        deleteFile in interface IFileSystemAccess
        Parameters:
        fileName - using '/' as file separator
        Since:
        2.1
      • deleteFile

        public void deleteFile​(java.lang.String fileName,
                               java.lang.String outputConfigurationName)
        Specified by:
        deleteFile in interface IFileSystemAccessExtension
        Parameters:
        fileName - using '/' as file separator
        outputConfigurationName - the name of the output configuration
        Since:
        2.1
      • postProcess

        protected java.lang.CharSequence postProcess​(java.lang.String fileName,
                                                     java.lang.String outputConfiguration,
                                                     java.lang.CharSequence content)
        Since:
        2.3
      • postProcess

        protected java.lang.CharSequence postProcess​(java.lang.String fileName,
                                                     java.lang.String outputConfiguration,
                                                     java.lang.CharSequence content,
                                                     java.lang.String charset)
        Since:
        2.4
      • getURI

        public org.eclipse.emf.common.util.URI getURI​(java.lang.String path)
        Description copied from interface: IFileSystemAccessExtension2
        Returns an URI for the specified path in the default output location. For workspace resources a platform:/resource URI should be returned in order to pick up project specific preferences.
        Specified by:
        getURI in interface IFileSystemAccessExtension2
        Since:
        2.3