java.lang.Object com.ibm.broker.config.proxy.BarEntry
public class BarEntry
implements DeployableObject
extends Object
Represents a file contained within a broker archive that can be deployed to an execution group.
class
com.ibm.broker.config.proxy.BarEntry implements
com.ibm.broker.config.proxy.DeployableObject
|
|
Responsibilities | States that implementing classes represent objects that can be deployed to execution groups. |
Internal Collaborators | None |
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ f45166 2007-06-11 HDMPL v6.1 Release
Constructor | Description |
---|---|
BarEntry(String, Hashtable, Date) | Instantiates a new BarEntry object. |
Method | Description |
---|---|
String getFileExtension() | Returns the file extension of the BAR entry. |
String getFullName() | Returns the name of the BarEntry as it exists in the BAR file- including any file extension but excluding any path information. |
String[] getKeywords() | Returns the set of keywords for this BarEntry which were found embedded in the object when the BarFile instance was first instantiated. |
String getKeywordValue(String) | Returns the value of the supplied keyword. |
Date getModifyTime() | Returns the time that the BarEntry was last modified, according to the file modification date set in the broker archive file. |
String getName() | Returns the name of the BarEntry. |
String getVersion() | Returns the value of the 'version' keyword if it is embedded in the object in the Bar file. |
protected BarEntry(String nameOfThisBarEntry, Hashtable keywordsToValues, Date modTime)Instantiates a new BarEntry object.
- Parameters
- nameOfThisBarEntry - Name of the BarEntry, as stored in the BarFile.
- keywordsToValues - The mapping of runtime versioning keywords to their values
- modTime - The time the BarEntry was last modified.
public String getFileExtension()Returns the file extension of the BAR entry. The String returned is taken from the name of the file as it exists in the BAR file- from the first character after the last period ('.') to the end of the filename.
- Returns
- String file extension, or the empty string if the file does not have any extension.
public String getFullName()Returns the name of the BarEntry as it exists in the BAR file- including any file extension but excluding any path information.
- Returns
- String name of the BarEntry
public String[] getKeywords()Returns the set of keywords for this BarEntry which were found embedded in the object when the BarFile instance was first instantiated. Use BarEntry.getKeywordValue() to look up the value of a given keyword.
- Returns
- String[] the set of keywords that were found.
public String getKeywordValue(String keyword)Returns the value of the supplied keyword. If the supplied keyword was not found in this BarEntry, this method returns null.
- Parameters
- keyword - The keyword to look up
- Returns
- String value of the supplied keyword, or null if the keyword could not be found for the object.
public Date getModifyTime()Returns the time that the BarEntry was last modified, according to the file modification date set in the broker archive file.
- Returns
- Date the time of the most last modification.
public String getName()Returns the name of the BarEntry. This is taken from the name of the file as it exists in the BAR file, up to but excluding the last period ('.').
- Returns
- String name of the BarEntry
public String getVersion()Returns the value of the 'version' keyword if it is embedded in the object in the Bar file. If no string is set the return value is null.
- Returns
- String version information