Package com.jogamp.common.os
Class NativeLibrary.LibPath
- java.lang.Object
-
- com.jogamp.common.os.NativeLibrary.LibPath
-
- Enclosing class:
- NativeLibrary
public static class NativeLibrary.LibPath extends Object
Native Library Path Specification
-
-
Field Summary
Fields Modifier and Type Field Description booleanaddToSearchPathTrue if directory of absolute library path shall be added to the linker search path.booleanisAbsoluteTrue if path is an absolute pathStringpathRelative or absolute library path.StringsearchPathPrependSearch path prepend directories, separated by OSFile.pathSeparator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NativeLibrary.LibPathcreateAbsolute(String p)Returns new instance with absolute path in system linker search pathstatic NativeLibrary.LibPathcreateExtra(String p, String searchPathPrepend)Returns new instance with absolute path not in system linker search path.static NativeLibrary.LibPathcreateRelative(String p)Returns new instance with relative path in system linker search pathbooleanequals(Object o)inthashCode()StringtoString()
-
-
-
Field Detail
-
path
public final String path
Relative or absolute library path.
-
isAbsolute
public final boolean isAbsolute
True if path is an absolute path
-
addToSearchPath
public final boolean addToSearchPath
True if directory of absolute library path shall be added to the linker search path. May not be supported on all systems. Supported OS: Windows.- See Also:
searchPathPrepend
-
searchPathPrepend
public final String searchPathPrepend
Search path prepend directories, separated by OSFile.pathSeparator. May be used independent to `addToSearchPath`.- See Also:
addToSearchPath
-
-
Method Detail
-
createRelative
public static NativeLibrary.LibPath createRelative(String p)
Returns new instance with relative path in system linker search path
-
createAbsolute
public static NativeLibrary.LibPath createAbsolute(String p)
Returns new instance with absolute path in system linker search path
-
createExtra
public static NativeLibrary.LibPath createExtra(String p, String searchPathPrepend)
Returns new instance with absolute path not in system linker search path.- See Also:
addToSearchPath
-
-