public class CLocalFileFactory
extends java.lang.Object
Constructor and Description |
---|
CLocalFileFactory(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
short |
deleteFile(java.lang.String sourceFileName) |
short |
downloadFile_API(javax.servlet.http.HttpServletResponse response,
java.lang.String sourceFileName) |
short |
downloadFile(java.lang.String sourceFileName,
java.io.File destinationFile) |
java.lang.String[] |
listfiles() |
short |
uploadFile_API(javax.servlet.http.HttpServletRequest request,
java.lang.String destinationFileName) |
short |
uploadFile(java.io.File sourceFile,
java.lang.String destinationFileName) |
public java.lang.String[] listfiles()
public short uploadFile_API(javax.servlet.http.HttpServletRequest request, java.lang.String destinationFileName)
public short uploadFile(java.io.File sourceFile, java.lang.String destinationFileName)
public short downloadFile(java.lang.String sourceFileName, java.io.File destinationFile)
public short downloadFile_API(javax.servlet.http.HttpServletResponse response, java.lang.String sourceFileName)
public short deleteFile(java.lang.String sourceFileName)