Package org.apache.maven.index.updater
Class DefaultIndexUpdater.FileFetcher
java.lang.Object
org.apache.maven.index.updater.DefaultIndexUpdater.FileFetcher
- All Implemented Interfaces:
ResourceFetcher
- Enclosing class:
DefaultIndexUpdater
Filesystem-based ResourceFetcher implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConnect and start transfer sessionvoidDisconnect and complete transfer sessionRetrieves resource as InputStreamvoid
-
Constructor Details
-
FileFetcher
-
-
Method Details
-
connect
Description copied from interface:ResourceFetcherConnect and start transfer session- Specified by:
connectin interfaceResourceFetcher- Throws:
IOException
-
disconnect
Description copied from interface:ResourceFetcherDisconnect and complete transfer session- Specified by:
disconnectin interfaceResourceFetcher- Throws:
IOException
-
retrieve
- Throws:
IOExceptionFileNotFoundException
-
retrieve
Description copied from interface:ResourceFetcherRetrieves resource as InputStream- Specified by:
retrievein interfaceResourceFetcher- Parameters:
name- a name of resource to retrieve- Throws:
IOExceptionFileNotFoundException
-