com.izforge.izpack.panels.path
Class PathInputConsolePanel
java.lang.Object
com.izforge.izpack.installer.console.AbstractConsolePanel
com.izforge.izpack.panels.path.PathInputConsolePanel
- All Implemented Interfaces:
- ConsolePanel
- Direct Known Subclasses:
- TargetConsolePanel
public class PathInputConsolePanel
- extends AbstractConsolePanel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathInputConsolePanel
public PathInputConsolePanel(PanelView<ConsolePanel> panel,
InstallData installData,
Prompt prompt)
- Constructs an
PathInputConsolePanel.
- Parameters:
panel - the parent panel/view. May be nullinstallData - the install dataprompt - the console prompt
run
public boolean run(InstallData installData,
Properties properties)
checkCreateDirectory
protected boolean checkCreateDirectory(File dir,
Console console)
- Determines if the specified directory can be created.
- Parameters:
dir - the directory
- Returns:
true if the directory may be created, otherwise false
checkOverwrite
protected boolean checkOverwrite(File dir,
Console console)
- Determines if an existing directory can be written to.
- Parameters:
dir - the directory
- Returns:
true if the directory can be written to, otherwise false
Copyright © 2018. All rights reserved.