net.fckeditor.handlers
Class ConnectorHandler

java.lang.Object
  extended by net.fckeditor.handlers.ConnectorHandler

public class ConnectorHandler
extends java.lang.Object

Handler for some base properties.
It's a kind of wrapper to some basic properties handled by the PropertiesLoader.

Version:
$Id: ConnectorHandler.java 1905 2008-04-10 15:32:00Z th-schwarz $

Constructor Summary
ConnectorHandler()
           
 
Method Summary
static java.lang.String getDefaultUserFilesPath()
          Getter for the default userFilesPath.
static java.lang.String getUserFilesPath(javax.servlet.http.HttpServletRequest servletRequest)
          Getter for the base dir (using for user files).
static boolean isForceSingleExtension()
          Getter for the default handling of single extensions.
static boolean isFullUrl()
          Getter for the value to instruct the connector to return the full URL of a file/folder in the XML response rather than the absolute URL.
static boolean isSecureImageUploads()
          Getter for the value to instruct the Connector to check, if the uploaded image is really one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorHandler

public ConnectorHandler()
Method Detail

getUserFilesPath

public static java.lang.String getUserFilesPath(javax.servlet.http.HttpServletRequest servletRequest)
Getter for the base dir (using for user files).

Returns:
UserPathBuilder.getUserFilesPath(HttpServletRequest) or the default base dir, if UserPathBuilder} isn't set.

isForceSingleExtension

public static boolean isForceSingleExtension()
Getter for the default handling of single extensions.

Returns:
the forceSingleExtension

isFullUrl

public static boolean isFullUrl()
Getter for the value to instruct the connector to return the full URL of a file/folder in the XML response rather than the absolute URL.

Returns:
Boolean value of the property 'connector.fullUrl'.

getDefaultUserFilesPath

public static java.lang.String getDefaultUserFilesPath()
Getter for the default userFilesPath.

Returns:
Default userfiles path (/userfiles)

isSecureImageUploads

public static boolean isSecureImageUploads()
Getter for the value to instruct the Connector to check, if the uploaded image is really one.

Returns:
Boolean value of the property 'connector.secureImageUploads'.


Copyright © 2004-2008 Frederico Caldeira Knabben. All Rights Reserved.