Interface IFileSystemAccess2

    • Method Detail

      • isFile

        boolean isFile​(java.lang.String path,
                       java.lang.String outputConfigurationName)
                throws org.eclipse.xtext.util.RuntimeIOException
        Tests whether the file exists at the location denoted by the output configuration. Returns true if the file at the described location exists and is a normal file (not a directory). Otherwise false.
        Parameters:
        path - using '/' as path separator
        outputConfigurationName - the name of the output configuration
        Returns:
        true when the file at the given path exists and is a normal file. Will return false when the path belongs to a directory.
        Throws:
        org.eclipse.xtext.util.RuntimeIOException
      • isFile

        boolean isFile​(java.lang.String path)
                throws org.eclipse.xtext.util.RuntimeIOException
        Tests whether the file exists at the location in the default output configuration. Returns true if the file at the described location exists and is a normal file (not a directory). Otherwise false.
        Parameters:
        path - using '/' as path separator
        Returns:
        true when the file at the given path exists and is a normal file. Will return false when the path belongs to a directory.
        Throws:
        org.eclipse.xtext.util.RuntimeIOException