2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module FileUtils
|
2014-07-02 10:15:26 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] fullPathForFilename
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] getStringFromFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] setFilenameLookupDictionary
|
|
|
|
-- @param self
|
|
|
|
-- @param #map_table map
|
|
|
|
|
2014-07-24 22:23:49 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] removeFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] isAbsolutePath
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-07-24 22:23:49 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] renameFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] loadFilenameLookupDictionaryFromFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] isPopupNotify
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] getValueVectorFromFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return array_table#array_table ret (return value: array_table)
|
|
|
|
|
2014-05-22 16:08:54 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] getSearchPaths
|
|
|
|
-- @param self
|
|
|
|
-- @return array_table#array_table ret (return value: array_table)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] writeToFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #map_table map
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] getValueMapFromFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return map_table#map_table ret (return value: map_table)
|
|
|
|
|
2014-08-07 10:40:46 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] getValueMapFromData
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
-- @param #int int
|
|
|
|
-- @return map_table#map_table ret (return value: map_table)
|
|
|
|
|
2014-07-24 22:23:49 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] removeDirectory
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-05-22 16:08:54 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] setSearchPaths
|
|
|
|
-- @param self
|
|
|
|
-- @param #array_table array
|
|
|
|
|
2014-07-24 22:23:49 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] getFileSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return long#long ret (return value: long)
|
|
|
|
|
2014-05-22 16:08:54 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] setSearchResolutionsOrder
|
|
|
|
-- @param self
|
|
|
|
-- @param #array_table array
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] addSearchResolutionsOrder
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
2014-07-17 11:04:08 +08:00
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] addSearchPath
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
2014-07-17 11:04:08 +08:00
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] isFileExist
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] purgeCachedEntries
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] fullPathFromRelativeFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] setPopupNotify
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
2014-07-24 22:23:49 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] isDirectoryExist
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-05-22 16:08:54 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] getSearchResolutionsOrder
|
|
|
|
-- @param self
|
|
|
|
-- @return array_table#array_table ret (return value: array_table)
|
|
|
|
|
2014-07-24 22:23:49 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] createDirectory
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] getWritablePath
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] destroyInstance
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#FileUtils] getInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return FileUtils#FileUtils ret (return value: cc.FileUtils)
|
|
|
|
|
|
|
|
return nil
|