1 package org.brotli.integration; 2 3 /** 4 * Optionally loads brotli JNI wrapper native library. 5 */ 6 public class BrotliJniTestBase { 7 static { 8 String jniLibrary = System.getProperty("BROTLI_JNI_LIBRARY"); 9 if (jniLibrary != null) { System.load(new java.io.File(jniLibrary).getAbsolutePath())10 System.load(new java.io.File(jniLibrary).getAbsolutePath()); 11 } 12 } 13 }