Package org.apache.maven.index.reader
Interface ResourceHandler
- All Superinterfaces:
- AutoCloseable,- Closeable
- All Known Subinterfaces:
- WritableResourceHandler
- All Known Implementing Classes:
- BufferedResourceHandler,- BufferedWritableResourceHandler,- PathWritableResourceHandler,- UriResourceHandler
Maven Index resource abstraction, that should be handled as a resource (is 
Closeable. That means, that
 implementations could perform any extra activity as FS locking or so (if uses FS as backing store). Is used by single
 thread only.- Since:
- 5.1.2
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceHandle of content.
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidclose()Default close method is no-op, override if implementation requires.
- 
Method Details- 
locate- Parameters:
- name- Resource name, guaranteed to be non-- nulland is FS and URL safe string.
- Throws:
- IOException
 
- 
closeDefault close method is no-op, override if implementation requires.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
-