Class ExtensionsLoader
java.lang.Object
VASSAL.build.module.ExtensionsLoader
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
protected ExtensionsManager
protected ExtensionsManager
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
addExtension
(File extension) protected void
void
addTo
(GameModule mod) protected ModuleExtension
createExtension
(String extname) Translate a String into aCommand
Translate aCommand
into a Stringprotected String
getErrorMessage
(String name, String msg) protected String
getLoadedMessage
(String name, String version)
-
Field Details
-
COMMAND_PREFIX
- See Also:
-
SPECIFY_DIR_IN_PREFS
- See Also:
-
EXTENSION_DIR
- See Also:
-
loadedExtensions
-
loadedIds
-
extMgr
-
globalExtMgr
-
-
Constructor Details
-
ExtensionsLoader
public ExtensionsLoader()
-
-
Method Details
-
addTo
-
addExtensions
protected void addExtensions() -
addExtension
-
createExtension
- Throws:
ZipException
IOException
-
getLoadedMessage
-
getErrorMessage
-
decode
Description copied from interface:CommandEncoder
Translate a String into aCommand
- Specified by:
decode
in interfaceCommandEncoder
-
encode
Description copied from interface:CommandEncoder
Translate aCommand
into a String- Specified by:
encode
in interfaceCommandEncoder
-