Class Index | File Index

Classes


Class CeL.IO.file

檔案操作相關之 function。
Defined in: file.origin.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
null module constructor
Method Summary
Method Attributes Method Name and Description
<static>  
CeL.IO.file.determine_base_path(base_path_structure, path_now)
determine base path.
<static>  
CeL.IO.file.is_absolute_path(path)
is absolute or relative path, not very good solution
<static>  
CeL.IO.file.parse_path(path)
cf: getFN()
Class Detail
CeL.IO.file()
null module constructor
Method Detail
<static> {String} CeL.IO.file.determine_base_path(base_path_structure, path_now)
determine base path. 給定 base path 的結構後,藉由 path_now 推測 base path 的 full path. cf.
alert(determine_base_path('kanashimi/www/cgi-bin/game/'));
Parameters:
{String} base_path_structure
base path 的範本結構
{String} path_now
Returns:
{String} 推測的 base path full path

<static> CeL.IO.file.is_absolute_path(path)
is absolute or relative path, not very good solution
Parameters:
{String} path
Returns:
Requires:
dirSp,dirSpR

<static> CeL.IO.file.parse_path(path)
cf: getFN()
Parameters:
{String} path
path name
Returns:

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Aug 05 2011 17:45:24 GMT+0800 (CST)