Implement this interface to monitor the root file
Get File to path with help of reference anchor.
Get File to path with help of reference anchor.
Anchor is used as a reference in case that path is not absolute. Anchor could be path to directory or path to file. If anchor is file, then file's parent dir is used as an anchor.
If anchor itself is relative, then anchor is used together with current working directory.
NOTE: If anchor is non-existing path on filesystem, then it's always treated as file, e.g. it's last component is removed when it is used as an anchor.
path to be used as anchor
as string
optional path fragments
absolute, normalize path
Copies a resource into a file
Copies a resource into a file
File where resource is copied into, if not specified a temp file is created
Get a file from a resource Note: Use resourceToFile instead as this may not actually always load the file See: http://stackoverflow.com/questions/676250/different-ways-of-loading-a-file-as-an-inputstream