| Package | Description |
|---|---|
| org.jboss.forge | |
| org.jboss.forge.project.facets | |
| org.jboss.forge.resources | |
| org.jboss.forge.resources.java | |
| org.jboss.forge.shell |
| Modifier and Type | Method and Description |
|---|---|
FileResource<?> |
ForgeEnvironment.getUserConfiguration()
Get the current User's configuration file.
|
| Modifier and Type | Method and Description |
|---|---|
FileResource<?> |
ResourceFacet.createResource(char[] bytes,
String relativeFilename)
At the given path/filename relative to the project resources directory:
ResourceFacet.getResourceFolder() - create a
file containing the given bytes. |
FileResource<?> |
ResourceFacet.createTestResource(char[] bytes,
String relativeFilename)
At the given path/filename relative to the project test resources directory:
ResourceFacet.getTestResourceFolder() -
create a file containing the given bytes. |
FileResource<?> |
WebResourceFacet.createWebResource(char[] bytes,
String relativeFilename)
At the given path/filename relative to the project Web Root directory:
WebResourceFacet.getWebRootDirectory() - create a
FileResource containing the given bytes. |
FileResource<?> |
WebResourceFacet.createWebResource(String render,
String relativeFilename)
At the given path/filename relative to the project Web Root directory:
WebResourceFacet.getWebRootDirectory() - create a
FileResource containing the given String. |
FileResource<?> |
ResourceFacet.getResource(String relativePath)
Return the
FileResource at the given path relative to ResourceFacet.getResourceFolder(). |
FileResource<?> |
ResourceFacet.getTestResource(String relativePath)
Attempt to locate a
FileResource at the given path relative to ResourceFacet.getTestResourceFolder(). |
FileResource<?> |
WebResourceFacet.getWebResource(String relativePath)
Get the given
FileResource relative to the project Web Root directory: WebResourceFacet.getWebRootDirectory() |
| Modifier and Type | Class and Description |
|---|---|
class |
FileResource<T extends FileResource<?>>
A standard, built-in resource for representing files on the filesystem.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DependencyResource |
class |
DirectoryResource
A standard, build-in, resource for representing directories on the file-system.
|
class |
PropertiesFileResource
A property based resource
|
class |
UnknownFileResource
Represents any regular file which Forge does not hav any special handler for.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FileResource.renameTo(FileResource<?> target)
Rename this resource to the given
FileResource |
| Modifier and Type | Class and Description |
|---|---|
class |
JavaResource |
| Modifier and Type | Method and Description |
|---|---|
FileResource<?> |
ShellPrompt.promptFile(String message)
Prompt for user input in the form of a file path, first printing the given message, then returning user input as a
File.
|
FileResource<?> |
ShellPrompt.promptFile(String message,
FileResource<?> defaultIfEmpty)
Prompt for user input in the form of a file path, first printing the given message, then returning user input as a
File.
|
| Modifier and Type | Method and Description |
|---|---|
FileResource<?> |
ShellPrompt.promptFile(String message,
FileResource<?> defaultIfEmpty)
Prompt for user input in the form of a file path, first printing the given message, then returning user input as a
File.
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.