Package | Description |
---|---|
org.jboss.aesh.cl.converter | |
org.jboss.aesh.console | |
org.jboss.aesh.console.settings | |
org.jboss.aesh.io | |
org.jboss.aesh.io.filter | |
org.jboss.aesh.util |
Modifier and Type | Method and Description |
---|---|
Resource |
FileResourceConverter.convert(ConverterInvocation converterInvocation) |
Modifier and Type | Method and Description |
---|---|
Resource |
AeshContext.getCurrentWorkingDirectory() |
Modifier and Type | Method and Description |
---|---|
void |
AeshContext.setCurrentWorkingDirectory(Resource cwd) |
Modifier and Type | Method and Description |
---|---|
Resource |
DefaultAeshContext.getCurrentWorkingDirectory() |
Resource |
SettingsImpl.getExecuteFileAtStart() |
Resource |
Settings.getExecuteFileAtStart() |
Resource |
SettingsImpl.getResource() |
Resource |
Settings.getResource() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAeshContext.setCurrentWorkingDirectory(Resource cwd) |
void |
SettingsImpl.setExecuteFileAtStart(Resource executeFileAtStart) |
void |
Settings.setExecuteFileAtStart(Resource executeFileAtStart) |
SettingsBuilder |
SettingsBuilder.setExecuteFileAtStart(Resource executeFile) |
SettingsBuilder |
SettingsBuilder.setFileResource(Resource resource) |
void |
SettingsImpl.setResource(Resource resource) |
void |
Settings.setResource(Resource resource)
Specify
|
Constructor and Description |
---|
DefaultAeshContext(Resource cwd) |
Modifier and Type | Class and Description |
---|---|
class |
FileResource
Default impl of FileResource, using java.io.File
|
Modifier and Type | Method and Description |
---|---|
Resource |
FileResource.copy(Resource destination) |
Resource |
Resource.copy(Resource destination)
Copy a file/directory to destination;
|
Resource |
FileResource.getParent() |
Resource |
Resource.getParent()
Returns the file resource of this parent, or
null if this file resource does not name a parent directory. |
Resource |
FileResource.newInstance(String path) |
Resource |
Resource.newInstance(String path)
Return a new instance of FileResource with String as argument
|
Resource |
FileResource.readSymbolicLink() |
Resource |
Resource.readSymbolicLink()
If the Resource system support symbolic links and
this is a symbolic link, return the link target.
|
Modifier and Type | Method and Description |
---|---|
List<Resource> |
FileResource.list() |
List<Resource> |
Resource.list()
Returns a list of file resources denoting the files in the
directory denoted by this file resource.
|
List<Resource> |
FileResource.list(ResourceFilter filter) |
List<Resource> |
Resource.list(ResourceFilter filter)
Returns a list of path names denoting the files in the
directory denoted by this file resource filtered by argument.
|
List<Resource> |
FileResource.listRoots() |
List<Resource> |
Resource.listRoots()
List the available filesystem roots.
|
List<Resource> |
FileResource.resolve(Resource cwd) |
List<Resource> |
Resource.resolve(Resource cwd)
Resolve a file that might contain (~,*,?) based on this instance and
a given current working directory as argument.
|
Modifier and Type | Method and Description |
---|---|
Resource |
FileResource.copy(Resource destination) |
Resource |
Resource.copy(Resource destination)
Copy a file/directory to destination;
|
void |
FileResource.move(Resource target) |
void |
Resource.move(Resource target)
Move a file/directory.
|
List<Resource> |
FileResource.resolve(Resource cwd) |
List<Resource> |
Resource.resolve(Resource cwd)
Resolve a file that might contain (~,*,?) based on this instance and
a given current working directory as argument.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ResourceFilter.accept(Resource path) |
boolean |
AllResourceFilter.accept(Resource path) |
boolean |
LeafResourceFilter.accept(Resource path) |
boolean |
DirectoryResourceFilter.accept(Resource path) |
boolean |
NoDotNamesFilter.accept(Resource pathname) |
Modifier and Type | Method and Description |
---|---|
static void |
FileUtils.saveFile(Resource file,
String text,
boolean append) |
Constructor and Description |
---|
FileLister(String token,
Resource cwd) |
FileLister(String token,
Resource cwd,
Comparator comparator) |
FileLister(String token,
Resource cwd,
ResourceFilter filter) |
FileLister(String token,
Resource cwd,
ResourceFilter filter,
Comparator fileComparator) |
Copyright © 2023 JBoss by Red Hat. All rights reserved.