|
Mura CMS 6.1 | ||||
FRAMES |
railo-context.Componentmura.cfobject
mura.fileWriter
public class fileWriter
Constructor Summary | |
---|---|
init(any useMode='true', any tempDir='[runtime expression]')
|
Method Summary | |
---|---|
any |
appendFile([any file], [any output], any mode='[runtime expression]')
|
any |
chmod([any path], any mode='[runtime expression]')
|
any |
copyDir(any baseDir='', any destDir='', any excludeList='', any sinceDate='', any excludeHiddenFiles='true')
|
any |
copyFile([any source], [any destination], any mode='[runtime expression]')
|
any |
createDir([any directory], any mode='[runtime expression]')
|
any |
deleteDir([any directory], any recurse='true')
|
any |
getFreeSpace([any file], [any unit='gb'])
|
any |
getTotalSpace([any file], [any unit='gb'])
|
any |
getUsableSpace([any file], [any unit='gb'])
|
any |
moveFile([any source], [any destination], any mode='[runtime expression]')
|
private string |
PathFormat(string path)
Convert path into Windows or Unix format |
any |
renameDir([any directory], [any newDirectory], any mode='[runtime expression]')
|
any |
renameFile([any source], [any destination], any mode='[runtime expression]')
|
any |
touchDir([any directory], any mode='[runtime expression]')
|
any |
uploadFile([any filefield], any destination='[runtime expression]', any nameConflict='makeunique', any attributes='normal', any mode='[runtime expression]', [any accept=''])
|
any |
writeFile([any file], [any output], any addNewLine='true', any mode='[runtime expression]')
|
Methods inherited from class mura.cfobject |
---|
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
|
Methods inherited from class railo-context.Component |
---|
|
Constructor Detail |
---|
public init(any useMode='true', any tempDir='[runtime expression]')
useMode
tempDir
Method Detail |
---|
public any appendFile([any file], [any output], any mode='[runtime expression]')
file
output
mode
public any chmod([any path], any mode='[runtime expression]')
path
mode
public any copyDir(any baseDir='', any destDir='', any excludeList='', any sinceDate='', any excludeHiddenFiles='true')
baseDir
destDir
excludeList
sinceDate
excludeHiddenFiles
public any copyFile([any source], [any destination], any mode='[runtime expression]')
source
destination
mode
public any createDir([any directory], any mode='[runtime expression]')
directory
mode
public any deleteDir([any directory], any recurse='true')
directory
recurse
public any getFreeSpace([any file], [any unit='gb'])
file
unit
public any getTotalSpace([any file], [any unit='gb'])
file
unit
public any getUsableSpace([any file], [any unit='gb'])
file
unit
public any moveFile([any source], [any destination], any mode='[runtime expression]')
source
destination
mode
private string PathFormat(string path)
path
- The path to convert.public any renameDir([any directory], [any newDirectory], any mode='[runtime expression]')
directory
newDirectory
mode
public any renameFile([any source], [any destination], any mode='[runtime expression]')
source
destination
mode
public any touchDir([any directory], any mode='[runtime expression]')
directory
mode
public any uploadFile([any filefield], any destination='[runtime expression]', any nameConflict='makeunique', any attributes='normal', any mode='[runtime expression]', [any accept=''])
filefield
destination
nameConflict
attributes
mode
accept
public any writeFile([any file], [any output], any addNewLine='true', any mode='[runtime expression]')
file
output
addNewLine
mode
|
Mura CMS 6.1 | ||||
FRAMES |