| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private abstract static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| private static final boolean | |
| private static final String | |
| private static final AtomicBoolean | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final File |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static List | |
| private static boolean | |
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| private List | |
| pack-priv static List | |
| private static String | |
| public static String | |
| private UnsatisfiedLinkError | |
| private List | |
| pack-priv static boolean | |
| public synchronized void | |
| private Throwable | |
| private static Object | |
| private static String | |
| private static String | |
| private String | |
| private synchronized void | |
| private static synchronized void | |
| pack-priv static File | Returns: The temporary directory.Returns the temporary directory where the native library is extracted to; debugging only. |
| private List | |
| private static URL |
| ARCHITECTURE_AND_OS | back to summary |
|---|---|
| private static final List<String> ARCHITECTURE_AND_OS | |
| IS_ANDROID | back to summary |
|---|---|
| private static final boolean IS_ANDROID | |
| LIBRARY_NAME | back to summary |
|---|---|
| private static final String LIBRARY_NAME | |
| LOADED | back to summary |
|---|---|
| private static final AtomicBoolean LOADED | |
| OS_NAME_SIMPLIFIED | back to summary |
|---|---|
| private static final String OS_NAME_SIMPLIFIED | |
| PROP_LIBRARY_DISABLE | back to summary |
|---|---|
| private static final String PROP_LIBRARY_DISABLE | |
| PROP_LIBRARY_OVERRIDE | back to summary |
|---|---|
| private static final String PROP_LIBRARY_OVERRIDE | |
| PROP_LIBRARY_OVERRIDE_FORCE | back to summary |
|---|---|
| private static final String PROP_LIBRARY_OVERRIDE_FORCE | |
| PROP_LIBRARY_TMPDIR | back to summary |
|---|---|
| private static final String PROP_LIBRARY_TMPDIR | |
| TEMP_DIR | back to summary |
|---|---|
| private static final File TEMP_DIR | |
| NativeLibraryLoader | back to summary |
|---|---|
| pack-priv NativeLibraryLoader() | |
| architectureAndOS | back to summary |
|---|---|
| private static List | |
| checkAndroid | back to summary |
|---|---|
| private static boolean checkAndroid() | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| findLibraryCandidates | back to summary |
|---|---|
| private List | |
| getArchitectureAndOS | back to summary |
|---|---|
| pack-priv static List | |
| getArtifactVersion | back to summary |
|---|---|
| private static String getArtifactVersion(Class<?> providerClass, String... artifactNames) throws IOException | |
| getJunixsocketVersion | back to summary |
|---|---|
| public static String getJunixsocketVersion() throws IOException | |
| initCantLoadLibraryError | back to summary |
|---|---|
| private UnsatisfiedLinkError initCantLoadLibraryError(List<Throwable> suppressedThrowables) | |
| initLibraryCandidates | back to summary |
|---|---|
| private List | |
| isAndroid | back to summary |
|---|---|
| pack-priv static boolean isAndroid() | |
| loadLibrary | back to summary |
|---|---|
public synchronized void loadLibrary()
| |
| loadLibraryOverride | back to summary |
|---|---|
| private Throwable loadLibraryOverride() | |
| loadLibrarySyncMonitor | back to summary |
|---|---|
| private static Object loadLibrarySyncMonitor() | |
| lookupArchProperty | back to summary |
|---|---|
| private static String lookupArchProperty(String key, String defaultVal) | |
| mapLibraryName | back to summary |
|---|---|
| private static String mapLibraryName(String libraryNameAndVersion) | |
| nodepsPath | back to summary |
|---|---|
| private String nodepsPath(String path) | |
| setLoaded | back to summary |
|---|---|
| private synchronized void setLoaded(String library) | |
| setLoaded0 | back to summary |
|---|---|
private static synchronized void setLoaded0(String library)
| |
| tempDir | back to summary |
|---|---|
| pack-priv static File tempDir() Returns the temporary directory where the native library is extracted to; debugging only.
| |
| tryProviderClass | back to summary |
|---|---|
| private List | |
| validateResourceURL | back to summary |
|---|---|
| private static URL validateResourceURL(URL url) | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final URL | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | ClasspathLibraryCandidate(String artifactName, String libraryNameAndVersion, String path, URL library)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract org. Implements java. Closes this stream and releases any system resources associated with it. |
| private void | deleteLibTmpDelFiles(File
The directory to check. libDir)Even though we ask the JVM to delete the library file upon VM exit, this may not be honored in all cases (crash, Windows, etc.) Therefore, we attempt to delete these files whenever another JVM using junixsocket starts up. |
| pack-priv synchronized String | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| private static void |
| artifactName | back to summary |
|---|---|
| private final String artifactName | |
| library | back to summary |
|---|---|
| private final URL library | |
| path | back to summary |
|---|---|
| private final String path | |
| ClasspathLibraryCandidate | back to summary |
|---|---|
| pack-priv ClasspathLibraryCandidate(String artifactName, String libraryNameAndVersion, String path, URL library) | |
| close | back to summary |
|---|---|
| public void close() Implements abstract org. Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| deleteLibTmpDelFiles | back to summary |
|---|---|
| private void deleteLibTmpDelFiles(File libDir) Even though we ask the JVM to delete the library file upon VM exit, this may not be honored in all cases (crash, Windows, etc.) Therefore, we attempt to delete these files whenever another JVM using junixsocket starts up. This is simplified by keeping empty marker files next to the temporary shared library file.
| |
| load | back to summary |
|---|---|
| pack-priv synchronized String load() throws IOException, LinkageError Implements abstract org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| tryDelete | back to summary |
|---|---|
private static void tryDelete(File f)
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | close()
Redeclares java. Closes this stream and releases any system resources associated with it. |
| pack-priv abstract String | |
| public String |
| libraryNameAndVersion | back to summary |
|---|---|
| protected final String libraryNameAndVersion | |
| LibraryCandidate | back to summary |
|---|---|
| protected LibraryCandidate(String libraryNameAndVersion) | |
| close | back to summary |
|---|---|
| public abstract void close() Redeclares java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| load | back to summary |
|---|---|
pack-priv abstract String load() throws Exception
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract org. Implements java. Closes this stream and releases any system resources associated with it. |
| pack-priv String | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| StandardLibraryCandidate | back to summary |
|---|---|
| pack-priv StandardLibraryCandidate(String version) | |
| close | back to summary |
|---|---|
| public void close() Implements abstract org. Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| load | back to summary |
|---|---|
| pack-priv String load() throws Exception, LinkageError Implements abstract org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |