public class VirgilDataSink extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
VirgilDataSink()
Create a new instance of
VirgilDataSink |
protected |
VirgilDataSink(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(VirgilDataSink obj) |
boolean |
isGood() |
protected void |
swigDirectorDisconnect() |
void |
swigReleaseOwnership() |
void |
swigTakeOwnership() |
void |
write(byte[] data)
Write data to the target object.
|
protected VirgilDataSink(long cPtr,
boolean cMemoryOwn)
public VirgilDataSink()
VirgilDataSinkprotected static long getCPtr(VirgilDataSink obj)
public void delete()
protected void swigDirectorDisconnect()
public void swigReleaseOwnership()
public void swigTakeOwnership()
public void close()
throws IOException
close in interface AutoCloseableIOExceptionpublic boolean isGood()
throws IOException
true if target object is able to write data.IOException - if an error occurred.public void write(byte[] data)
throws IOException
data - the data.IOException - if an error occurred.Copyright © 2016. All rights reserved.