org.mevenide.properties
Class KeyValuePair

java.lang.Object
  extended byorg.mevenide.properties.Element
      extended byorg.mevenide.properties.KeyValuePair

public class KeyValuePair
extends Element

Version:
$Id: KeyValuePair.java,v 1.6 2004/12/19 21:12:45 mkleint Exp $
Author:
Milos Kleint, Gilles Dodinet

Field Summary
 
Fields inherited from class org.mevenide.properties.Element
LINE_SEP
 
Constructor Summary
protected KeyValuePair(java.lang.String newKey, char separator)
           
 
Method Summary
protected  void addLine(java.lang.String line)
           
 void addToValue(java.lang.String value)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getKey()
          for comparisons, trim the leaning and trailing whitespace
 java.lang.String getValue()
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyValuePair

protected KeyValuePair(java.lang.String newKey,
                       char separator)
Method Detail

addToValue

public void addToValue(java.lang.String value)

setValue

public void setValue(java.lang.String value)

getKey

public java.lang.String getKey()
for comparisons, trim the leaning and trailing whitespace


toString

public java.lang.String toString()

addLine

protected void addLine(java.lang.String line)

getValue

public java.lang.String getValue()

equals

public boolean equals(java.lang.Object obj)


Copyright © 2003-2005 The Codehaus. All Rights Reserved.