1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
package com.artifex.mupdf.fitz; public class Cookie { static { Context.init(); } private long pointer; protected native void finalize(); public void destroy() { finalize(); pointer = 0; } private native long newNative(); public Cookie() { pointer = newNative(); } public native void abort(); }