关于不再找java使用CKFinder的原因
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_Integra
相关文档:
(
1
)
+=
:sum += 1;
相当于
sum = sum + 1;
(
2
)
++ --
:i++ i
加
1, i-- i
减
1, ++
或
—
放在数值后,表示执行运算后加(减)
1
,反正数值前表示执行运算前加(减)
1
(
3
)
?
: :
int n = a<10?1:2
表示如果
a
小于
10
则
n
等于
1
否则等于
2
(
4
......
转自其他网站
核心提示:第一步
充分理解Socket 1.
什么是socket
所谓socket
通常也称作套接字,用于描述IP
地址和端口,是一个通信链的句柄。应用程序通常通过套接字向网...
推广和普及Java
技术,为国内众多的Java
爱好者提供一个“
平等自由协作创造”
的开放式交流环境,提供Java
专题 ......
package homework03;
import java.util.Scanner;
/*
* 编写一个类,该类有一个方法
* public int f(int a,int b){
*
* }
* 然后编写一个该类的子类,要求重写方法f(),而且重写的方法将返回两个整数的最小公倍数。要求:
* 在重写的方法的方法体中首先调用被隐藏的方法返回a和b的最大公约数m,然后将a*b/m ......
多继承:
C++中的类可以直接实现多继承 如:class D:public A,public B,public C{……};
Java中不能直接实现这样的多继承,但是可以用接口(interface)来间接实现 如:
public class A{ ……}
public interface C{
public void c1();
public void c2();
}
public class C exten ......