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
-
Field Summary
Fields inherited from interface org.eclipse.xtext.generator.IFileSystemAccess
DEFAULT_OUTPUT -
Constructor Summary
ConstructorsConstructorDescriptionTestFolderAwareFsa(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 originalFsa, boolean wholeProject) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteFile(String arg0) voiddeleteFile(String arg0, String arg1) voidgenerateFile(String arg0, InputStream arg1) voidgenerateFile(String fileName, CharSequence contents) voidgenerateFile(String arg0, String arg1, InputStream arg2) voidgenerateFile(String arg0, String arg1, CharSequence arg2) org.eclipse.emf.common.util.URIorg.eclipse.emf.common.util.URIbooleanbooleanstatic booleanisTestResource(org.eclipse.emf.ecore.resource.Resource resource) readBinaryFile(String arg0) readBinaryFile(String arg0, String arg1) readTextFile(String arg0) readTextFile(String arg0, String arg1)
-
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
- Specified by:
generateFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccess
-
deleteFile
- Specified by:
deleteFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccess
-
deleteFile
- Specified by:
deleteFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccessExtension
-
generateFile
public void generateFile(String arg0, InputStream arg1) throws org.eclipse.xtext.util.RuntimeIOException - Specified by:
generateFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccessExtension3- Throws:
org.eclipse.xtext.util.RuntimeIOException
-
generateFile
- Specified by:
generateFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccess
-
generateFile
public void generateFile(String arg0, String arg1, InputStream arg2) throws org.eclipse.xtext.util.RuntimeIOException - Specified by:
generateFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccessExtension3- Throws:
org.eclipse.xtext.util.RuntimeIOException
-
getURI
- Specified by:
getURIin interfaceorg.eclipse.xtext.generator.IFileSystemAccessExtension2
-
getURI
- Specified by:
getURIin interfaceorg.eclipse.xtext.generator.IFileSystemAccessExtension2
-
isFile
- Specified by:
isFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccess2- Throws:
org.eclipse.xtext.util.RuntimeIOException
-
isFile
- Specified by:
isFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccess2- Throws:
org.eclipse.xtext.util.RuntimeIOException
-
readBinaryFile
- Specified by:
readBinaryFilein interfaceorg.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:
readBinaryFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccessExtension3- Throws:
org.eclipse.xtext.util.RuntimeIOException
-
readTextFile
- Specified by:
readTextFilein interfaceorg.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:
readTextFilein interfaceorg.eclipse.xtext.generator.IFileSystemAccessExtension3- Throws:
org.eclipse.xtext.util.RuntimeIOException
-