Constructor and Description |
---|
INIWriter()
Constructor using the = as the way to assign variables to their values is
the default behavior
|
INIWriter(java.lang.String pattern)
Constructor for using a custom variable assignment string
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getWriterType()
Return that this is an INIWriter.
|
void |
replace(org.eclipse.core.resources.IFile file,
java.lang.String regex,
java.lang.String value)
This method is not used.
|
void |
setAssignmentString(java.lang.String assign)
Change the string used to separate variables from values
|
void |
setSectionIndentation(java.lang.String indent)
Change the string used to indent on sections
|
void |
setSectionPattern(java.lang.String prefix,
java.lang.String postfix)
Allows the changing of the syntax for section headers.
|
void |
write(Form form,
org.eclipse.core.resources.IFile file)
Writes out an INI file from the given Form to the given IFile.
|
public INIWriter()
public INIWriter(java.lang.String pattern)
public void write(Form form, org.eclipse.core.resources.IFile file)
public void setSectionIndentation(java.lang.String indent)
public void setSectionPattern(java.lang.String prefix, java.lang.String postfix)
prefix
- postfix
- public void setAssignmentString(java.lang.String assign)
public void replace(org.eclipse.core.resources.IFile file, java.lang.String regex, java.lang.String value)
public java.lang.String getWriterType()
getWriterType
in interface IWriter