public class WebObjectsInstallation extends Object
| Constructor and Description |
|---|
WebObjectsInstallation(File destinationFolder) |
| Modifier and Type | Method and Description |
|---|---|
File |
getLocalLibrariesFolder() |
File |
getSystemLibrariesFolder() |
static boolean |
isOSX() |
static boolean |
isWindows() |
void |
renameFolders()
This method moves the folders which were designed for macOS
to the locations required for linux or windows
If the destination folder is /opt then
/opt/Library becomes /opt/Local/Library
/opt/System/Library becomes /opt/Library
/opt/System is then deleted
|
public WebObjectsInstallation(File destinationFolder) throws IOException
IOExceptionpublic static boolean isOSX()
public static boolean isWindows()
public File getLocalLibrariesFolder()
public File getSystemLibrariesFolder()
public void renameFolders()
throws IOException
IOException - if folders already exist or can't move folders or can't delete empty folder /opt/SystemCopyright © 2002 – 2025 Project Wonder.