|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.RProjectHelper
public class RProjectHelper
Helper class for the R project setup.
| Field Summary | |
|---|---|
static String |
FILENAME
the props file. |
protected boolean |
m_Modified
whether the settings got modified. |
protected Properties |
m_Properties
the properties. |
protected static RProjectHelper |
m_Singleton
the singleton. |
static String |
R_EXECUTABLE
the R executable. |
static String |
RSERVE_HOST
the Rserve host to connect to. |
static String |
RSERVE_PORT
the Rserve port to connect on. |
| Method Summary | |
|---|---|
File |
getRExecutable()
Returns the R executable. |
String |
getRserveHost()
Returns the Rserve host. |
int |
getRservePort()
Returns the Rserve port. |
static RProjectHelper |
getSingleton()
Returns the singleton. |
boolean |
isModified()
Whether the settings got modified. |
void |
reload()
Reloads the properties file. |
boolean |
save()
Saves the settings in the user's home directory. |
void |
setRExecutable(File value)
Updates the R executable. |
void |
setRserveHost(String value)
Updates the Rserve host. |
void |
setRservePort(int value)
Updates the Rserve port. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FILENAME
public static final String R_EXECUTABLE
public static final String RSERVE_HOST
public static final String RSERVE_PORT
protected static RProjectHelper m_Singleton
protected Properties m_Properties
protected boolean m_Modified
| Method Detail |
|---|
public boolean isModified()
public File getRExecutable()
public void setRExecutable(File value)
value - the executablepublic String getRserveHost()
public void setRserveHost(String value)
value - the hostpublic int getRservePort()
public void setRservePort(int value)
value - the portpublic void reload()
public boolean save()
public static RProjectHelper getSingleton()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||