您的位置:首页 > 编程语言 > Java开发

关于不再找java使用CKFinder的原因

2010-03-17 09:57 288 查看
CEFinder是CKEditor的文件浏览器。目前还没有给出java版本。对于那些幻想仅通过改几个url就可以使用FCKEditor的java版的朋友,我只能说,清醒一下吧……=。=

原因如下:

FCKEditor的java版通过command参数确定请求指令:

get提交方式可能出现的命令:
GetFolders,GetFoldersAndFiles,CreateFolder
POST提交方式可能出现的命令:
FileUpload,QuickUpload

一共5个命令。

也就是说,fckeditor的文件浏览器只能查看文件夹和文件、上传。

1. Init: this is the first command issued by CKFinder. It returns the general settings of the connector and 2. all configured resource types.
3. GetFolders: gets the list of the children folders of a folder.
4. GetFiles: similar to the above command, gets the list of the children files of a folder.
5. CreateFolder: creates a child folder.
6. RenameFolder: renames a folder.
7. DeleteFolder: deletes a folder.
8. RenameFile: renames a file.
9. DeleteFile: deletes a file.
10. FileUpload (non XML): adds a file in a folder.
11. QuickUpload (non XML): adds a file in a folder.
12. DownloadFile (non XML): downloads a file from the server.
13. humbnail (non XML): downloads the thumbnail of an image file.

CEFinder单独提出来后,命令一下增加到13个。

包括了文件和文件夹的基本操作(新增,删除,浏览),和上传。功能更加强大,也就是说,原来为feceditor提供的java的类根本不能满足。

写这篇文章,只是想告诉那些和我前些日子一样在找CKFinder的朋友,不要再找了。在官方没有退出java版的现如今,暂时还找不到=。=。

还有就是告诉那些曾经告诉我改改url就可以使的朋友和和我一样相信了这个言论一直不懈的努力钻研怎么改的朋友,这条路是死胡同,放弃吧。

当然,也不是说CKFinder咱java就用不了。对于不是铁杆伸手党或很想用很急用的朋友= =,给出如下地址:

http://docs.cksource.com/CKFinder/Server_Side_Integration

该部分是官方为开发人员提供的说明,包括了使用CKfinder的基本方式。

网友手写的版本:

java源码:http://www.blogjava.net/Files/zxmzfbdc/src.rar

ckfinder:http://www.blogjava.net/Files/zxmzfbdc/ckfinder.rar
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: