| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | NativeLibraryResourceLoader.Identification
Separate class for native platform ID which is only loaded when native libs are loaded. |
| Modifier and Type | Field and Description |
|---|---|
| private final File | root
The filesystem root of the resource loader. |
| Access | Constructor and Description |
|---|---|
| public | NativeLibraryResourceLoader(final File
the filesystem root of the resource loader root)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public String | getLibrary(final String
the name name)Overrides org. Implements org. |
| public URI | getLocation()
Overrides default org. |
| public File | Returns: the filesystem root of the resource loaderGet the filesystem root of the resource loader. |
| root | back to summary |
|---|---|
| private final File root The filesystem root of the resource loader. | |
| NativeLibraryResourceLoader | back to summary |
|---|---|
| public NativeLibraryResourceLoader(final File root) Construct a new instance.
| |
| getArchName | back to summary |
|---|---|
| public static String getArchName() Get the detected architecture name for this platform.
| |
| getLibrary | back to summary |
|---|---|
| public String getLibrary(final String name) Overrides org. Implements org. Doc from org. Get the absolute physical filesystem path for a library with the given name. The resultant path should be
path-separated using " | |
| getLocation | back to summary |
|---|---|
| public URI getLocation() Overrides default org. Doc from org. Get the base location of the resources in this loader (if any). If the location is not known, or the resource
loader does not support locations, or the resource loader does not support this method,
| |
| getRoot | back to summary |
|---|---|
| public File getRoot() Get the filesystem root of the resource loader.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final Pattern | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final Pattern | |
| pack-priv static final String[] | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final Pattern | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static String | |
| private static String |
| ARCH_NAME | back to summary |
|---|---|
| pack-priv static final String ARCH_NAME | |
| CPU_ID | back to summary |
|---|---|
| pack-priv static final String CPU_ID | |
| DISTRIBUTION_RELEASE_VERSION_PATTERN | back to summary |
|---|---|
| pack-priv static final Pattern DISTRIBUTION_RELEASE_VERSION_PATTERN | |
| FEDORA | back to summary |
|---|---|
| pack-priv static final String FEDORA | |
| FEDORA_RELEASE_FILE | back to summary |
|---|---|
| pack-priv static final String FEDORA_RELEASE_FILE | |
| ID | back to summary |
|---|---|
| pack-priv static final String ID | |
| MAC_VERSION_PATTERN | back to summary |
|---|---|
| pack-priv static final Pattern MAC_VERSION_PATTERN | |
| NATIVE_SEARCH_PATHS | back to summary |
|---|---|
| pack-priv static final String[] NATIVE_SEARCH_PATHS | |
| OS_ID | back to summary |
|---|---|
| pack-priv static final String OS_ID | |
| OS_RELEASE_FILE | back to summary |
|---|---|
| pack-priv static final String OS_RELEASE_FILE | |
| OS_RELEASE_VERSION_ID_PATTERN | back to summary |
|---|---|
| pack-priv static final Pattern OS_RELEASE_VERSION_ID_PATTERN | |
| REDHAT_RELEASE_FILE | back to summary |
|---|---|
| pack-priv static final String REDHAT_RELEASE_FILE | |
| RHEL | back to summary |
|---|---|
| pack-priv static final String RHEL | |
| VERSION_ID | back to summary |
|---|---|
| pack-priv static final String VERSION_ID | |
| Identification | back to summary |
|---|---|
| pack-priv Identification() | |
| getLinuxOSVersion | back to summary |
|---|---|
| private static String getLinuxOSVersion() | |
| getLinuxOSVersionFromDistributionFile | back to summary |
|---|---|
| private static String getLinuxOSVersionFromDistributionFile(String distributionFile) | |
| getLinuxOSVersionFromOSReleaseFile | back to summary |
|---|---|
| private static String getLinuxOSVersionFromOSReleaseFile() | |