public class VersionRetriever extends Object
VersionInputStream
Constructor and Description |
---|
VersionRetriever(InputStream inputStream)
Creates a version retriever from the given input stream.
|
public VersionRetriever(InputStream inputStream)
inputStream
- a stream of versions as bytes.public long getVersion(int versionIndex) throws RegistryException
versionIndex
- the version index.RegistryException
- if the operation failed.Copyright © 2015 WSO2 Inc. All Rights Reserved.