DataFaucet 1.0 Beta

datafaucet.system
Class localization

WEB-INF.cftags.component
        extended by datafaucet.system.kernel
            extended by datafaucet.system.localization

public class localization
extends kernel

Constructor Summary
init([string locale='[runtime expression]'], [string timezone='[runtime expression]'], [string resourcepath='[runtime expression]'], [string charset='[runtime expression]'], [string sortstrength='[runtime expression]'], [string sortdecomp='[runtime expression]'])
 
Method Summary
 query Sort(query query, string columns, [string strength=''], [string decomp=''])
private string getCanonicalPath(string path)
private struct getJavaProperties(string source)
 string getLanguage()
 struct getProperties()
 string getResourceFile()
 string getResourcePath()
private struct getTextProperties(string source)
 datafaucet.system.date getTimeUTC()
 string getTimezone()
 any new()
          returns a copy of this localization
 string parseDate(string date)
 any parseNumber(string number)
private string parseTimeAndDate(string datestring, string dformat, string tformat)
private string readFile(string thefile)
private any toUTC(string localtime)
 
Methods inherited from class datafaucet.system.kernel
arg, componentExists, getDataFaucet, getFaucetObject, getFile, getFileModified, getObject, getPlumbing, getTransaction, getTransactionManager, newTransaction, setTransaction
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init([string locale='[runtime expression]'], [string timezone='[runtime expression]'], [string resourcepath='[runtime expression]'], [string charset='[runtime expression]'], [string sortstrength='[runtime expression]'], [string sortdecomp='[runtime expression]'])

Parameters:
locale
timezone
resourcepath
charset
sortstrength
sortdecomp
Method Detail

Sort

public query Sort(query query, string columns, [string strength=''], [string decomp=''])

Parameters:
query
columns
strength
decomp

getCanonicalPath

private string getCanonicalPath(string path)

Parameters:
path

getJavaProperties

private struct getJavaProperties(string source)

Parameters:
source

getLanguage

public string getLanguage()


getProperties

public struct getProperties()


getResourceFile

public string getResourceFile()


getResourcePath

public string getResourcePath()


getTextProperties

private struct getTextProperties(string source)

Parameters:
source

getTimeUTC

public datafaucet.system.date getTimeUTC()


getTimezone

public string getTimezone()


new

public any new()
returns a copy of this localization


parseDate

public string parseDate(string date)

Overrides:
parseDate in class kernel
Parameters:
date

parseNumber

public any parseNumber(string number)

Parameters:
number

parseTimeAndDate

private string parseTimeAndDate(string datestring, string dformat, string tformat)

Parameters:
datestring
dformat
tformat

readFile

private string readFile(string thefile)

Parameters:
thefile

toUTC

private any toUTC(string localtime)

Parameters:
localtime

DataFaucet 1.0 Beta