public class VirgilDataSource extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
VirgilDataSource()
Create a new instance of
VirgilDataSource |
protected |
VirgilDataSource(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(VirgilDataSource obj) |
boolean |
hasData() |
byte[] |
read() |
protected void |
swigDirectorDisconnect() |
void |
swigReleaseOwnership() |
void |
swigTakeOwnership() |
protected VirgilDataSource(long cPtr,
boolean cMemoryOwn)
public VirgilDataSource()
VirgilDataSourceprotected static long getCPtr(VirgilDataSource obj)
public void delete()
protected void swigDirectorDisconnect()
public void swigReleaseOwnership()
public void swigTakeOwnership()
public void close()
throws IOException
close in interface AutoCloseableIOExceptionpublic boolean hasData()
throws IOException
true if target source still contains unread data.IOException - if an error occurred.public byte[] read()
throws IOException
IOException - if an error occurred.Copyright © 2016. All rights reserved.