| Package | Description |
|---|---|
| <Unnamed> | |
| 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 | Field and Description |
|---|---|
private java.util.List<Resource> |
AeshExample.RunCommand.arguments |
private java.util.List<Resource> |
AeshExample.LsCommand.arguments |
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<java.lang.String> |
AeshExample.RunCommand.readScriptFile(Resource resource) |
| 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 | Field and Description |
|---|---|
private Resource |
DefaultAeshContext.cwd |
private Resource |
SettingsImpl.executeFileAtStart |
private Resource |
SettingsImpl.resource |
| Modifier and Type | Method and Description |
|---|---|
Resource |
DefaultAeshContext.getCurrentWorkingDirectory() |
Resource |
Settings.getExecuteFileAtStart() |
Resource |
SettingsImpl.getExecuteFileAtStart() |
Resource |
Settings.getResource() |
Resource |
SettingsImpl.getResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultAeshContext.setCurrentWorkingDirectory(Resource cwd) |
void |
Settings.setExecuteFileAtStart(Resource executeFileAtStart) |
SettingsBuilder |
SettingsBuilder.setExecuteFileAtStart(Resource executeFile) |
void |
SettingsImpl.setExecuteFileAtStart(Resource executeFileAtStart) |
SettingsBuilder |
SettingsBuilder.setFileResource(Resource resource) |
void |
Settings.setResource(Resource resource)
Specify
|
void |
SettingsImpl.setResource(Resource resource) |
| 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(java.lang.String path) |
Resource |
Resource.newInstance(java.lang.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 |
|---|---|
java.util.List<Resource> |
FileResource.list() |
java.util.List<Resource> |
Resource.list()
Returns a list of file resources denoting the files in the
directory denoted by this file resource.
|
java.util.List<Resource> |
FileResource.list(ResourceFilter filter) |
java.util.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.
|
java.util.List<Resource> |
FileResource.listRoots() |
java.util.List<Resource> |
Resource.listRoots()
List the available filesystem roots.
|
java.util.List<Resource> |
FileResource.resolve(Resource cwd) |
java.util.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.
|
java.util.List<Resource> |
FileResource.resolve(Resource cwd) |
java.util.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 |
AllResourceFilter.accept(Resource path) |
boolean |
DirectoryResourceFilter.accept(Resource path) |
boolean |
LeafResourceFilter.accept(Resource path) |
boolean |
NoDotNamesFilter.accept(Resource pathname) |
boolean |
ResourceFilter.accept(Resource path) |
| Modifier and Type | Field and Description |
|---|---|
private Resource |
FileLister.cwd |
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<java.lang.String> |
FileLister.listDirectory(Resource path,
java.lang.String rest) |
static void |
FileUtils.saveFile(Resource file,
java.lang.String text,
boolean append) |
| Constructor and Description |
|---|
FileLister(java.lang.String token,
Resource cwd) |
FileLister(java.lang.String token,
Resource cwd,
java.util.Comparator comparator) |
FileLister(java.lang.String token,
Resource cwd,
ResourceFilter filter) |
FileLister(java.lang.String token,
Resource cwd,
ResourceFilter filter,
java.util.Comparator fileComparator) |