]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.lz4/src/net/jpountz/util/NativeParameters.java
Fixed org.simantics.lz4 to use bundle data area when running in OSGi
[simantics/platform.git] / bundles / org.simantics.lz4 / src / net / jpountz / util / NativeParameters.java
1 package net.jpountz.util;
2
3 import java.nio.file.Path;
4
5 import org.simantics.lz4.bundle.Activator;
6
7 /**
8  * @author Tuukka Lehtonen
9  */
10 public class NativeParameters {
11
12     /**
13      * The path that the native LZ4 dynamic library shall be extracted to if
14      * <code>non-null</code>. If <code>null</code>, class {@link Native} will pick a
15      * temporary file from the default temporary directory to extract the library
16      * to and load it from there.
17      *
18      * <p>
19      * This value must be set before {@link Native#load(Path)} is invoked.
20      *
21      * @see Activator
22      */
23     public static Path extractionPath;
24
25 }