public class FileBundleVersionInfo extends BundleVersionInfo<java.io.File>
BND_LAST_MODIFIED, BND_LAST_MODIFIED_MISSING, SNAPSHOT_MARKER
Constructor and Description |
---|
FileBundleVersionInfo(java.io.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.
|
java.lang.String |
getBundleSymbolicName() |
java.io.File |
getSource() |
org.osgi.framework.Version |
getVersion() |
boolean |
isBundle() |
boolean |
isSnapshot() |
java.lang.String |
toString() |
compareTo
public FileBundleVersionInfo(java.io.File bundle) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isBundle()
isBundle
in class BundleVersionInfo<java.io.File>
public long getBundleLastModified()
BundleVersionInfo
getBundleLastModified
in class BundleVersionInfo<java.io.File>
public java.lang.String getBundleSymbolicName()
getBundleSymbolicName
in class BundleVersionInfo<java.io.File>
public java.io.File getSource()
getSource
in class BundleVersionInfo<java.io.File>
public org.osgi.framework.Version getVersion()
getVersion
in class BundleVersionInfo<java.io.File>
public boolean isSnapshot()
isSnapshot
in class BundleVersionInfo<java.io.File>
Copyright © 2022 The Apache Software Foundation. All rights reserved.