| |
|
| java.lang.Object helma.framework.repository.AbstractRepository helma.framework.repository.ZipRepository
ZipRepository | public ZipRepository(String initArgs)(Code) | | Constructs a ZipRespository using the given argument
Parameters: initArgs - absolute path to the zip file |
ZipRepository | public ZipRepository(File file)(Code) | | Constructs a ZipRespository using the given argument
Parameters: file - zip file |
ZipRepository | public ZipRepository(File file, Repository parent)(Code) | | Constructs a ZipRepository using the given zip file as top-level
repository
Parameters: file - a zip file Parameters: parent - the parent repository, or null |
create | public void create()(Code) | | |
createResource | protected Resource createResource(String name)(Code) | | Called to create a child resource for this repository
|
exists | public boolean exists()(Code) | | |
getChecksum | public long getChecksum()(Code) | | |
getZipFile | protected ZipFile getZipFile() throws IOException(Code) | | Returns a java.util.zip.ZipFile for this repository. It is the caller's
responsability to call close() in it when it is no longer needed.
a ZipFile for reading throws: IOException - |
hashCode | public int hashCode()(Code) | | |
isScriptRoot | public boolean isScriptRoot()(Code) | | Checks wether the repository is to be considered a top-level
repository from a scripting point of view. For example, a zip
file within a file repository is not a root repository from
a physical point of view, but from the scripting point of view it is.
true if the repository is to be considered a top-level script repository |
lastModified | public long lastModified()(Code) | | |
update | public synchronized void update()(Code) | | |
|
|
|