|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.plugins.sqlreplace.ReplacementManager
public class ReplacementManager
Manages replacements. Including loading and saving to a properties file.
| Constructor Summary | |
|---|---|
ReplacementManager(SQLReplacePlugin _plugin)
|
|
| Method Summary | |
|---|---|
String |
getContent()
|
protected Iterator<Replacement> |
iterator()
|
protected void |
load()
Load the stored replacement. |
void |
removeAll()
|
String |
replace(StringBuffer buffer)
Here we replace the original SQL Statement with the Set of Vars from our ReplamentList |
protected void |
save()
Save the replacement. |
void |
setContentFromEditor(String content)
Sets the content from the editor section and add it to the replacementarray |
void |
setFileWrapperFactory(FileWrapperFactory fileWrapperFactory)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplacementManager(SQLReplacePlugin _plugin)
_plugin - | Method Detail |
|---|
protected void load()
throws IOException
IOExceptionprotected void save()
protected Iterator<Replacement> iterator()
public void removeAll()
public void setContentFromEditor(String content)
content - public String getContent()
public String replace(StringBuffer buffer)
buffer -
public void setFileWrapperFactory(FileWrapperFactory fileWrapperFactory)
fileWrapperFactory - the fileWrapperFactory to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||