|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mevenide.properties.PropertyModel
Model of properties file.
| Method Summary | |
void |
addElement(Element el)
Adds an element to the endo of the file/model. |
void |
addToComment(Comment comment,
java.lang.String line)
|
KeyValuePair |
findByKey(java.lang.String key)
based on the key from Properties, will look up an item in the model. |
java.util.List |
getList()
returns a copy of the model, is not live. |
int |
getSize()
|
boolean |
insertAt(int index,
Element el)
inserts element at designated position. |
KeyValuePair |
newKeyPair(java.lang.String key,
char separator,
java.lang.String value)
|
void |
removeElement(Element el)
removes the element from model. |
void |
store(java.io.OutputStream stream)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public void addElement(Element el)
public void removeElement(Element el)
public java.util.List getList()
public int getSize()
public boolean insertAt(int index,
Element el)
public KeyValuePair findByKey(java.lang.String key)
public KeyValuePair newKeyPair(java.lang.String key,
char separator,
java.lang.String value)
public void store(java.io.OutputStream stream)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
public void addToComment(Comment comment,
java.lang.String line)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||