|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A listener for parsing Samba-style config files. There are two events that occur during parsing: starting named sections and setting parameters.
Method Summary | |
---|---|
void |
beginSection(String sectionName)
Begin a named section. |
void |
setParameter(String name,
String value)
Set a parameter. |
Method Detail |
public void beginSection(String sectionName)
sectionName
- The new section's name.public void setParameter(String name, String value)
beginSection(java.lang.String)
, if there are global options. If this
method is called after a call to beginSection(java.lang.String)
, this parameter belongs to that
section.
name
- The parameter's name.value
- The parameter's value.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |