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.ResourceFetcherIOExceptionpublic void disconnect()
throws IOException
disconnect in interface org.apache.maven.index.updater.ResourceFetcherIOExceptionpublic void retrieve(String name, File targetFile) throws IOException, FileNotFoundException
IOExceptionFileNotFoundExceptionpublic InputStream retrieve(String name) throws IOException, FileNotFoundException
retrieve in interface org.apache.maven.index.updater.ResourceFetcherIOExceptionFileNotFoundExceptionCopyright © 2005–2021 Eclipse Foundation. All rights reserved.