|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.editor.preferences.templates.ISeriesTemplateSet
ISeriesTemplateSet
manages a collection of templates and makes them
persistent.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
ISeriesTemplateSet()
|
Method Summary | |
---|---|
void |
add(ISeriesTemplate template)
Adds a template to the set. |
void |
addFromFile(File file)
Convenience method for reading templates from a file. |
void |
addFromStream(InputStream stream)
Reads templates from a XML stream and adds them to the template set. |
void |
clear()
Empties the set. |
ISeriesTemplate[] |
getTemplates()
Returns all templates. |
ISeriesTemplate[] |
getTemplates(String name)
Returns all templates with a given name. |
void |
remove(ISeriesTemplate template)
Removes a template to the set. |
void |
saveToFile(File file)
Convenience method for saving to a file. |
void |
saveToStream(OutputStream stream)
Saves the template set as XML. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Constructor Detail |
public ISeriesTemplateSet()
Method Detail |
public void addFromFile(File file) throws CoreException
CoreException
addFromStream(InputStream)
public void addFromStream(InputStream stream) throws CoreException
CoreException
public void saveToFile(File file) throws CoreException
CoreException
saveToStream(OutputStream)
public void saveToStream(OutputStream stream) throws CoreException
CoreException
public void add(ISeriesTemplate template)
public void remove(ISeriesTemplate template)
public void clear()
public ISeriesTemplate[] getTemplates()
public ISeriesTemplate[] getTemplates(String name)
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |