public interface ITemplatedWriter
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getWriterType()
This method is used by the IOService to store unique references of
IWriters.
|
void |
replace(org.eclipse.core.resources.IFile file,
java.lang.String regex,
java.lang.String value)
This method provides clients with a basic search and replace
functionality.
|
void |
setAssignnmentPattern(java.lang.String assign) |
void |
setSectionIndentation(java.lang.String indent) |
void |
setSectionPattern(java.lang.String prefix,
java.lang.String postfix) |
void |
write(Form formToWrite,
org.eclipse.core.resources.IFile file)
This method lets clients write a Form to a specific file format.
|
void write(Form formToWrite, org.eclipse.core.resources.IFile file)
formToWrite
- The Form to persist to file.file
- The filename where the contents should be written. If this
file does not exist, it shall be created.void replace(org.eclipse.core.resources.IFile file, java.lang.String regex, java.lang.String value)
file
- The filename where the contents should be written. If it does
not exist, this operation will fail.regex
- The regular expression to search.value
- The value that should replace all occurrences of the given
regular expression.java.lang.String getWriterType()
void setSectionIndentation(java.lang.String indent)
void setSectionPattern(java.lang.String prefix, java.lang.String postfix)
void setAssignnmentPattern(java.lang.String assign)