| |
|
| org.w3c.tools.resources.ContainerResource org.w3c.tools.resources.DirectoryResource org.w3c.jigsaw.zip.ZipDirectoryResource
ZipDirectoryResource | public class ZipDirectoryResource extends DirectoryResource (Code) | | version: $Revision: 1.7 $ author: Benoît Mahé (bmahe@w3.org) |
ATTR_ENTRYPATH | protected static int ATTR_ENTRYPATH(Code) | | Attribute index - The index for our entry path.
|
ATTR_ZIPFILE | protected static int ATTR_ZIPFILE(Code) | | Attributes index - The filename attribute.
|
createDirectoryResource | public ResourceReference createDirectoryResource(String name)(Code) | | Create a DirectoryResource and the physical directory too.
Parameters: name - the name of the resource. A ResourceReference instance. |
createResource | public ResourceReference createResource(String name)(Code) | | Create a Resource and the physical file too.
Parameters: name - the name of the resource. A ResourceReference instance. |
enumerateAllResourceIdentifiers | protected synchronized Enumeration enumerateAllResourceIdentifiers()(Code) | | Enumerate all available children resource identifiers.
This method requires that we create all our pending resources.
An enumeration of all our resources. |
enumerateResourceIdentifiers | public synchronized Enumeration enumerateResourceIdentifiers(boolean all)(Code) | | Enumerate all available children resource identifiers.
This method requires that we create all our pending resources
if we are in the extensible mode...too bad !
An enumeration of all our resources. |
getZipFile | public synchronized File getZipFile()(Code) | | Get this zip file.
|
hasEntry | public synchronized boolean hasEntry()(Code) | | |
reindex | public synchronized void reindex()(Code) | | Reindex recursivly all the resources from this DirectoryResource.
|
updateDefaultChildAttributes | protected ResourceContext updateDefaultChildAttributes(Hashtable attrs)(Code) | | Initialize and register a new resource into this directory.
Parameters: resource - The uninitialized resource to be added. |
|
|
|