|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.panels.path.PathInputBase
public class PathInputBase
Link common functionality for PathInputPanels here. Help to keep features and bug fixes in sync between console and GUI installations for PathInputPanel (Ex. TargetPanel).
| Field Summary | |
|---|---|
static String |
SHOWCREATEDIRECTORYMESSAGE
ShowCreateDirectoryMessage configuration option If 'ShowCreateDirectoryMessage' configuration option set 'false' then don't show then don't show "directory will be created" dialog |
static String |
SHOWEXISTINGDIRECTORYWARNING
ShowExistingDirectoryWarning configuration option If 'ShowExistingDirectoryWarning' configuration option set 'false' then don't show "The directory already exists! Are you sure you want to install here and possibly overwrite existing files?" warning dialog |
| Constructor Summary | |
|---|---|
PathInputBase()
|
|
| Method Summary | |
|---|---|
static boolean |
isWritable(File path)
Verify that the given path to a file or directory is writable. |
static boolean |
isWritable(String path)
Verify that the given path to a file or directory is writable. |
static String |
normalizePath(String path)
Normalize a path. |
static void |
setInstallData(InstallData installData)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SHOWCREATEDIRECTORYMESSAGE
public static final String SHOWEXISTINGDIRECTORYWARNING
| Constructor Detail |
|---|
public PathInputBase()
| Method Detail |
|---|
public static void setInstallData(InstallData installData)
public static boolean isWritable(String path)
path - path to file or directory to be written
public static boolean isWritable(File path)
path - path to file or directory to be written
public static String normalizePath(String path)
path - path to normalize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||