public class VirgilStreamDataSource extends VirgilDataSource implements Closeable
swigCMemOwn| Constructor and Description |
|---|
VirgilStreamDataSource(InputStream stream) |
VirgilStreamDataSource(InputStream stream,
int chunkSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasData() |
byte[] |
read() |
delete, finalize, getCPtr, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnershippublic VirgilStreamDataSource(InputStream stream)
public VirgilStreamDataSource(InputStream stream, int chunkSize)
public boolean hasData()
throws IOException
hasData in class VirgilDataSourcetrue if target source still contains unread data.IOException - if an error occurred.public byte[] read()
throws IOException
read in class VirgilDataSourceIOException - if an error occurred.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class VirgilDataSourceIOExceptionCopyright © 2016. All rights reserved.