Package org.apache.maven.index.reader
Class DirectoryResourceHandler
java.lang.Object
org.apache.maven.index.reader.DirectoryResourceHandler
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.maven.index.reader.ResourceHandler
,org.apache.maven.index.reader.WritableResourceHandler
public class DirectoryResourceHandler
extends Object
implements org.apache.maven.index.reader.WritableResourceHandler
A trivial
File
directory handler that does not perform any locking or extra bits, and just serves up files
by name from specified existing directory.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.index.reader.ResourceHandler
org.apache.maven.index.reader.ResourceHandler.Resource
Nested classes/interfaces inherited from interface org.apache.maven.index.reader.WritableResourceHandler
org.apache.maven.index.reader.WritableResourceHandler.WritableResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.index.reader.WritableResourceHandler.WritableResource
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
-
DirectoryResourceHandler
-
-
Method Details
-
getRootDirectory
-
locate
- Specified by:
locate
in interfaceorg.apache.maven.index.reader.ResourceHandler
- Specified by:
locate
in interfaceorg.apache.maven.index.reader.WritableResourceHandler
-