ca.bc.gov.webade.developer.util
Class DeveloperUtils

java.lang.Object
  extended byca.bc.gov.webade.developer.util.DeveloperUtils

public class DeveloperUtils
extends java.lang.Object


Constructor Summary
DeveloperUtils()
           
 
Method Summary
static java.lang.String createTempFileFromClasspath(java.lang.String fileName, java.lang.String fileSuffix)
          Create a temp file reading the contents from a resource in the classpath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeveloperUtils

public DeveloperUtils()
Method Detail

createTempFileFromClasspath

public static java.lang.String createTempFileFromClasspath(java.lang.String fileName,
                                                           java.lang.String fileSuffix)
Create a temp file reading the contents from a resource in the classpath.

Parameters:
fileName - The file name of the resource
fileSuffix - The file suffix of the resource
Returns:
The path to the created temp file or null if the file could not be created.