Package org.apache.maven.index.reader
Interface WritableResourceHandler
- All Superinterfaces:
AutoCloseable
,Closeable
,ResourceHandler
- All Known Implementing Classes:
BufferedWritableResourceHandler
,PathWritableResourceHandler
Maven Index writable
ResourceHandler
, is capable of saving resources too. Needed only if incremental index
updates are wanted, to store the index state locally, and be able to calculate incremental diffs on next IndexReader
invocation. Is used by single thread only.- Since:
- 5.1.2
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Resource that is writable.Nested classes/interfaces inherited from interface org.apache.maven.index.reader.ResourceHandler
ResourceHandler.Resource
-
Method Summary
Modifier and TypeMethodDescriptionReturns theWritableResourceHandler.WritableResource
withname
.Methods inherited from interface org.apache.maven.index.reader.ResourceHandler
close
-
Method Details
-
locate
Returns theWritableResourceHandler.WritableResource
withname
. Returned locator should be handled as resource.- Specified by:
locate
in interfaceResourceHandler
- Parameters:
name
- Resource name, guaranteed to be non-null
and is FS and URL safe string.- Throws:
IOException
-