Package | Description |
---|---|
xdev.io | |
xdev.ui | |
xdev.util |
Modifier and Type | Method and Description |
---|---|
XdevFile |
XdevFile.copyTo(File dest)
Copies this file to
dest .If this file is a directory: dest has to be a directory or an IOExeption
is thrown
a new directory with src 's name is created in
dest and this file's content is copied to the new directory
else if this is a file:
if dest is a directory, this file is copied to
dest to a file with the same name
else if dest is a file, dest is overwritten
with this file's content
|
static XdevFile[] |
IOUtils.getClipboardFileList()
Returns the file list from the system clipboard
|
XdevFile |
XdevFile.getParentXdevFile()
Return the
XdevFile of the parent directory. |
static XdevFile[] |
IOUtils.getSystemRoots()
Returns all root files on this system.
|
static XdevFile[] |
XdevFile.getSystemRoots()
Returns all root files on this system.
|
static XdevFile[] |
XdevFile.toXdevFile(File... files)
Converts an array of java.io.Files to an array of XdevFiles;
|
Modifier and Type | Method and Description |
---|---|
XdevList<XdevFile> |
XdevFile.getChildren()
Returns a sorted
XdevList of child files of this folder.The directory's parent directory are not included in the result. |
Modifier and Type | Method and Description |
---|---|
boolean |
XdevFile.isChildOf(XdevFile parent)
Tests if
parent is a parent or a parent's parent directory
of this file. |
boolean |
XdevFile.isParentOf(XdevFile child)
Tests if this file is a parent or a parent's parent directory of
child . |
Modifier and Type | Method and Description |
---|---|
XdevFile |
XdevFileChooser.getSelectedFile() |
static XdevFile |
UIUtils.showFileChooser()
Shows the system file chooser dialog to select a file.
|
static XdevFile |
UIUtils.showFileChooser(Collection<?> allowedSuffixes)
Shows the system file chooser dialog to select a file.
|
static XdevFile |
UIUtils.showFileChooser(String okButtonText,
Collection<?> allowedSuffixes)
Shows the system file chooser dialog to select a file.
|
static XdevFile |
UIUtils.showFileChooser(String okButtonText,
Collection<?> allowedSuffixes,
String initialPath)
Shows the system file chooser dialog to select a file.
|
static XdevFile |
UIUtils.showFolderChooser()
Shows the system file chooser dialog to select a folder.
|
static XdevFile |
UIUtils.showFolderChooser(String okButtonText)
Shows the system file chooser dialog to select a folder.
|
static XdevFile |
UIUtils.showFolderChooser(String okButtonText,
String initialPath)
Shows the system file chooser dialog to select a folder.
|
XdevFile |
XdevFileChooser.showOpenDialog()
Pops up an "Open File" file chooser dialog.
|
XdevFile[] |
XdevFileChooser.showOpenDialogMultiSelection()
Pops up an "Open File" file chooser dialog.
|
XdevFile |
XdevFileChooser.showSaveDialog()
Pops up an "Save File" file chooser dialog.
|
Modifier and Type | Method and Description |
---|---|
static XdevFile |
ParseUtils.parseFile(Object value)
Deprecated.
|
static XdevFile |
ConversionUtils.toXdevFile(Object value)
Converts
value to a XdevFile . |
static XdevFile |
ConversionUtils.toXdevFile(Object value,
XdevFile fallback)
Converts
value to a XdevFile . |
Modifier and Type | Method and Description |
---|---|
static XdevFile |
ConversionUtils.toXdevFile(Object value,
XdevFile fallback)
Converts
value to a XdevFile . |
Copyright © 2003–2021 XDEV Software. All rights reserved.