public abstract class ELFinder extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ELFinder.Property |
Constructor and Description |
---|
ELFinder() |
Modifier and Type | Method and Description |
---|---|
protected <T> T[] |
array(T... values) |
protected abstract void |
changeFolder(ELFile file) |
protected abstract void |
compressFiles(String[] files,
String type,
Map<String,Object> apiResponse) |
protected abstract void |
createDir(String folderId,
String fileName,
Map<String,Object> response) |
protected abstract ELFile |
createELFile(ELFile parent,
File file) |
protected abstract void |
deleteFile(javax.servlet.http.HttpServletRequest request,
String[] filesHash,
Map<String,Object> apiResponse) |
protected abstract void |
duplicateFile(String[] filesHash,
Map<String,Object> apiResponse) |
protected void |
extend(Map<String,Object> base,
ELFinder.Property... props) |
protected abstract void |
extractFile(String fileHash,
Map<String,Object> apiResponse) |
protected abstract String |
fileToHash(ELFile file) |
protected static List<ELFile> |
filterDirectories(List<ELFile> children) |
protected abstract String |
getFileMimeType(String fileName) |
protected String |
getMimeType(File file) |
protected abstract List<ELVolume> |
getVolumes() |
protected abstract ELFile |
hashToFile(String hash) |
protected Map<String,Object> |
obj(ELFinder.Property... props) |
void |
open(boolean init,
ELFile target,
boolean tree,
Map<String,Object> response) |
void |
parents(ELFile target,
Map<String,Object> response) |
protected abstract void |
pasteFiles(String srcHashFolder,
String dstHashFolder,
String[] files,
boolean cut,
Map<String,Object> apiResponse) |
protected Map<String,Object> |
printFile(ELFile file) |
protected List<Object> |
printFiles(List<ELFile> files) |
protected List<Object> |
printFilesHash(Collection<ELFile> files) |
protected Map<String,Object> |
printOptions(ELFile file) |
void |
process(Writer out,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected ELFinder.Property |
prop(String name,
Object value) |
protected ELFinder.Property |
propObj(String name,
ELFinder.Property... props) |
protected abstract void |
renameFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String fileHash,
String name,
Map<String,Object> apiResponse) |
protected abstract void |
resetHash(String hash) |
protected Object |
toInt(boolean b) |
protected void |
transformFile(String fileHash,
String mode,
int width,
int height,
int x,
int y,
int degree,
Map<String,Object> apiResponse) |
void |
tree(ELFile target,
Map<String,Object> response) |
protected abstract void |
uploadFile(String folderHash,
org.apache.commons.fileupload.FileItem[] filesItem,
String parameter,
Map<String,Object> apiResponse) |
public void process(Writer out, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
protected abstract void pasteFiles(String srcHashFolder, String dstHashFolder, String[] files, boolean cut, Map<String,Object> apiResponse) throws IOException
IOException
protected abstract void uploadFile(String folderHash, org.apache.commons.fileupload.FileItem[] filesItem, String parameter, Map<String,Object> apiResponse) throws Exception
Exception
protected abstract void extractFile(String fileHash, Map<String,Object> apiResponse) throws Exception
Exception
protected abstract void compressFiles(String[] files, String type, Map<String,Object> apiResponse) throws Exception
Exception
protected abstract void renameFile(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String fileHash, String name, Map<String,Object> apiResponse) throws ELFinderException, Exception
ELFinderException
Exception
protected abstract void duplicateFile(String[] filesHash, Map<String,Object> apiResponse) throws IOException
IOException
protected void transformFile(String fileHash, String mode, int width, int height, int x, int y, int degree, Map<String,Object> apiResponse) throws Exception
Exception
protected abstract void createDir(String folderId, String fileName, Map<String,Object> response)
protected abstract void deleteFile(javax.servlet.http.HttpServletRequest request, String[] filesHash, Map<String,Object> apiResponse) throws IOException
IOException
protected abstract void changeFolder(ELFile file)
protected List<Object> printFilesHash(Collection<ELFile> files)
protected Object toInt(boolean b)
protected abstract void resetHash(String hash)
protected <T> T[] array(T... values)
protected Map<String,Object> obj(ELFinder.Property... props)
protected void extend(Map<String,Object> base, ELFinder.Property... props)
protected ELFinder.Property prop(String name, Object value)
protected ELFinder.Property propObj(String name, ELFinder.Property... props)
Copyright © 2012-2018. All Rights Reserved.