Class PathWritableResourceHandler
java.lang.Object
org.apache.maven.index.reader.resource.PathWritableResourceHandler
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ResourceHandler
,WritableResourceHandler
A
WritableResourceHandler
that represents the base of a Path
hierarchy.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.index.reader.ResourceHandler
ResourceHandler.Resource
Nested classes/interfaces inherited from interface org.apache.maven.index.reader.WritableResourceHandler
WritableResourceHandler.WritableResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns theWritableResourceHandler.WritableResource
withname
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.index.reader.ResourceHandler
close
-
Constructor Details
-
PathWritableResourceHandler
-
-
Method Details
-
locate
Description copied from interface:WritableResourceHandler
Returns theWritableResourceHandler.WritableResource
withname
. Returned locator should be handled as resource.- Specified by:
locate
in interfaceResourceHandler
- Specified by:
locate
in interfaceWritableResourceHandler
- Parameters:
name
- Resource name, guaranteed to be non-null
and is FS and URL safe string.
-