Package org.omegat.util
Class RuntimePreferences
- java.lang.Object
-
- org.omegat.util.RuntimePreferences
-
public final class RuntimePreferences extends java.lang.Object
Class for store runtime-only preferences, which shouldn't be saved to config dir.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getConfigDir()
static boolean
isLocationSaveEnabled()
static boolean
isProjectLockingEnabled()
static boolean
isQuietMode()
static void
setConfigDir(java.lang.String v)
static void
setLocationSaveEnabled(boolean v)
static void
setProjectLockingEnabled(boolean v)
static void
setQuietMode(boolean v)
-
-
-
Method Detail
-
isQuietMode
public static boolean isQuietMode()
-
setQuietMode
public static void setQuietMode(boolean v)
-
getConfigDir
public static java.lang.String getConfigDir()
-
setConfigDir
public static void setConfigDir(java.lang.String v)
-
isProjectLockingEnabled
public static boolean isProjectLockingEnabled()
-
setProjectLockingEnabled
public static void setProjectLockingEnabled(boolean v)
-
isLocationSaveEnabled
public static boolean isLocationSaveEnabled()
-
setLocationSaveEnabled
public static void setLocationSaveEnabled(boolean v)
-
-