Package VASSAL.build.module
Class ExtensionsManager
java.lang.Object
VASSAL.build.module.ExtensionsManager
Convenience class for managing extensions relative to a module file.
Create extension directory as lazily as possible.
- Author:
- rodneykinney
-
Constructor Summary
ConstructorDescriptionExtensionsManager
(File moduleFile) ExtensionsManager
(String dir) Manage global extensionsExtensionsManager
(GameModule module) -
Method Summary
Modifier and TypeMethodDescriptionprotected File
ensureExists
(File dir) Ensure a directory exists.getExtensionsDirectory
(boolean mustExist) getInactiveExtensionsDirectory
(boolean mustExist) boolean
isExtensionActive
(File extension) void
-
Constructor Details
-
ExtensionsManager
-
ExtensionsManager
-
ExtensionsManager
Manage global extensions
-
-
Method Details
-
getExtensionsDirectory
-
setExtensionsDirectory
-
ensureExists
-
getInactiveExtensionsDirectory
-
setActive
-
getActiveExtensions
-
getInactiveExtensions
-
isExtensionActive
-