All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.tools.resources.indexer.GhostResourceIndexer
java.lang.Object
|
+----org.w3c.tools.resources.AttributeHolder
|
+----org.w3c.tools.resources.Resource
|
+----org.w3c.tools.resources.indexer.SampleResourceIndexer
|
+----org.w3c.tools.resources.indexer.GhostResourceIndexer
- public class GhostResourceIndexer
- extends SampleResourceIndexer
-
GhostResourceIndexer()
-
-
createResource(ContainerResource, RequestInterface, File, String, Hashtable)
- Try to create a resource for the given file.
GhostResourceIndexer
public GhostResourceIndexer()
createResource
public Resource createResource(ContainerResource container,
RequestInterface request,
File directory,
String name,
Hashtable defs)
- Try to create a resource for the given file.
This method makes its best efforts to try to build a default
resource out of a file.
- Parameters:
- directory - The directory the file is in.
- name - The name of the file.
- defs - Any default attribute values that should be provided
to the created resource at initialization time.
- Returns:
- A Resource instance, or null if the given
file can't be truned into a resource given our configuration
database.
- Overrides:
- createResource in class SampleResourceIndexer
All Packages Class Hierarchy This Package Previous Next Index