java.lang.Object |
↳ |
com.pdftron.pdf.BlackBoxContext |
Class Overview
The class BlackBoxContext.
Encapsulates the PDF document for use in the black box server backend
Summary
Public Methods |
long
|
__GetHandle()
|
synchronized
void
|
dispose()
Frees the native memory of the object.
|
String
|
doOperation(String instructions)
perform an arbitrary operation on the document.
|
PDFDoc
|
getDoc()
Gets the PDFDoc from the context.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Constants
public
static
final
int
e_failure
Constant Value:
2
(0x00000002)
public
static
final
int
e_incomplete
Constant Value:
1
(0x00000001)
public
static
final
int
e_success
Constant Value:
0
(0x00000000)
Public Constructors
public
BlackBoxContext
(long impl_ptr)
Public Methods
public
long
__GetHandle
()
public
synchronized
void
dispose
()
Frees the native memory of the object. Do not rely on the garbage collector.
public
String
doOperation
(String instructions)
perform an arbitrary operation on the document.
Parameters
instructions |
-- the operation to perform, and the accompanying arguments. |
Returns
- The results, in json form.
public
PDFDoc
getDoc
()
Gets the PDFDoc from the context. .