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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Connect and start transfer sessionvoid
Disconnect and complete transfer sessionRetrieves resource as InputStreamvoid
-
Constructor Details
-
FileFetcher
-
-
Method Details
-
connect
Description copied from interface:ResourceFetcher
Connect and start transfer session- Specified by:
connect
in interfaceResourceFetcher
- Throws:
IOException
-
disconnect
Description copied from interface:ResourceFetcher
Disconnect and complete transfer session- Specified by:
disconnect
in interfaceResourceFetcher
- Throws:
IOException
-
retrieve
- Throws:
IOException
FileNotFoundException
-
retrieve
Description copied from interface:ResourceFetcher
Retrieves resource as InputStream- Specified by:
retrieve
in interfaceResourceFetcher
- Parameters:
name
- a name of resource to retrieve- Throws:
IOException
FileNotFoundException
-