public class IndyResourceFetcher extends Object implements org.apache.maven.index.updater.ResourceFetcher
| Constructor and Description |
|---|
IndyResourceFetcher(org.commonjava.indy.data.StoreDataManager storeDataManager,
org.commonjava.indy.content.DownloadManager fileManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(String id,
String url) |
void |
disconnect() |
InputStream |
retrieve(String name) |
public IndyResourceFetcher(org.commonjava.indy.data.StoreDataManager storeDataManager,
org.commonjava.indy.content.DownloadManager fileManager)
public void connect(String id, String url) throws IOException
connect in interface org.apache.maven.index.updater.ResourceFetcherIOExceptionpublic void disconnect()
throws IOException
disconnect in interface org.apache.maven.index.updater.ResourceFetcherIOExceptionpublic InputStream retrieve(String name) throws IOException, FileNotFoundException
retrieve in interface org.apache.maven.index.updater.ResourceFetcherIOExceptionFileNotFoundExceptionCopyright © 2011-2016. All Rights Reserved.