Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
CASUAL.ResourceDeployer Class Reference

Public Member Functions

String deployResourceTo (String resourceLocation, String tempFolder)
 
String[] deployResourceTo (String[] resourceLocation, String tempFolder)
 
boolean copyFromResourceToFile (String Resource, String toFile)
 

Detailed Description

Author
Adam Outler adamo.nosp@m.utle.nosp@m.r@gma.nosp@m.il.c.nosp@m.om

Member Function Documentation

boolean CASUAL.ResourceDeployer.copyFromResourceToFile ( String  Resource,
String  toFile 
)

copies a resource to a file

Parameters
Resourceresource to be deployed
toFilefile to deploy resource to
Returns
true if complete
String CASUAL.ResourceDeployer.deployResourceTo ( String  resourceLocation,
String  tempFolder 
)

Deploys a resource from the pacakge to the disk.

Parameters
resourceLocationlocation of internal resource.
tempFolderdisk location.
Returns
fully qualified path to deployed file.
String [] CASUAL.ResourceDeployer.deployResourceTo ( String[]  resourceLocation,
String  tempFolder 
)

deploys multiple resources to disk.

Parameters
resourceLocationarray of files in jar.
tempFolderdeployment location.
Returns
fully qualified paths to new files.

The documentation for this class was generated from the following file: