public class EclipseFileSystemSupportImpl extends AbstractFileSystemSupport
Constructor and Description |
---|
EclipseFileSystemSupportImpl() |
Modifier and Type | Method and Description |
---|---|
void |
delete(org.eclipse.xtend.lib.macro.file.Path path) |
boolean |
exists(org.eclipse.xtend.lib.macro.file.Path path) |
protected org.eclipse.core.resources.IResource |
findResource(org.eclipse.xtend.lib.macro.file.Path path) |
java.lang.String |
getCharset(org.eclipse.xtend.lib.macro.file.Path path) |
java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.file.Path> |
getChildren(org.eclipse.xtend.lib.macro.file.Path path) |
java.io.InputStream |
getContentsAsStream(org.eclipse.xtend.lib.macro.file.Path path) |
protected org.eclipse.core.resources.IContainer |
getEclipseContainer(org.eclipse.xtend.lib.macro.file.Path path) |
protected org.eclipse.core.resources.IFile |
getEclipseFile(org.eclipse.xtend.lib.macro.file.Path path) |
protected org.eclipse.core.resources.IFolder |
getEclipseFolder(org.eclipse.xtend.lib.macro.file.Path path) |
long |
getLastModification(org.eclipse.xtend.lib.macro.file.Path path) |
org.eclipse.xtend.lib.macro.file.Path |
getPath(org.eclipse.emf.ecore.resource.Resource res) |
org.eclipse.core.resources.IWorkspaceRoot |
getWorkspaceRoot() |
boolean |
isFile(org.eclipse.xtend.lib.macro.file.Path path) |
boolean |
isFolder(org.eclipse.xtend.lib.macro.file.Path path) |
void |
mkdir(org.eclipse.xtend.lib.macro.file.Path path) |
void |
setContentsAsStream(org.eclipse.xtend.lib.macro.file.Path path,
java.io.InputStream stream) |
void |
setWorkspaceRoot(org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) |
protected org.eclipse.core.runtime.Path |
toEclipsePath(org.eclipse.xtend.lib.macro.file.Path path) |
java.net.URI |
toURI(org.eclipse.xtend.lib.macro.file.Path path) |
protected java.net.URI |
toURI(org.eclipse.xtend.lib.macro.file.Path path,
java.util.List<java.lang.String> trailingSegments) |
getContents, getEncodingProvider, getPostProcessor, setContents, setEncodingProvider, setPostProcessor
protected org.eclipse.core.resources.IFile getEclipseFile(org.eclipse.xtend.lib.macro.file.Path path)
protected org.eclipse.core.resources.IFolder getEclipseFolder(org.eclipse.xtend.lib.macro.file.Path path)
protected org.eclipse.core.resources.IContainer getEclipseContainer(org.eclipse.xtend.lib.macro.file.Path path)
protected org.eclipse.core.resources.IResource findResource(org.eclipse.xtend.lib.macro.file.Path path)
protected org.eclipse.core.runtime.Path toEclipsePath(org.eclipse.xtend.lib.macro.file.Path path)
public java.lang.Iterable<? extends org.eclipse.xtend.lib.macro.file.Path> getChildren(org.eclipse.xtend.lib.macro.file.Path path)
public boolean exists(org.eclipse.xtend.lib.macro.file.Path path)
public boolean isFolder(org.eclipse.xtend.lib.macro.file.Path path)
public boolean isFile(org.eclipse.xtend.lib.macro.file.Path path)
public long getLastModification(org.eclipse.xtend.lib.macro.file.Path path)
public java.lang.String getCharset(org.eclipse.xtend.lib.macro.file.Path path)
public java.io.InputStream getContentsAsStream(org.eclipse.xtend.lib.macro.file.Path path)
public void delete(org.eclipse.xtend.lib.macro.file.Path path)
public void mkdir(org.eclipse.xtend.lib.macro.file.Path path)
public void setContentsAsStream(org.eclipse.xtend.lib.macro.file.Path path, java.io.InputStream stream)
public java.net.URI toURI(org.eclipse.xtend.lib.macro.file.Path path)
protected java.net.URI toURI(org.eclipse.xtend.lib.macro.file.Path path, java.util.List<java.lang.String> trailingSegments)
public org.eclipse.xtend.lib.macro.file.Path getPath(org.eclipse.emf.ecore.resource.Resource res)
getPath
in class AbstractFileSystemSupport
@Pure public org.eclipse.core.resources.IWorkspaceRoot getWorkspaceRoot()
public void setWorkspaceRoot(org.eclipse.core.resources.IWorkspaceRoot workspaceRoot)