org.rimudb.editor
Class RimuDBPreferences

java.lang.Object
  extended by org.rimudb.editor.RimuDBPreferences

public class RimuDBPreferences
extends java.lang.Object

This class handles saving and restoring editor preferences, allowing some settings to be saved for the next time the editor is run. s

Author:
Simon Ritchie

Constructor Summary
RimuDBPreferences(java.lang.String name)
          Construct a RimuDBPreferences.
 
Method Summary
 java.util.ArrayList<DataSourceEntry> getDataSources()
           
 java.lang.String getLastDescriptorDirectory()
          Return the last descriptor directory that was used.
 java.lang.String[] getRJPhrases()
           
 java.util.Map<java.lang.String,java.lang.String> getURLDefaults()
           
 void setDataSources(java.util.ArrayList<DataSourceEntry> dsList)
           
 void setLastDescriptorDirectory(java.lang.String dir)
          Set the last descriptor directory that was used.
 void setRJPhrases(java.lang.String[] phrases)
           
 void setURLDefaults(java.util.Map<java.lang.String,java.lang.String> urlDefaultMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RimuDBPreferences

public RimuDBPreferences(java.lang.String name)
Construct a RimuDBPreferences.

Parameters:
name - String
Method Detail

getLastDescriptorDirectory

public java.lang.String getLastDescriptorDirectory()
Return the last descriptor directory that was used.

Returns:
String

setLastDescriptorDirectory

public void setLastDescriptorDirectory(java.lang.String dir)
Set the last descriptor directory that was used.

Parameters:
dir - String

getRJPhrases

public java.lang.String[] getRJPhrases()

setRJPhrases

public void setRJPhrases(java.lang.String[] phrases)
Parameters:
phrases - String[]

getURLDefaults

public java.util.Map<java.lang.String,java.lang.String> getURLDefaults()

setURLDefaults

public void setURLDefaults(java.util.Map<java.lang.String,java.lang.String> urlDefaultMap)
Parameters:
urlDefaultMap -

setDataSources

public void setDataSources(java.util.ArrayList<DataSourceEntry> dsList)
Parameters:
dsList -

getDataSources

public java.util.ArrayList<DataSourceEntry> getDataSources()


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.