Uses of Class
org.eclipse.xtend.lib.macro.file.Path
Packages that use Path
-
Uses of Path in org.eclipse.xtend.lib.macro.declaration
Methods in org.eclipse.xtend.lib.macro.declaration that return PathModifier and TypeMethodDescriptionCompilationUnit.getFilePath()Returns the file handle for the given compilation unit. -
Uses of Path in org.eclipse.xtend.lib.macro.file
Fields in org.eclipse.xtend.lib.macro.file declared as PathMethods in org.eclipse.xtend.lib.macro.file that return PathModifier and TypeMethodDescriptionAppends the given suffix to this path.Path.getAbsolutePath(String relativePath) Path.getAbsolutePath(Path relativePath) Path.getParent()Returns the parent of this path or null if this path is the root path.FileLocations.getProjectFolder(Path path) Returns the project root for the given resource handle.FileLocations.getSourceFolder(Path path) Returns the source folder the given handle is contained in ornullif the givenPathis not located in a source folder.FileLocations.getTargetFolder(Path sourceFolder) Returns the target folder for the given source folder ornullif the given folder is not a source folder or doesn't have a configured target folder.Path.relativize(String other) Seerelativize(Path)Path.relativize(Path other) Constructs a relative path between this path and a given path.Methods in org.eclipse.xtend.lib.macro.file that return types with arguments of type PathModifier and TypeMethodDescriptionFileSystemSupport.getChildren(Path path) FileLocations.getProjectSourceFolders(Path path) Methods in org.eclipse.xtend.lib.macro.file with parameters of type PathModifier and TypeMethodDescriptionvoidDeletes the file or folder the given path points to.booleanPath.getAbsolutePath(Path relativePath) FileSystemSupport.getCharset(Path path) Returns the name of a charset to be used when decoding the contents of this file into characters.FileSystemSupport.getChildren(Path path) FileSystemSupport.getContents(Path path) Returns the contents of this file as a char sequence.FileSystemSupport.getContentsAsStream(Path path) Returns an open input stream on the contents of this file.longFileSystemSupport.getLastModification(Path path) FileLocations.getProjectFolder(Path path) Returns the project root for the given resource handle.FileLocations.getProjectSourceFolders(Path path) FileLocations.getSourceFolder(Path path) Returns the source folder the given handle is contained in ornullif the givenPathis not located in a source folder.FileLocations.getTargetFolder(Path sourceFolder) Returns the target folder for the given source folder ornullif the given folder is not a source folder or doesn't have a configured target folder.booleanbooleanvoidDeprecated.Path.relativize(Path other) Constructs a relative path between this path and a given path.voidMutableFileSystemSupport.setContents(Path path, CharSequence contents) Writes the given contents to the given path.voidMutableFileSystemSupport.setContentsAsStream(Path path, InputStream source) Sets the contents of this file to the bytes in the given input stream.booleanPath.startsWith(Path other) Returns whether this path starts with the same segments and has the sameisAbsolute()value.Returns the URI representing the given path.