public interface IFileSystemAccess2 extends IFileSystemAccess, IFileSystemAccessExtension, IFileSystemAccessExtension2, IFileSystemAccessExtension3
IFileSystemAccess.
Further enhancements will be implemented directly in this interface.DEFAULT_OUTPUT| Modifier and Type | Method and Description |
|---|---|
boolean |
isFile(java.lang.String path)
Tests whether the file exists at the location in the default output configuration.
|
boolean |
isFile(java.lang.String path,
java.lang.String outputConfigurationName)
Tests whether the file exists at the location denoted by the output configuration.
|
deleteFile, generateFile, generateFiledeleteFilegetURI, getURIgenerateFile, generateFile, readBinaryFile, readBinaryFile, readTextFile, readTextFileboolean isFile(java.lang.String path,
java.lang.String outputConfigurationName)
throws org.eclipse.xtext.util.RuntimeIOException
true if the file at the described location exists and is a normal file
(not a directory). Otherwise false.path - using '/' as path separatoroutputConfigurationName - the name of the output configurationtrue when the file at the given path exists and is a normal file. Will return false when
the path belongs to a directory.org.eclipse.xtext.util.RuntimeIOExceptionboolean isFile(java.lang.String path)
throws org.eclipse.xtext.util.RuntimeIOException
true if the file at the described location exists and is a normal file
(not a directory). Otherwise false.path - using '/' as path separatortrue when the file at the given path exists and is a normal file. Will return false when
the path belongs to a directory.org.eclipse.xtext.util.RuntimeIOException