Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.config.proxy.BarEntry

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 Index
Constructor Description
BarEntry(String, Hashtable, Date) Instantiates a new BarEntry object.
Method Index
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.

Constructors

BarEntry

protected BarEntry(String nameOfThisBarEntry,
                   Hashtable keywordsToValues,
                   Date modTime) 

Instantiates a new BarEntry object.

Methods

getFileExtension

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.

getFullName

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.

getKeywords

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.

getKeywordValue

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.

getModifyTime

public Date getModifyTime() 

Returns the time that the BarEntry was last modified, according to the file modification date set in the broker archive file.

getName

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 ('.').

getVersion

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.

Class Hierarchy All Classes All Fields and Methods