com.autonomy.config
Class ConfigComments

java.lang.Object
  |
  +--com.autonomy.config.ConfigComments

public class ConfigComments
extends java.lang.Object

Class representing a comment associated with a particular key in a Config File Any ConfigEntry will have ConfigComments associated with it

See Also:
ConfigEntry

Field Summary
 java.util.Vector m_commentList
          Vector containing a list of comments
 
Constructor Summary
ConfigComments()
          Default constructor
 
Method Summary
 void add(java.lang.Object sComment)
          Adds a specified object to the comment list
 java.lang.String toString()
          Returns the comments as a string as it would be displayed in a config file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_commentList

public java.util.Vector m_commentList
Vector containing a list of comments

Constructor Detail

ConfigComments

public ConfigComments()
Default constructor

Method Detail

add

public void add(java.lang.Object sComment)
Adds a specified object to the comment list

Parameters:
sComment - comment object - usually a String. Comment text is retrieved using the toString method

toString

public java.lang.String toString()
Returns the comments as a string as it would be displayed in a config file

Overrides:
toString in class java.lang.Object