Class Info
java.lang.Object
VASSAL.Info
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic File
Returns the directory where VASSAL is installed.static File
Deprecated, for removal: This API element is subject to removal in a future version.UsegetBaseDir()
instead.static File
static File
static File
static File
static File
Deprecated, for removal: This API element is subject to removal in a future version.UsegetConfDir()
instead.static File
static File
static String
Bugzilla (and other potential external reporting tools) require only the primary numeric portion of the version number: e.g., 3.3.3-SNAPSHOT return 3.3.3.static Rectangle
Deprecated, for removal: This API element is subject to removal in a future version.UseSwingUtils.getScreenBounds(Component)
instead.static File
static String
A valid version format is "w.x.y[-z]", where 'w','x', and 'y' are integers and z is a string.static boolean
hasOldFormat
(String version) static boolean
isMacOSX()
Deprecated, for removal: This API element is subject to removal in a future version.UseSystemUtils.IS_OS_MAC
insteadstatic boolean
isModuleTooNew
(String version) static void
-
Field Details
-
javaBinPath
Deprecated, for removal: This API element is subject to removal in a future version.UsegetJavaBinPath()
instead.The path to the JVM binary.
-
-
Method Details
-
setConfig
-
getVersion
A valid version format is "w.x.y[-z]", where 'w','x', and 'y' are integers and z is a string. In the version number, w.x are the major/minor release number, y is the bug-fix release number, and the 'z' identifies an intermediate build: e.g., 3.3.3-alpha1 or 3.3.3-SNAPSHOT- Returns:
- the full version of the VASSAL engine.
-
getReportableVersion
Bugzilla (and other potential external reporting tools) require only the primary numeric portion of the version number: e.g., 3.3.3-SNAPSHOT return 3.3.3.- Returns:
- The reportable version number
-
getErrorLogPath
- Returns:
- a version-specific errorLog path
-
getJavaBinPath
-
getBaseDir
-
getDocDir
-
getConfDir
-
getCacheDir
-
getTempDir
-
getPrefsDir
-
getScreenBounds
@Deprecated(since="2020-10-03", forRemoval=true) public static Rectangle getScreenBounds(Component c) Deprecated, for removal: This API element is subject to removal in a future version.UseSwingUtils.getScreenBounds(Component)
instead.- Returns:
- size of screen accounting for the screen insets (e.g., Windows taskbar)
-
isMacOSX
Deprecated, for removal: This API element is subject to removal in a future version.UseSystemUtils.IS_OS_MAC
instead -
isModuleTooNew
-
hasOldFormat
-
getBinDir
Deprecated, for removal: This API element is subject to removal in a future version.UsegetBaseDir()
instead. -
getHomeDir
Deprecated, for removal: This API element is subject to removal in a future version.UsegetConfDir()
instead.
-
getJavaBinPath()
instead.