public class VersionInputStream extends InputStream
VersionRetriever
Constructor and Description |
---|
VersionInputStream(List<Long> versionList)
Creates a version input stream from the given list of versions.
|
Modifier and Type | Method and Description |
---|---|
int |
available()
Method to check whether anymore bytes are left to read.
|
int |
read()
Reads the stream one by one.
|
close, mark, markSupported, read, read, reset, skip
public int read() throws IOException
read
in class InputStream
IOException
- if an error occurs.public int available() throws IOException
available
in class InputStream
IOException
- if an error occurs.Copyright © 2015 WSO2 Inc. All Rights Reserved.