Class CeL.application.storage.file
檔案操作相關之 function。
Defined in: file.origin.js.
Constructor Attributes | Constructor Name and Description |
---|---|
null module constructor
|
Method Attributes | Method Name and Description |
---|---|
<static> |
CeL.application.storage.file.determine_base_path(base_path_structure, path_now)
determine base path.
|
<static> |
CeL.application.storage.file.is_absolute_path(path)
is absolute or relative path, not very good solution
|
<static> |
CeL.application.storage.file.parse_path(path)
cf: getFN()
|
Method Detail
<static>
{String}
CeL.application.storage.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.application.storage.file.is_absolute_path(path)
is absolute or relative path, not very good solution
- Parameters:
- {String} path
- Returns:
- Requires:
- dirSp,dirSpR
<static>
CeL.application.storage.file.parse_path(path)
cf: getFN()
- Parameters:
- {String} path
- path name
- Returns: