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, getRevisionRootDir
public ConnectRevision(Logger logger, Map configMap, WeakZipFileFactory zipFactory, File revisionRootDir, String location, ConnectModule module) throws Exception
Exception
public Map<String,Object> getManifestHeader() throws Exception
BundleArchiveRevision
Returns the main attributes of the JAR file manifest header of the revision. The returned map is case insensitive.
getManifestHeader
in class BundleArchiveRevision
Exception
- if any error occurs.public Content getContent() throws Exception
getContent
in class BundleArchiveRevision
Exception
protected void close() throws Exception
BundleArchiveRevision
This 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 BundleArchiveRevision
Exception
- if any error occurs.Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.