public abstract class AbstractFileSystemAccess extends java.lang.Object implements IFileSystemAccess, IFileSystemAccessExtension, IFileSystemAccessExtension2
DEFAULT_OUTPUT| Constructor and Description | 
|---|
AbstractFileSystemAccess()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
deleteFile(java.lang.String fileName)  | 
void | 
deleteFile(java.lang.String fileName,
          java.lang.String outputConfigurationName)  | 
void | 
generateFile(java.lang.String fileName,
            java.lang.CharSequence contents)  | 
protected java.lang.String | 
getCurrentSource()
The current source folder, relative to the project location 
 | 
protected OutputConfiguration | 
getOutputConfig(java.lang.String outputName)  | 
java.util.Map<java.lang.String,OutputConfiguration> | 
getOutputConfigurations()  | 
protected java.util.Map<java.lang.String,java.lang.String> | 
getPathes()  | 
org.eclipse.emf.common.util.URI | 
getURI(java.lang.String fileName)
Returns an URI for the specified file in the default output location. 
 | 
protected java.lang.CharSequence | 
postProcess(java.lang.String fileName,
           java.lang.String outputConfiguration,
           java.lang.CharSequence content)  | 
protected java.lang.CharSequence | 
postProcess(java.lang.String fileName,
           java.lang.String outputConfiguration,
           java.lang.CharSequence content,
           java.lang.String charset)  | 
void | 
setCurrentSource(java.lang.String currentSource)  | 
void | 
setOutputConfigurations(java.util.Map<java.lang.String,OutputConfiguration> outputs)  | 
void | 
setOutputPath(java.lang.String path)  | 
void | 
setOutputPath(java.lang.String outputName,
             java.lang.String path)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateFilegetURIpublic void setCurrentSource(java.lang.String currentSource)
protected java.lang.String getCurrentSource()
public void setOutputConfigurations(java.util.Map<java.lang.String,OutputConfiguration> outputs)
public java.util.Map<java.lang.String,OutputConfiguration> getOutputConfigurations()
protected OutputConfiguration getOutputConfig(java.lang.String outputName)
protected java.util.Map<java.lang.String,java.lang.String> getPathes()
public void setOutputPath(java.lang.String outputName,
                 java.lang.String path)
public void setOutputPath(java.lang.String path)
public void generateFile(java.lang.String fileName,
                java.lang.CharSequence contents)
generateFile in interface IFileSystemAccessfileName - using '/' as file separatorcontents - the to-be-written contents.public void deleteFile(java.lang.String fileName)
deleteFile in interface IFileSystemAccessfileName - using '/' as file separatorpublic void deleteFile(java.lang.String fileName,
              java.lang.String outputConfigurationName)
deleteFile in interface IFileSystemAccessExtensionfileName - using '/' as file separatoroutputConfigurationName - the name of the output configurationprotected java.lang.CharSequence postProcess(java.lang.String fileName,
                                 java.lang.String outputConfiguration,
                                 java.lang.CharSequence content)
protected java.lang.CharSequence postProcess(java.lang.String fileName,
                                 java.lang.String outputConfiguration,
                                 java.lang.CharSequence content,
                                 java.lang.String charset)
public org.eclipse.emf.common.util.URI getURI(java.lang.String fileName)
IFileSystemAccessExtension2getURI in interface IFileSystemAccessExtension2