|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.jtimer.JTimerFactory
public class JTimerFactory
JTimer config class.
| Field Summary | |
|---|---|
protected static long |
DEFAULT_IDLE_TIME
Default idle time in milliseconds |
protected static long |
idleTime
Configured idle time |
protected static ProjectManagement |
projectManagement
ProjectManagement |
protected static Properties |
props
Properties |
protected static Saver |
saver
Saver |
| Constructor Summary | |
|---|---|
protected |
JTimerFactory()
Constructeur. |
| Method Summary | |
|---|---|
protected static void |
copyConfigurationFile(URL copyFrom,
File copyTo)
Copy copyFrom content in copyTo file. |
protected static String |
getConfigurationFileName()
Configuration filename. |
protected static String |
getDefaultConfigurationFileName()
Default configuration filename. |
static Saver |
getFileSaver()
Get saver manager. |
protected static String |
getHomeReplacement(String path)
Replace $HOME in path. |
static long |
getIdleTime()
Get configuration idle time in ms. |
static ProjectManagement |
getProjectManagementService()
Return an implementation on a distant web service. |
protected static String |
getUserHomeConfigurationFilePath()
Configuration filepath. |
protected static void |
init()
Init. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final long DEFAULT_IDLE_TIME
protected static Properties props
protected static long idleTime
protected static ProjectManagement projectManagement
protected static Saver saver
| Constructor Detail |
|---|
protected JTimerFactory()
| Method Detail |
|---|
protected static void init()
protected static String getUserHomeConfigurationFilePath()
protected static String getConfigurationFileName()
protected static String getDefaultConfigurationFileName()
protected static void copyConfigurationFile(URL copyFrom,
File copyTo)
throws IOException
copyFrom - fromcopyTo - to
IOExceptionpublic static ProjectManagement getProjectManagementService()
public static Saver getFileSaver()
protected static String getHomeReplacement(String path)
path - path to replace home
public static long getIdleTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||