public interface IndexParser
| Modifier and Type | Method and Description |
|---|---|
Map<String,RemotePackageInfo> |
parse(InputStream indexStream,
UrlProvider contentSource)
Given an input stream containing the index data, this will parse that data and return
the parsed information.
|
Map<String,RemotePackageInfo> parse(InputStream indexStream, UrlProvider contentSource) throws Exception
indexStream - stream containing the index data (it is not necessary for this method to close this)contentSource - the content source where the index file came fromException - if failed to parse the index fileCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.