public final class WinUtilsInstaller extends Object
winutils.exe into the current environment.| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAlreadyInstalled()
Returns whether the current environment already has
winutils.exe or not. |
static boolean |
isTarget()
Returns whether the current environment requires
winutils.exe or not. |
static File |
put(File directory)
Installs
winutils.exe into the target directory. |
static void |
register(File executable)
Registers a
winutils.exe file. |
public static boolean isTarget()
winutils.exe or not.true if the current environment requires winutils.exe, otherwise falsepublic static boolean isAlreadyInstalled()
winutils.exe or not.true if the current environment already has winutils.exe, otherwise falsepublic static File put(File directory) throws IOException
winutils.exe into the target directory.directory - the target directoryIOException - if error occurred while installingpublic static void register(File executable)
winutils.exe file.executable - the executable file path, or null to remove itCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.