net.fckeditor.tool
Class UtilsResponse
java.lang.Object
   net.fckeditor.tool.UtilsResponse
net.fckeditor.tool.UtilsResponse
- public class UtilsResponse 
- extends Object
Static helper methods for the servlet response.
- Version:
- $Id: UtilsResponse.java 4785 2009-12-21 20:10:28Z mosipov $
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UtilsResponse
public UtilsResponse()
getUrl
public static String getUrl(String userFilesPath,
                            ResourceType type,
                            String currentFolder)
- Assembles a URL with omitted filename.
 
- 
- See Also:
- fileUrl(String, ResourceType, String, String)
 
fileUrl
public static String fileUrl(String userFilesPath,
                             ResourceType type,
                             String currentFolder,
                             String filename)
- Assembles a file URL for the File Browser. Simply appends parameters to a
 string buffer with reasonable parameter checking.
 
- 
- Parameters:
- userFilesPath- the current userfiles path (may be null)
- type- the current resource type
- currentFolder- the selected current folder
- filename- the current chosen file (may be null)
- Returns:
- assembled url for the File Browser
 
Copyright © 2004-2010 Frederico Caldeira Knabben. All Rights Reserved.