public class FileSystemAccessor extends Object
Constructor and Description |
---|
FileSystemAccessor()
Empty constructor.
|
Modifier and Type | Method and Description |
---|---|
static File |
getHomeFolder()
Returns the user home folder.
|
static OperatingSystemEnum |
getOperatingSystem()
Get the operating system.
|
static String |
getPathOfClass(String aClassname)
Returns the absolute path of the underlying file system of the given
class.
|
public static OperatingSystemEnum getOperatingSystem()
public static File getHomeFolder()
public static String getPathOfClass(String aClassname)
aClassname
- The classname of which the parent folder needs to be
returned (e.g.: "FileSystemAccessor.class")Copyright © 2016. All rights reserved.