public class AetherClientResourceFetcher extends Object implements org.apache.maven.index.updater.ResourceFetcher
Constructor and Description |
---|
AetherClientResourceFetcher(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo,
org.apache.maven.wagon.proxy.ProxyInfo proxyInfo,
org.eclipse.core.runtime.IProgressMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
void |
connect(String id,
String url) |
void |
disconnect() |
InputStream |
retrieve(String name) |
void |
retrieve(String name,
File targetFile) |
public AetherClientResourceFetcher(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo, org.apache.maven.wagon.proxy.ProxyInfo proxyInfo, org.eclipse.core.runtime.IProgressMonitor monitor)
public void connect(String id, String url) throws IOException
connect
in interface org.apache.maven.index.updater.ResourceFetcher
IOException
public void disconnect() throws IOException
disconnect
in interface org.apache.maven.index.updater.ResourceFetcher
IOException
public InputStream retrieve(String name) throws IOException, FileNotFoundException
retrieve
in interface org.apache.maven.index.updater.ResourceFetcher
IOException
FileNotFoundException
public void retrieve(String name, File targetFile) throws IOException, FileNotFoundException
IOException
FileNotFoundException
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.