public class Utilities
extends java.lang.Object
Collection of utility functions that aren't specific to A4E.
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
calcRelative(java.io.File fromfile,
java.io.File tofile)
Calculates a relative path for the supplied files.
|
static boolean |
delete(java.io.File file)
Returns true if the supplied path could be deleted completely.
|
public static final boolean delete(java.io.File file)
file
- The path which shall be removed.public static final java.lang.String calcRelative(java.io.File fromfile, java.io.File tofile)
fromfile
- Starting point within a filesystem.tofile
- Ending point within a filesystem.