public class FileBundleVersionInfo extends BundleVersionInfo<File>
BND_LAST_MODIFIED, BND_LAST_MODIFIED_MISSING, SNAPSHOT_MARKER
Constructor and Description |
---|
FileBundleVersionInfo(File bundle) |
Modifier and Type | Method and Description |
---|---|
long |
getBundleLastModified()
Return the bundle last modification time, based on the BND_LAST_MODIFIED
manifest header, if available.
|
String |
getBundleSymbolicName() |
File |
getSource() |
org.osgi.framework.Version |
getVersion() |
boolean |
isBundle() |
boolean |
isSnapshot() |
String |
toString() |
compareTo
public FileBundleVersionInfo(File bundle) throws IOException
IOException
public boolean isBundle()
isBundle
in class BundleVersionInfo<File>
public long getBundleLastModified()
BundleVersionInfo
getBundleLastModified
in class BundleVersionInfo<File>
public String getBundleSymbolicName()
getBundleSymbolicName
in class BundleVersionInfo<File>
public File getSource()
getSource
in class BundleVersionInfo<File>
public org.osgi.framework.Version getVersion()
getVersion
in class BundleVersionInfo<File>
public boolean isSnapshot()
isSnapshot
in class BundleVersionInfo<File>
Copyright © 2015 The Apache Software Foundation. All rights reserved.