java.lang.Object | |
↳ | com.pdftron.sdf.DocSnapshot |
The class DocSnapshot. Represents a state of the document.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DocSnapshot(long impl_ptr) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | __GetHandle() | ||||||||||
void |
close()
Frees the native memory of the object.
| ||||||||||
void |
destroy()
Frees the native memory of the object.
| ||||||||||
boolean |
equals(DocSnapshot snapshot)
Returns whether this snapshot's document state is equivalent to another.
| ||||||||||
int |
getHash()
Returns a hash that is unique to particular document states.
| ||||||||||
boolean |
isValid()
Returns whether this snapshot is valid.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.AutoCloseable
|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Returns whether this snapshot's document state is equivalent to another.
snapshot | -- the other snapshot with which to compare. |
---|
PDFNetException |
---|
Returns a hash that is unique to particular document states.
PDFNetException |
---|
Returns whether this snapshot is valid.
PDFNetException |
---|