Class TestResourceAwareFSAFactory.TestFolderAwareFsa

java.lang.Object
com.regnosys.rosetta.generator.resourcefsa.TestResourceAwareFSAFactory.TestFolderAwareFsa
All Implemented Interfaces:
org.eclipse.xtext.generator.IFileSystemAccess, org.eclipse.xtext.generator.IFileSystemAccess2, org.eclipse.xtext.generator.IFileSystemAccessExtension, org.eclipse.xtext.generator.IFileSystemAccessExtension2, org.eclipse.xtext.generator.IFileSystemAccessExtension3
Enclosing class:
TestResourceAwareFSAFactory

public static class TestResourceAwareFSAFactory.TestFolderAwareFsa extends Object implements org.eclipse.xtext.generator.IFileSystemAccess2
  • Constructor Details

    • TestFolderAwareFsa

      public TestFolderAwareFsa(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 originalFsa, boolean wholeProject)
  • Method Details

    • isTestResource

      public static boolean isTestResource(org.eclipse.emf.ecore.resource.Resource resource)
    • generateFile

      public void generateFile(String fileName, CharSequence contents)
      Specified by:
      generateFile in interface org.eclipse.xtext.generator.IFileSystemAccess
    • deleteFile

      public void deleteFile(String arg0)
      Specified by:
      deleteFile in interface org.eclipse.xtext.generator.IFileSystemAccess
    • deleteFile

      public void deleteFile(String arg0, String arg1)
      Specified by:
      deleteFile in interface org.eclipse.xtext.generator.IFileSystemAccessExtension
    • generateFile

      public void generateFile(String arg0, InputStream arg1) throws org.eclipse.xtext.util.RuntimeIOException
      Specified by:
      generateFile in interface org.eclipse.xtext.generator.IFileSystemAccessExtension3
      Throws:
      org.eclipse.xtext.util.RuntimeIOException
    • generateFile

      public void generateFile(String arg0, String arg1, CharSequence arg2)
      Specified by:
      generateFile in interface org.eclipse.xtext.generator.IFileSystemAccess
    • generateFile

      public void generateFile(String arg0, String arg1, InputStream arg2) throws org.eclipse.xtext.util.RuntimeIOException
      Specified by:
      generateFile in interface org.eclipse.xtext.generator.IFileSystemAccessExtension3
      Throws:
      org.eclipse.xtext.util.RuntimeIOException
    • getURI

      public org.eclipse.emf.common.util.URI getURI(String arg0)
      Specified by:
      getURI in interface org.eclipse.xtext.generator.IFileSystemAccessExtension2
    • getURI

      public org.eclipse.emf.common.util.URI getURI(String arg0, String arg1)
      Specified by:
      getURI in interface org.eclipse.xtext.generator.IFileSystemAccessExtension2
    • isFile

      public boolean isFile(String arg0) throws org.eclipse.xtext.util.RuntimeIOException
      Specified by:
      isFile in interface org.eclipse.xtext.generator.IFileSystemAccess2
      Throws:
      org.eclipse.xtext.util.RuntimeIOException
    • isFile

      public boolean isFile(String arg0, String arg1) throws org.eclipse.xtext.util.RuntimeIOException
      Specified by:
      isFile in interface org.eclipse.xtext.generator.IFileSystemAccess2
      Throws:
      org.eclipse.xtext.util.RuntimeIOException
    • readBinaryFile

      public InputStream readBinaryFile(String arg0) throws org.eclipse.xtext.util.RuntimeIOException
      Specified by:
      readBinaryFile in interface org.eclipse.xtext.generator.IFileSystemAccessExtension3
      Throws:
      org.eclipse.xtext.util.RuntimeIOException
    • readBinaryFile

      public InputStream readBinaryFile(String arg0, String arg1) throws org.eclipse.xtext.util.RuntimeIOException
      Specified by:
      readBinaryFile in interface org.eclipse.xtext.generator.IFileSystemAccessExtension3
      Throws:
      org.eclipse.xtext.util.RuntimeIOException
    • readTextFile

      public CharSequence readTextFile(String arg0) throws org.eclipse.xtext.util.RuntimeIOException
      Specified by:
      readTextFile in interface org.eclipse.xtext.generator.IFileSystemAccessExtension3
      Throws:
      org.eclipse.xtext.util.RuntimeIOException
    • readTextFile

      public CharSequence readTextFile(String arg0, String arg1) throws org.eclipse.xtext.util.RuntimeIOException
      Specified by:
      readTextFile in interface org.eclipse.xtext.generator.IFileSystemAccessExtension3
      Throws:
      org.eclipse.xtext.util.RuntimeIOException