public final class PathInfo
extends java.lang.Object
This class provides information about the filesystem paths used by Neptus. On initialization this class will try to find the root folder of the Neptus distribution based on some heuristics. If this procedure fails a RuntimeException will be thrown and this class will be rendered useless.
Modifier and Type | Method and Description |
---|---|
static java.io.File |
getNeptusBinFolder()
Retrieves the Neptus folder that contains ready to run applications.
|
static java.io.File |
getNeptusConfigFile(java.lang.String first,
java.lang.String... more)
Retrieves a Neptus configuration file.
|
static java.io.File |
getNeptusConfigFolder()
Retrieves the Neptus folder that contains configuration files.
|
static java.io.File |
getNeptusJniFolder()
Retrieves the folder containing the native libraries hierarchy.
|
static java.util.List<java.io.File> |
getNeptusJniFolders()
Retrieves the list of folders containing native libraries specific to the current platform.
|
static java.io.File |
getNeptusLibFolder()
Retrieves the Neptus folder that contains Java libraries.
|
static java.io.File |
getNeptusRoot()
Retrieves the root folder of the Neptus distribution.
|
public static java.io.File getNeptusRoot()
public static java.io.File getNeptusJniFolder()
public static java.util.List<java.io.File> getNeptusJniFolders()
public static java.io.File getNeptusConfigFolder()
public static java.io.File getNeptusBinFolder()
public static java.io.File getNeptusLibFolder()
public static java.io.File getNeptusConfigFile(java.lang.String first, java.lang.String... more)
first
- the path string or initial part of the path string.more
- additional strings to be joined to form the path string.Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.