public interface IWriter
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 |
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()