Forge - Shell API 1.2.0.Final

Uses of Class
org.jboss.forge.resources.FileResource

Packages that use FileResource
org.jboss.forge   
org.jboss.forge.project.facets   
org.jboss.forge.resources   
org.jboss.forge.resources.java   
org.jboss.forge.shell   
 

Uses of FileResource in org.jboss.forge
 

Methods in org.jboss.forge that return FileResource
 FileResource<?> ForgeEnvironment.getUserConfiguration()
          Get the current User's configuration file.
 

Uses of FileResource in org.jboss.forge.project.facets
 

Methods in org.jboss.forge.project.facets that return FileResource
 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()
 

Uses of FileResource in org.jboss.forge.resources
 

Classes in org.jboss.forge.resources with type parameters of type FileResource
 class FileResource<T extends FileResource<?>>
          A standard, built-in resource for representing files on the filesystem.
 

Subclasses of FileResource in org.jboss.forge.resources
 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.
 

Methods in org.jboss.forge.resources with parameters of type FileResource
 boolean FileResource.renameTo(FileResource<?> target)
          Rename this resource to the given FileResource
 

Uses of FileResource in org.jboss.forge.resources.java
 

Subclasses of FileResource in org.jboss.forge.resources.java
 class JavaResource
           
 

Uses of FileResource in org.jboss.forge.shell
 

Methods in org.jboss.forge.shell that return FileResource
 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.
 

Methods in org.jboss.forge.shell with parameters of type FileResource
 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.
 


Forge - Shell API 1.2.0.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.