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