public class FilenameUtils extends Object
Constructor and Description |
---|
FilenameUtils() |
Modifier and Type | Method and Description |
---|---|
Directory |
getDirectory(TavernaRun run,
DirEntryReference d)
Get a named directory from a workflow run.
|
Directory |
getDirectory(TavernaRun run,
String name)
Get a named directory from a workflow run.
|
DirectoryEntry |
getDirEntry(TavernaRun run,
DirEntryReference d)
Get a named directory entry from a workflow run.
|
DirectoryEntry |
getDirEntry(TavernaRun run,
List<javax.ws.rs.core.PathSegment> d)
Get a named directory entry from a workflow run.
|
DirectoryEntry |
getDirEntry(TavernaRun run,
String name)
Get a named directory entry from a workflow run.
|
File |
getFile(TavernaRun run,
DirEntryReference d)
Get a named file from a workflow run.
|
File |
getFile(TavernaRun run,
String name)
Get a named file from a workflow run.
|
public DirectoryEntry getDirEntry(TavernaRun run, String name) throws FilesystemAccessException, NoDirectoryEntryException
run
- The run whose working directory is to be used as the root of
the search.name
- The name of the directory entry to look up.NoDirectoryEntryException
- If there is no such entry.FilesystemAccessException
- If the directory isn't specified or isn't readable.public DirectoryEntry getDirEntry(TavernaRun run, List<javax.ws.rs.core.PathSegment> d) throws FilesystemAccessException, NoDirectoryEntryException
run
- The run whose working directory is to be used as the root of
the search.d
- The path segments describing what to look up.NoDirectoryEntryException
- If there is no such entry.FilesystemAccessException
- If the directory isn't specified or isn't readable.public DirectoryEntry getDirEntry(TavernaRun run, DirEntryReference d) throws FilesystemAccessException, NoDirectoryEntryException
run
- The run whose working directory is to be used as the root of
the search.d
- The directory reference describing what to look up.FilesystemAccessException
- If the directory isn't specified or isn't readable.NoDirectoryEntryException
- If there is no such entry.public Directory getDirectory(TavernaRun run, DirEntryReference d) throws FilesystemAccessException, NoDirectoryEntryException
run
- The run whose working directory is to be used as the root of
the search.d
- The directory reference describing what to look up.FilesystemAccessException
- If the directory isn't specified or isn't readable, or if the
name doesn't refer to a directory.NoDirectoryEntryException
- If there is no such entry.public Directory getDirectory(TavernaRun run, String name) throws FilesystemAccessException, NoDirectoryEntryException
run
- The run whose working directory is to be used as the root of
the search.name
- The name of the directory to look up.FilesystemAccessException
- If the directory isn't specified or isn't readable, or if the
name doesn't refer to a directory.NoDirectoryEntryException
- If there is no such entry.public File getFile(TavernaRun run, DirEntryReference d) throws FilesystemAccessException, NoDirectoryEntryException
run
- The run whose working directory is to be used as the root of
the search.d
- The directory reference describing what to look up.FilesystemAccessException
- If the file isn't specified or isn't readable, or if the name
doesn't refer to a file.NoDirectoryEntryException
- If there is no such entry.public File getFile(TavernaRun run, String name) throws FilesystemAccessException, NoDirectoryEntryException
run
- The run whose working directory is to be used as the root of
the search.name
- The name of the file to look up.FilesystemAccessException
- If the file isn't specified or isn't readable, or if the name
doesn't refer to a file.NoDirectoryEntryException
- If there is no such entry.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.