public class ConnectRevision extends BundleArchiveRevision
| Constructor and Description |
|---|
ConnectRevision(Logger logger,
Map configMap,
WeakZipFileFactory zipFactory,
File revisionRootDir,
String location,
ConnectModule module) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close()
This method is called when the revision is no longer needed.
|
Content |
getContent() |
Map<String,Object> |
getManifestHeader()
Returns the main attributes of the JAR file manifest header of the
revision.
|
getConfig, getLocation, getLogger, getRevisionRootDirpublic ConnectRevision(Logger logger, Map configMap, WeakZipFileFactory zipFactory, File revisionRootDir, String location, ConnectModule module) throws Exception
Exceptionpublic Map<String,Object> getManifestHeader() throws Exception
BundleArchiveRevisionReturns the main attributes of the JAR file manifest header of the revision. The returned map is case insensitive.
getManifestHeader in class BundleArchiveRevisionException - if any error occurs.public Content getContent() throws Exception
getContent in class BundleArchiveRevisionExceptionprotected void close()
throws Exception
BundleArchiveRevisionThis method is called when the revision is no longer needed. The directory associated with the revision will automatically be removed for each revision, so this method only needs to be concerned with other issues, such as open files.
close in class BundleArchiveRevisionException - if any error occurs.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.