Class Utils
Object
|
+--Utils
- class
Utils
This is generatl utility class.
Defined in Utils.js
|
Constructor Summary |
Utils()
Constructs a new instance of Utils class.
|
Utils
Utils()
Constructs a new instance of Utils class.
getRandString
<static> Object getRandString(<String> passLength)
Generates a random string.
Parameters:
passLength - Sets the lenth of the random string.
readFile
<static> String readFile(<String> fileName)
Parameters:
fileName - The file name to read.
Returns:
The file contents as a string
writeFile
<static> void writeFile(<String> file, <String> text)
Writes a string to a file.
Parameters:
file - The file name to write.
text - The text to write.
www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008