public class Locator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GS_BOOT_LIB |
static String |
GS_HOME |
static String |
GS_HOME_DIR_SYSTEM_PROP |
static String |
GS_LIB_PLATFORM_EXT |
Constructor and Description |
---|
Locator() |
Modifier and Type | Method and Description |
---|---|
static Properties |
deriveDirectories() |
static String |
derivePath(String fileName)
Derive the location of a file or subdirectory, starting from the GigaSpaces base directory
and scanning sub-directories.
|
static String |
derivePath(String baseDir,
String fileName)
Derive the location of a file or subdirectory, starting from the GigaSpaces base directory
and scanning sub-directories.
|
static String |
getLib() |
static String |
getLib(Properties properties) |
static String |
getLibOptional() |
static String |
getLibOptional(Properties properties) |
static String |
getLibOptionalSecurity() |
static String |
getLibPlatform() |
static String |
getLibPlatform(Properties properties) |
static String |
getLibRequired() |
static String |
getLibRequired(Properties properties) |
static String |
getLocation(Properties properties,
String key) |
static String |
getProductHomeDirectoryName() |
public static final String GS_HOME_DIR_SYSTEM_PROP
public static final String GS_HOME
public static final String GS_BOOT_LIB
public static final String GS_LIB_PLATFORM_EXT
public static String getLib(Properties properties)
public static String getLibRequired()
public static String getLibRequired(Properties properties)
public static String getLibPlatform()
public static String getLibPlatform(Properties properties)
public static String getLibOptional()
public static String getLib()
public static String getLibOptional(Properties properties)
public static String getLibOptionalSecurity()
public static String getLocation(Properties properties, String key)
public static Properties deriveDirectories()
public static String derivePath(String fileName)
fileName
- The file name to locate. This parameter must not be nullnull
is returnedpublic static String derivePath(String baseDir, String fileName)
fileName
- The file name to locate. This parameter must not be nullbaseDir
- The directory to base/start the location from. Must not be null. If the value
start wih a "$", the value is interpreted as a System property. If thenull
is returnedpublic static String getProductHomeDirectoryName()
Copyright © GigaSpaces.