public class MegapovXrsPropertyStore
extends PreferenceStore
Modifier and Type | Method and Description |
---|---|
CopyPattern |
getCopyPatternById(long id)
Gets a specific
CopyPattern by it's ID. |
java.util.List<CopyPattern> |
getCopyPatternList() |
static MegapovXrsPropertyStore |
getInstance() |
java.util.List<ServerLocation> |
getServerList() |
ServerLocation |
getServerLocationById(long id)
Gets a specific
ServerLocation by it's ID. |
void |
load()
Loads the store content.
|
void |
load(java.io.InputStream in)
Method is not supported, use
load() instead! |
void |
save()
Saves the store content.
|
void |
save(java.io.OutputStream out,
java.lang.String header)
Method is not supported, use
save() instead! |
void |
setCopyPatternList(java.util.List<CopyPattern> patternList)
Sets the list of copy patterns into the store.
|
void |
setFilename(java.lang.String name)
Method is not supported!
|
void |
setServerList(java.util.List<ServerLocation> serverList)
Sets the list of server locations into the store.
|
public static MegapovXrsPropertyStore getInstance()
public void load() throws java.io.IOException
java.io.IOException
org.eclipse.jface.preference.PreferenceStore#load()
public void save() throws java.io.IOException
java.io.IOException
org.eclipse.jface.preference.PreferenceStore#save()
public void setServerList(java.util.List<ServerLocation> serverList)
serverList
- The server location list to be stored.public java.util.List<ServerLocation> getServerList()
public void setCopyPatternList(java.util.List<CopyPattern> patternList)
patternList
- The copy pattern list to be stored.public java.util.List<CopyPattern> getCopyPatternList()
public ServerLocation getServerLocationById(long id)
ServerLocation
by it's ID.id
- The ID to be queried.ServerLocation
having the specified ID or
null
if none could be found.public CopyPattern getCopyPatternById(long id)
CopyPattern
by it's ID.id
- The ID to be queried.CopyPattern
having the specified ID or
null
if none could be found.public void load(java.io.InputStream in) throws java.io.IOException
load()
instead!java.io.IOException
org.eclipse.jface.preference.PreferenceStore#load(java.io.InputStream)
public void save(java.io.OutputStream out, java.lang.String header) throws java.io.IOException
save()
instead!java.io.IOException
org.eclipse.jface.preference.PreferenceStore#save(java.io.OutputStream, java.lang.String)
public void setFilename(java.lang.String name)
org.eclipse.jface.preference.PreferenceStore#setFilename(java.lang.String)