| com.opensymphony.webwork.components.AbstractRichtexteditorConnector com.opensymphony.webwork.components.DefaultRichtexteditorConnector
DefaultRichtexteditorConnector | public class DefaultRichtexteditorConnector extends AbstractRichtexteditorConnector implements ServletContextAware(Code) | | author: tm_jee version: $Date: 2007-03-29 08:02:59 +0200 (Do, 29 Mrz 2007) $ $Id: DefaultRichtexteditorConnector.java 2883 2007-03-29 06:02:59Z tm_jee $ |
Method Summary | |
protected String | calculateActualServerPath(String actualServerPath, String type, String folderPath) | protected String | calculateServerPath(String serverPath, String folderPath, String type) | protected void | copyFile(java.io.File from, java.io.File to) | protected CreateFolderResult | createFolder(String virtualFolderPath, String type, String newFolderName) | protected long | fileSizeInKBytes(java.io.File file) | protected FileUploadResult | fileUpload(String virtualFolderPath, String type, String filename, String contentType, java.io.File newFile) | public String | getActualServerPath() | protected Folder[] | getFolders(String virtualFolderPath, String type) | protected FoldersAndFiles | getFoldersAndFiles(String virtualFolderPath, String type) | protected boolean | makeDirIfNotExists(String path) | protected boolean | makeFileIfNotExists(String filePath) | public void | setActualServerPath(String actualServerPath) | public void | setServletContext(ServletContext servletContext) | protected void | unknownCommand(String command, String virtualFolderPath, String type, String filename, String contentType, java.io.File newFile) |
createFolder | protected CreateFolderResult createFolder(String virtualFolderPath, String type, String newFolderName)(Code) | | |
getActualServerPath | public String getActualServerPath()(Code) | | |
makeDirIfNotExists | protected boolean makeDirIfNotExists(String path) throws URISyntaxException(Code) | | Parameters: path - true if file already exists, false otherwise. |
setActualServerPath | public void setActualServerPath(String actualServerPath)(Code) | | |
Methods inherited from com.opensymphony.webwork.components.AbstractRichtexteditorConnector | public String browse() throws Exception(Code)(Java Doc) abstract protected String calculateServerPath(String serverPath, String folderPath, String type) throws Exception(Code)(Java Doc) abstract protected CreateFolderResult createFolder(String virtualFolderPath, String type, String newFolderName) throws Exception(Code)(Java Doc) abstract protected FileUploadResult fileUpload(String virtualFolderPath, String type, String filename, String contentType, java.io.File newFile) throws Exception(Code)(Java Doc) public String getCommand()(Code)(Java Doc) public String getCurrentFolder()(Code)(Java Doc) abstract protected Folder[] getFolders(String virtualFolderPath, String type) throws Exception(Code)(Java Doc) abstract protected FoldersAndFiles getFoldersAndFiles(String virtualFolderPath, String type) throws Exception(Code)(Java Doc) public java.io.File getNewFile()(Code)(Java Doc) public String getNewFileContentType()(Code)(Java Doc) public String getNewFileFileName()(Code)(Java Doc) public String getNewFolderName()(Code)(Java Doc) public String getServerPath()(Code)(Java Doc) public String getType()(Code)(Java Doc) public void setCommand(String command)(Code)(Java Doc) public void setCurrentFolder(String currentFolder)(Code)(Java Doc) public void setNewFile(java.io.File newFile)(Code)(Java Doc) public void setNewFileContentType(String newFileContentType)(Code)(Java Doc) public void setNewFileFileName(String newFileFileName)(Code)(Java Doc) public void setNewFolderName(String newFolderName)(Code)(Java Doc) public void setServerPath(String serverPath)(Code)(Java Doc) public void setServletRequest(HttpServletRequest request)(Code)(Java Doc) public void setServletResponse(HttpServletResponse response)(Code)(Java Doc) public void setType(String type)(Code)(Java Doc) abstract protected void unknownCommand(String command, String virtualFolderPath, String type, String filename, String contentType, java.io.File newFile) throws Exception(Code)(Java Doc) public String upload() throws Exception(Code)(Java Doc)
|
|
|