public abstract class AbstractFileSystemSupport extends java.lang.Object implements MutableFileSystemSupport
| Constructor and Description |
|---|
AbstractFileSystemSupport() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.CharSequence |
getContents(Path path)
Returns the contents of this file as a char sequence.
|
IEncodingProvider |
getEncodingProvider() |
abstract Path |
getPath(org.eclipse.emf.ecore.resource.Resource res) |
IFilePostProcessor |
getPostProcessor() |
void |
setContents(Path path,
java.lang.CharSequence contents)
Writes the given contents to the given path.
|
void |
setEncodingProvider(IEncodingProvider encodingProvider) |
void |
setPostProcessor(IFilePostProcessor postProcessor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, mkdir, setContentsAsStreamexists, getCharset, getChildren, getContentsAsStream, getLastModification, isFile, isFolder, toURIpublic java.lang.CharSequence getContents(Path path)
FileSystemSupportgetContents in interface FileSystemSupportpath - the pathpublic void setContents(Path path, java.lang.CharSequence contents)
MutableFileSystemSupportsetContents in interface MutableFileSystemSupportpath - the path to write the contents tocontents - the contents of the filepublic abstract Path getPath(org.eclipse.emf.ecore.resource.Resource res)
@Pure public IEncodingProvider getEncodingProvider()
public void setEncodingProvider(IEncodingProvider encodingProvider)
@Pure public IFilePostProcessor getPostProcessor()
public void setPostProcessor(IFilePostProcessor postProcessor)