Path Helperclass. Contains functions to create Several paths
static String rogue.system.Path.generateAbsolutePath |
( |
String |
path | ) |
|
|
static |
Creates an Absolute Path to path
- Parameters
-
path | Path to which absolute path should be created |
- Returns
- Absolute Path
static String rogue.system.Path.generatePath |
( |
String |
path | ) |
|
|
static |
Generates an absolute Pathstring from a given relative Path. Automatically adds src folder if not given in working directory.
- Parameters
-
path | Relative Path in Form "[folder]/[path]". |
- Returns
- Absolute Path in current Workingdirectory
static boolean rogue.system.Path.isWin |
( |
| ) |
|
|
static |
Checks if current OS is Windows
- Returns
- Windows System
static boolean rogue.system.Path.pathEndsWithSourceFolder |
( |
String |
path | ) |
|
|
static |
Checks, if given Path already includes src/ Folder. Needed, because eclipse started instances, don't include src/ in user.dir while Command line started instances do
- Parameters
-
- Returns
- True, if path already includes src Folder
void rogue.system.Path.runningFromJar |
( |
| ) |
|
The documentation for this class was generated from the following file: