Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCESS_DENIED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- AccessDeniedException - Exception in com.cksource.ckfinder.exception
-
The "access denied" exception.
- AccessDeniedException(String, Throwable) - Constructor for exception com.cksource.ckfinder.exception.AccessDeniedException
- acl - Variable in class com.cksource.ckfinder.command.MultiFileCommand
- acl - Variable in class com.cksource.ckfinder.filesystem.BackendFactory
- acl - Variable in class com.cksource.ckfinder.filesystem.WorkingFolder
- acl - Variable in class com.cksource.ckfinder.image.ResizedImageManager
- Acl - Class in com.cksource.ckfinder.acl
-
Request scoped access control list.
- Acl() - Constructor for class com.cksource.ckfinder.acl.Acl
- aclResult - Variable in class com.cksource.ckfinder.filesystem.WorkingFolder
- AclResult - Class in com.cksource.ckfinder.acl
-
Class representing a result returned by ACL.
- AclResult(int) - Constructor for class com.cksource.ckfinder.acl.AclResult
-
Constructs the ACL result using a computed bit mask.
- AclRoleProvider - Interface in com.cksource.ckfinder.acl.role
-
Interface for ACL role provider.
- AclRule - Class in com.cksource.ckfinder.acl
-
Class representing one rule in CKFinder's access control list.
- AclRule() - Constructor for class com.cksource.ckfinder.acl.AclRule
- AclRuleDeserializer - Class in com.cksource.ckfinder.serialization
-
Custom deserializer for ACL rules provided in CKFinder configuration.
- AclRuleDeserializer() - Constructor for class com.cksource.ckfinder.serialization.AclRuleDeserializer
- AclRuleList - Class in com.cksource.ckfinder.acl
-
Class representing the list of ACL rules.
- AclRuleList(ArrayList<AclRule>) - Constructor for class com.cksource.ckfinder.acl.AclRuleList
- addCacheHeaders(HttpHeaders, int) - Static method in class com.cksource.ckfinder.utils.HttpUtils
-
Adds cache headers to
HttpHeaders
instance. - AddCurrentFolderInfoEventListener - Class in com.cksource.ckfinder.listener
-
Modifies the HTTP response by adding information about current working folder.
- AddCurrentFolderInfoEventListener() - Constructor for class com.cksource.ckfinder.listener.AddCurrentFolderInfoEventListener
- addError(int, Map<String, String>) - Method in class com.cksource.ckfinder.command.CopyFiles
- addError(int, Map<String, String>) - Method in class com.cksource.ckfinder.command.DeleteFiles
- AddExtraHeadersListener - Class in com.cksource.ckfinder.listener
-
Modifies the HTTP response by adding the extra HTTP headers defined in configuration.
- AddExtraHeadersListener() - Constructor for class com.cksource.ckfinder.listener.AddExtraHeadersListener
- addTrailingSlash(String) - Static method in class com.cksource.ckfinder.utils.PathUtils
-
Adds a trailing slash to provided path.
- AfterCommandEvent - Class in com.cksource.ckfinder.event
-
The AfterCommandEvent event class.
- AfterCommandEvent(Object, String, ResponseEntity, HttpServletRequest, HttpServletResponse) - Constructor for class com.cksource.ckfinder.event.AfterCommandEvent
-
Constructs the event instance.
- ALLOW_ALL - Static variable in class com.cksource.ckfinder.acl.AclRule
- allowsFor(Permission) - Method in class com.cksource.ckfinder.acl.AclResult
-
Checks whether this ACL result allows for given permission.
- allowsFor(Permission...) - Method in class com.cksource.ckfinder.acl.AclResult
-
Checks whether this ACL result allows for given permissions.
- ALREADY_EXIST - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- AlreadyExistsException - Exception in com.cksource.ckfinder.exception
-
The "already exists" exception class.
- AlreadyExistsException(String) - Constructor for exception com.cksource.ckfinder.exception.AlreadyExistsException
- applicationContext - Variable in class com.cksource.ckfinder.CKFinder
- applicationEventPublisher - Variable in class com.cksource.ckfinder.CKFinder
- applicationEventPublisher - Variable in class com.cksource.ckfinder.config.ConfigFactory
- appliesTo(String, String, String) - Method in class com.cksource.ckfinder.acl.AclRule
-
Checks whether this ACL rule applies to given resource type name, folder path and user role.
- authenticate() - Method in interface com.cksource.ckfinder.authentication.Authenticator
-
Method used to determine whether the current user should be able to access CKFinder.
- Authenticator - Interface in com.cksource.ckfinder.authentication
-
Interface for authentication methods.
- autorenameFile(ResourceType, String, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Renames the file by adding a number to the file name.
B
- backend - Variable in class com.cksource.ckfinder.cache.BackendCache
- Backend - Class in com.cksource.ckfinder.filesystem
-
Class representing backend - an intermediate layer between CKFinder and filesystem.
- Backend() - Constructor for class com.cksource.ckfinder.config.Config.Backend
- Backend(Config.Backend, FileSystem, Acl) - Constructor for class com.cksource.ckfinder.filesystem.Backend
-
Constructs backend instance.
- BackendCache - Class in com.cksource.ckfinder.cache
- BackendCache(Config.PrivateDir, BackendFactory) - Constructor for class com.cksource.ckfinder.cache.BackendCache
- backendFactory - Variable in class com.cksource.ckfinder.resourcetype.ResourceTypeFactory
-
Backend factory
- BackendFactory - Class in com.cksource.ckfinder.filesystem
-
Request scoped backend factory.
- BackendFactory() - Constructor for class com.cksource.ckfinder.filesystem.BackendFactory
- baseConfig - Variable in class com.cksource.ckfinder.CKFinder
- baseConfig - Variable in class com.cksource.ckfinder.config.ConfigFactory
- beanFactory - Variable in class com.cksource.ckfinder.command.CommandFactory
- BeforeCommandEvent - Class in com.cksource.ckfinder.event
-
The BeforeCommandEvent event class.
- BeforeCommandEvent(Object, String, HttpServletRequest, HttpServletResponse) - Constructor for class com.cksource.ckfinder.event.BeforeCommandEvent
-
Constructs the event instance.
- buildProxyCommandUrl(String, String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Returns a URL to a file.
- buildRequestAttributes(HttpServletRequest, HttpServletResponse, RequestAttributes) - Method in class com.cksource.ckfinder.servlet.CKFinderServlet
-
Builds ServletRequestAttributes.
C
- cache - Variable in class com.cksource.ckfinder.image.ResizedImageManager
- cache - Variable in class com.cksource.ckfinder.image.ThumbManager
- Cache - Interface in com.cksource.ckfinder.cache
-
Cache storage interface.
- Cache() - Constructor for class com.cksource.ckfinder.config.Config.Cache
- cacheImageMetadata(ResourceType, String, String, ImageSize, long) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Saves image metadata in cache.
- calculateAspectRatio(int, int, int, int) - Static method in class com.cksource.ckfinder.image.Image
-
Calculates image target dimensions after resizing keeping the original aspect ratio.
- calculateAspectRatio(int, int, int, int, boolean) - Static method in class com.cksource.ckfinder.image.Image
-
Calculates image target dimensions after resizing keeping the original aspect ratio.
- canWrite(Class<?>) - Method in class com.cksource.ckfinder.http.response.writer.JsonResponseWriter
- canWrite(Class<?>) - Method in class com.cksource.ckfinder.http.response.writer.ResponseWriter
-
Checks if this writer is able to write response body of given class.
- canWrite(Class<?>) - Method in class com.cksource.ckfinder.http.response.writer.StreamResponseWriter
- changeCachedImageMetadataPrefix(ResourceType, String, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Changes image metadata prefix for all existing image metadata entries under given prefix.
- changePrefix(String, String) - Method in class com.cksource.ckfinder.cache.BackendCache
- changePrefix(String, String) - Method in interface com.cksource.ckfinder.cache.Cache
-
Changes the prefix of all cache entries stored under given prefix.
- check(ResourceType, String) - Method in class com.cksource.ckfinder.acl.Acl
-
Computes the ACL result for given resource type, folder path and user role.
- check(String, String) - Method in class com.cksource.ckfinder.acl.Acl
-
Computes the ACL result for given resource type, folder path and user role.
- check(String, String, String) - Method in class com.cksource.ckfinder.acl.Acl
-
Computes the ACL result for given resource type, folder path and user role.
- checkAuthentication() - Method in class com.cksource.ckfinder.CKFinder
-
Checks if current HTTP request should be allowed to access CKFinder.
- checkCsrfToken(HttpServletRequest) - Method in class com.cksource.ckfinder.CKFinder
-
Checks the CSRF token.
- checkDoubleExtension() - Method in class com.cksource.ckfinder.config.Config.Backend
- checkSizeAfterScaling() - Method in class com.cksource.ckfinder.config.Config
- ckfinder - Variable in class com.cksource.ckfinder.servlet.CKFinderServlet
-
CKFinder service instance used by this servlet.
- CKFinder - Class in com.cksource.ckfinder
-
Main CKFinder service.
- CKFinder() - Constructor for class com.cksource.ckfinder.CKFinder
- CKFinderException - Exception in com.cksource.ckfinder.exception
-
The base CKFinder exception class.
- CKFinderException() - Constructor for exception com.cksource.ckfinder.exception.CKFinderException
-
Constructs new CKFinderException.
- CKFinderException(String) - Constructor for exception com.cksource.ckfinder.exception.CKFinderException
-
Constructs new CKFinderException with given message.
- CKFinderException(String, int) - Constructor for exception com.cksource.ckfinder.exception.CKFinderException
-
Constructs new CKFinderException with given message and error code.
- CKFinderException(String, int, Throwable) - Constructor for exception com.cksource.ckfinder.exception.CKFinderException
-
Constructs new CKFinderException with given message and error code.
- CKFinderException(String, Throwable) - Constructor for exception com.cksource.ckfinder.exception.CKFinderException
-
Constructs new CKFinderException with given message and cause.
- CKFinderServlet - Class in com.cksource.ckfinder.servlet
-
Servlet for handling CKFinder's HTTP requests.
- CKFinderServlet() - Constructor for class com.cksource.ckfinder.servlet.CKFinderServlet
- clientCurrentFolder - Variable in class com.cksource.ckfinder.filesystem.WorkingFolder
- com.cksource.ckfinder - package com.cksource.ckfinder
- com.cksource.ckfinder.acl - package com.cksource.ckfinder.acl
- com.cksource.ckfinder.acl.role - package com.cksource.ckfinder.acl.role
- com.cksource.ckfinder.annotation - package com.cksource.ckfinder.annotation
- com.cksource.ckfinder.authentication - package com.cksource.ckfinder.authentication
- com.cksource.ckfinder.cache - package com.cksource.ckfinder.cache
- com.cksource.ckfinder.command - package com.cksource.ckfinder.command
- com.cksource.ckfinder.config - package com.cksource.ckfinder.config
- com.cksource.ckfinder.config.loader - package com.cksource.ckfinder.config.loader
- com.cksource.ckfinder.error - package com.cksource.ckfinder.error
- com.cksource.ckfinder.event - package com.cksource.ckfinder.event
- com.cksource.ckfinder.exception - package com.cksource.ckfinder.exception
- com.cksource.ckfinder.filesystem - package com.cksource.ckfinder.filesystem
- com.cksource.ckfinder.filesystem.node - package com.cksource.ckfinder.filesystem.node
- com.cksource.ckfinder.filesystem.provider - package com.cksource.ckfinder.filesystem.provider
- com.cksource.ckfinder.http.request - package com.cksource.ckfinder.http.request
- com.cksource.ckfinder.http.response - package com.cksource.ckfinder.http.response
- com.cksource.ckfinder.http.response.writer - package com.cksource.ckfinder.http.response.writer
- com.cksource.ckfinder.image - package com.cksource.ckfinder.image
- com.cksource.ckfinder.listener - package com.cksource.ckfinder.listener
- com.cksource.ckfinder.localization - package com.cksource.ckfinder.localization
- com.cksource.ckfinder.resourcetype - package com.cksource.ckfinder.resourcetype
- com.cksource.ckfinder.serialization - package com.cksource.ckfinder.serialization
- com.cksource.ckfinder.servlet - package com.cksource.ckfinder.servlet
- com.cksource.ckfinder.utils - package com.cksource.ckfinder.utils
- combinePaths(String...) - Static method in class com.cksource.ckfinder.utils.PathUtils
-
Combines multiple path parts to one.
- commaDelimitedStringToSet(String) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Produces a set from provided comma-delimited string.
- Command - Interface in com.cksource.ckfinder.command
-
Interface for CKFinder connector commands.
- COMMAND_NAME_PARAM - Static variable in class com.cksource.ckfinder.CKFinder
- commandClassMap - Variable in class com.cksource.ckfinder.command.CommandFactory
- CommandFactory - Class in com.cksource.ckfinder.command
-
Application scoped command factory service.
- CommandFactory() - Constructor for class com.cksource.ckfinder.command.CommandFactory
-
Constructs the command factory.
- config - Variable in class com.cksource.ckfinder.command.FileUpload
- config - Variable in class com.cksource.ckfinder.command.SaveImage
- config - Variable in class com.cksource.ckfinder.filesystem.Backend
- config - Variable in class com.cksource.ckfinder.filesystem.BackendFactory
- config - Variable in class com.cksource.ckfinder.filesystem.WorkingFolder
- config - Variable in class com.cksource.ckfinder.image.ResizedImageManager
- config - Variable in class com.cksource.ckfinder.resourcetype.ResourceTypeFactory
-
CKFinder configuration
- Config - Class in com.cksource.ckfinder.config
-
CKFinder's connector configuration class.
- Config() - Constructor for class com.cksource.ckfinder.config.Config
- Config.Backend - Class in com.cksource.ckfinder.config
-
Backend configuration class.
- Config.Cache - Class in com.cksource.ckfinder.config
-
Configuration node for HTTP cache lifetimes for various CKFinder components.
- Config.Images - Class in com.cksource.ckfinder.config
-
Configuration node for image processing.
- Config.PrivateDir - Class in com.cksource.ckfinder.config
-
Configuration node for CKFinder connector's internal private directories.
- Config.ResourceType - Class in com.cksource.ckfinder.config
-
Configuration node for resource type.
- Config.Thumbnails - Class in com.cksource.ckfinder.config
-
Configuration node for image thumbnails.
- ConfigFactory - Class in com.cksource.ckfinder.config
-
Configuration factory service.
- ConfigFactory(ApplicationEventPublisher, ApplicationContext) - Constructor for class com.cksource.ckfinder.config.ConfigFactory
-
Constructs config factory and triggers
LoadConfigEvent
to obtain the base configuration object. - ConfigLoader - Interface in com.cksource.ckfinder.config.loader
-
Interface for config loaders.
- CONNECTOR_DISABLED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- CONNECTOR_PREFIX - Static variable in class com.cksource.ckfinder.CKFinder
- convertToAscii(String) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Converts given string to ASCII.
- COPY_FAILED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- copyCachedImageMetadata(ResourceType, String, String, ResourceType, String, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Copies image metadata from one cache key to another cache entry.
- CopyFiles - Class in com.cksource.ckfinder.command
- CopyFiles() - Constructor for class com.cksource.ckfinder.command.CopyFiles
- copyResizedImages(ResourceType, String, String, ResourceType, String, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Copies all resized versions of images when the main image file is copied.
- create(InputStream) - Static method in class com.cksource.ckfinder.image.Image
-
Factory method.
- CREATED_FILE_TOO_BIG - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- createFolder(ResourceType, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Creates folder under given path.
- createFolder(ResourceType, String, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Creates a new folder under given path.
- createFolder(String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Creates an empty folder in current working directory.
- CreateFolder - Class in com.cksource.ckfinder.command
- CreateFolder() - Constructor for class com.cksource.ckfinder.command.CreateFolder
- createResourceTypeFolder(ResourceType) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Creates the resource type root folder.
- CsrfTokenValidator - Interface in com.cksource.ckfinder.http.request
-
Interface for CSRF token validator.
- CUSTOM_ERROR - Static variable in interface com.cksource.ckfinder.error.ErrorCode
D
- delete() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Removes current working folder.
- DELETE_FAILED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- deleteCachedImageMetadata(ResourceType, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Deletes all cached image metadata entries for given image.
- deleteCachedImageMetadata(ResourceType, String, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Deletes all cached image metadata entries for given image.
- deleteFile(ResourceType, String, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Removes file under given location.
- deleteFile(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Removes file under given location.
- DeleteFiles - Class in com.cksource.ckfinder.command
- DeleteFiles() - Constructor for class com.cksource.ckfinder.command.DeleteFiles
- deleteFolder(ResourceType, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Deletes folder under given location.
- deleteFolder(ResourceType, String, boolean) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Deletes folder under given location.
- deleteFolder(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Deletes folder under given location.
- DeleteFolder - Class in com.cksource.ckfinder.command
- DeleteFolder() - Constructor for class com.cksource.ckfinder.command.DeleteFolder
- deleteResizedImages(ResourceType, String, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Deletes all resized versions of images when the main image file is deleted.
- deleteThumbs(ResourceType, String, String) - Method in class com.cksource.ckfinder.image.ThumbManager
-
Removes all thumbnail images generated for given image file.
- deserialize(JsonParser, DeserializationContext) - Method in class com.cksource.ckfinder.serialization.AclRuleDeserializer
-
Deserializes the configuration node that defines ACL rule.
- DIRECTORY - Static variable in class com.cksource.ckfinder.image.ResizedImage
-
Internal directory name used to store the resized versions of images.
- disallowUnsafeCharacters() - Method in class com.cksource.ckfinder.config.Config.Backend
- doCopy(Map<String, String>) - Method in class com.cksource.ckfinder.command.CopyFiles
- doDelete(Map<String, String>) - Method in class com.cksource.ckfinder.command.DeleteFiles
- doGet(HttpServletRequest, HttpServletResponse) - Method in class com.cksource.ckfinder.servlet.CKFinderServlet
-
Processes HTTP GET request.
- doMove(Map<String, String>) - Method in class com.cksource.ckfinder.command.MoveFiles
- doOptions(HttpServletRequest, HttpServletResponse) - Method in class com.cksource.ckfinder.servlet.CKFinderServlet
-
Processes HTTP OPTIONS request.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class com.cksource.ckfinder.servlet.CKFinderServlet
-
Processes HTTP POST request.
- DoubleSubmitCookieCsrfTokenValidator - Class in com.cksource.ckfinder.http.request
-
Application scoped CSRF token validator service.
- DoubleSubmitCookieCsrfTokenValidator() - Constructor for class com.cksource.ckfinder.http.request.DoubleSubmitCookieCsrfTokenValidator
- DownloadFile - Class in com.cksource.ckfinder.command
- DownloadFile() - Constructor for class com.cksource.ckfinder.command.DownloadFile
E
- errorCode - Variable in exception com.cksource.ckfinder.exception.CKFinderException
-
Internal CKFinder error code to use when this kind of exception occurs.
- ErrorCode - Interface in com.cksource.ckfinder.error
-
CKFinder internal error codes.
- errors - Variable in class com.cksource.ckfinder.command.MultiFileCommand
- ESCAPABLE_CHARS - Static variable in class com.cksource.ckfinder.filesystem.Backend
- Event - Class in com.cksource.ckfinder.event
-
The CKFinder Event class.
- Event(Object) - Constructor for class com.cksource.ckfinder.event.Event
-
Constructs a prototypical Event.
- exception - Variable in class com.cksource.ckfinder.event.ExceptionEvent
- ExceptionEvent - Class in com.cksource.ckfinder.event
-
The ExceptionEvent event class.
- ExceptionEvent(Object, Exception, HttpServletRequest, HttpServletResponse) - Constructor for class com.cksource.ckfinder.event.ExceptionEvent
-
Constructs the event.
- ExceptionEventListener - Class in com.cksource.ckfinder.listener
-
Formats the HTTP response in case if exception is thrown.
- ExceptionEventListener() - Constructor for class com.cksource.ckfinder.listener.ExceptionEventListener
F
- File - Class in com.cksource.ckfinder.filesystem.node
-
Represents a file node.
- File() - Constructor for class com.cksource.ckfinder.filesystem.node.File
- FILE_CREATE - Enum constant in enum com.cksource.ckfinder.acl.Permission
- FILE_DELETE - Enum constant in enum com.cksource.ckfinder.acl.Permission
- FILE_NOT_FOUND - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- FILE_RENAME - Enum constant in enum com.cksource.ckfinder.acl.Permission
- FILE_VIEW - Enum constant in enum com.cksource.ckfinder.acl.Permission
- FilenameExtension - Interface in com.cksource.ckfinder.filesystem
- FileNotFoundException - Exception in com.cksource.ckfinder.exception
-
The "file not found" exception class.
- FileNotFoundException() - Constructor for exception com.cksource.ckfinder.exception.FileNotFoundException
- FileNotFoundException(String) - Constructor for exception com.cksource.ckfinder.exception.FileNotFoundException
- fileSystem - Variable in class com.cksource.ckfinder.filesystem.Backend
- fileSystemFactory - Variable in class com.cksource.ckfinder.filesystem.BackendFactory
- FileSystemFactory - Class in com.cksource.ckfinder.filesystem
-
Request scoped filesystem factory.
- FileSystemProvider - Interface in com.cksource.ckfinder.filesystem.provider
-
Filesystem provider interface.
- FileUpload - Class in com.cksource.ckfinder.command
- FileUpload() - Constructor for class com.cksource.ckfinder.command.FileUpload
- Folder - Class in com.cksource.ckfinder.filesystem.node
-
Represents a folder node.
- Folder() - Constructor for class com.cksource.ckfinder.filesystem.node.Folder
- FOLDER_CREATE - Enum constant in enum com.cksource.ckfinder.acl.Permission
- FOLDER_DELETE - Enum constant in enum com.cksource.ckfinder.acl.Permission
- FOLDER_NOT_FOUND - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- FOLDER_RENAME - Enum constant in enum com.cksource.ckfinder.acl.Permission
- FOLDER_VIEW - Enum constant in enum com.cksource.ckfinder.acl.Permission
- folderContainsSubfolders(ResourceType) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if resource type root folder contains subfolders.
- folderContainsSubfolders(ResourceType, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if given folder contains any subfolders.
- FolderNotFoundException - Exception in com.cksource.ckfinder.exception
-
The "folder not found" exception class.
- FolderNotFoundException(String) - Constructor for exception com.cksource.ckfinder.exception.FolderNotFoundException
- forceAscii() - Method in class com.cksource.ckfinder.config.Config.Backend
- formatFileDate(FileTime) - Static method in class com.cksource.ckfinder.utils.FormatUtils
-
Formats time to format expected by CKFindr frontend.
- formatFileSize(long) - Static method in class com.cksource.ckfinder.utils.FormatUtils
-
Formats file size in bytes to format expected by CKFinder frontend (KB).
- formatResponse(int, String) - Method in class com.cksource.ckfinder.listener.ExceptionEventListener
- FormatUtils - Class in com.cksource.ckfinder.utils
- FormatUtils() - Constructor for class com.cksource.ckfinder.utils.FormatUtils
- fromImage(Image) - Static method in class com.cksource.ckfinder.image.ResizedImage
-
Factory method that constructs
ResizedImage
fromImage
. - fromImage(Image) - Static method in class com.cksource.ckfinder.image.Thumb
- fromInputStream(InputStream) - Static method in class com.cksource.ckfinder.image.ResizedImage
-
Factory method that constructs
ResizedImage
fromImage
. - fromInputStream(InputStream) - Static method in class com.cksource.ckfinder.image.Thumb
-
Factory method that constructs
Thumb
using image data stream.
G
- get(String) - Method in class com.cksource.ckfinder.cache.BackendCache
- get(String) - Method in interface com.cksource.ckfinder.cache.Cache
- getAccessControl() - Method in class com.cksource.ckfinder.config.Config
- getAclMask() - Method in class com.cksource.ckfinder.filesystem.node.Folder
- getAclMask() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- getAclResult() - Method in class com.cksource.ckfinder.filesystem.node.Folder
- getAclResult() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- getAclRules(Config) - Method in class com.cksource.ckfinder.config.ConfigFactory
-
Returns a set of ACL rules to for current HTTP request scope.
- getAdapter() - Method in class com.cksource.ckfinder.config.Config.Backend
- getAllowedExtensions() - Method in class com.cksource.ckfinder.config.Config.ResourceType
- getAllowedExtensions() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns a set of file name extensions allowed for this resource type.
- getAllowedExtensionsAsString() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns a list of file name extensions allowed for this resource type.
- getBackend() - Method in class com.cksource.ckfinder.config.Config.PrivateDir
- getBackend() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- getBackend() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns backend used by this resource type.
- getBackend(String) - Method in class com.cksource.ckfinder.filesystem.BackendFactory
-
Returns backend with requested name.
- getBackendConfig(String) - Method in class com.cksource.ckfinder.config.Config
- getBackendName() - Method in class com.cksource.ckfinder.config.Config.ResourceType
- getBackends() - Method in class com.cksource.ckfinder.config.Config
- getBaseConfig() - Method in class com.cksource.ckfinder.config.ConfigFactory
- getBaseUrl() - Method in class com.cksource.ckfinder.config.Config.Backend
- getBaseUrl() - Method in class com.cksource.ckfinder.filesystem.Backend
- getBytes() - Method in class com.cksource.ckfinder.image.Image
-
Returns an array of image bytes using the same image format as the original image.
- getBytes(String) - Method in class com.cksource.ckfinder.image.Image
-
Returns an array of image bytes.
- getCacheConfig() - Method in class com.cksource.ckfinder.config.Config
- getCachedImageMetadata(ResourceType, String, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Returns cached image metadata.
- getCommand() - Method in class com.cksource.ckfinder.event.ResolveCommandEvent
- getCommand(String) - Method in class com.cksource.ckfinder.command.CommandFactory
-
Returns a new instance of concrete
Command
to handle the current HTTP request. - getCommandName() - Method in class com.cksource.ckfinder.event.AfterCommandEvent
- getCommandName() - Method in class com.cksource.ckfinder.event.BeforeCommandEvent
- getCommandName() - Method in class com.cksource.ckfinder.event.ResolveCommandEvent
- getConfig() - Method in class com.cksource.ckfinder.event.GetConfigForRequestEvent
-
Returns
Config
instance used to configure the connector behavior for current HTTP request scope. - getConfig() - Method in class com.cksource.ckfinder.event.LoadConfigEvent
- getConfigForRequest(HttpServletRequest, HttpServletResponse) - Method in class com.cksource.ckfinder.config.ConfigFactory
-
Returns an instance of
Config
which will be used in current HTTP request scope. - GetConfigForRequestEvent - Class in com.cksource.ckfinder.event
-
The GetConfigForRequestEvent event class.
- GetConfigForRequestEvent(Object, Config, HttpServletRequest, HttpServletResponse) - Constructor for class com.cksource.ckfinder.event.GetConfigForRequestEvent
-
Constructs the event.
- getCookieValue(HttpServletRequest, String) - Static method in class com.cksource.ckfinder.http.request.DoubleSubmitCookieCsrfTokenValidator
-
Returns the value of cookie with given name.
- getCurrentFolderPath() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- getData() - Method in class com.cksource.ckfinder.config.Config.PrivateDir
- getDeniedExtensions() - Method in class com.cksource.ckfinder.config.Config.ResourceType
- getDeniedExtensions() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns a set of file name extensions disallowed for this resource type.
- getDeniedExtensionsAsString() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns a list of file name extensions disallowed for this resource type.
- getDirectory() - Method in class com.cksource.ckfinder.config.Config.ResourceType
- getDirectory() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns the directory path defined for this resource type.
- getErrorCode() - Method in exception com.cksource.ckfinder.exception.CKFinderException
- getException() - Method in class com.cksource.ckfinder.event.ExceptionEvent
- getExistingResizedImage(ResourceType, String, String, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Returns an existing resized version of given image file.
- getExtraHeaders() - Method in class com.cksource.ckfinder.config.Config
- getFileName() - Method in class com.cksource.ckfinder.filesystem.UploadedFile
- getFileName() - Method in class com.cksource.ckfinder.image.ResizedImage
- getFilenameExtension(String) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Extracts the file name extension from given file name.
- getFileNameExtension() - Method in class com.cksource.ckfinder.filesystem.UploadedFile
- getFilenameExtensions(String) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Extracts the file name extensions from given file name.
- getFilenameWithoutExtension(String) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Returns the base file name without extension.
- getFiles() - Method in class com.cksource.ckfinder.command.MultiFileCommand
- GetFiles - Class in com.cksource.ckfinder.command
- GetFiles() - Constructor for class com.cksource.ckfinder.command.GetFiles
- getFileSize(ResourceType, String, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Returns the size of a file under given path.
- getFileSize(String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Returns the size of file with given name.
- getFileSystem() - Method in class com.cksource.ckfinder.filesystem.Backend
- getFileSystem(String, Map<String, Object>) - Method in class com.cksource.ckfinder.filesystem.FileSystemFactory
-
Returns NIO filesystem instance for requested provider name.
- getFileSystem(Map<String, Object>) - Method in interface com.cksource.ckfinder.filesystem.provider.FileSystemProvider
-
Returns an instance of filesystem.
- getFileSystem(Map<String, Object>) - Method in class com.cksource.ckfinder.filesystem.provider.LocalFileSystemProvider
- getFileSystem(Map<String, Object>) - Method in class com.cksource.ckfinder.filesystem.provider.S3FileSystemProvider
- getFileSystemOptions() - Method in class com.cksource.ckfinder.config.Config.Backend
- getFileUrl(String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Returns URL to file with given name located in current working directory.
- GetFileUrl - Class in com.cksource.ckfinder.command
- GetFileUrl() - Constructor for class com.cksource.ckfinder.command.GetFileUrl
- GetFolders - Class in com.cksource.ckfinder.command
- GetFolders() - Constructor for class com.cksource.ckfinder.command.GetFolders
- getHash() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns the resource type hash.
- getHeight() - Method in class com.cksource.ckfinder.image.Image
- getHeight() - Method in class com.cksource.ckfinder.image.ImageSize
-
Returns image height.
- getHideFiles() - Method in class com.cksource.ckfinder.config.Config.Backend
- getHideFolders() - Method in class com.cksource.ckfinder.config.Config.Backend
- getHtmlExtensions() - Method in class com.cksource.ckfinder.config.Config.Backend
- getHttpStatus() - Method in exception com.cksource.ckfinder.exception.CKFinderException
- getImagePreviewCacheLifetime() - Method in class com.cksource.ckfinder.config.Config.Cache
- getImagesConfig() - Method in class com.cksource.ckfinder.config.Config
- getImageSizeNameFromConfig(ImageSize) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Returns the name defined in config for image size that fits image size passed to this method.
- getInputStream() - Method in class com.cksource.ckfinder.filesystem.UploadedFile
- getInputStream() - Method in class com.cksource.ckfinder.image.Image
-
Returns a stream of image bytes using the same image format as the original image.
- getInputStream() - Method in class com.cksource.ckfinder.image.ResizedImage
- getInputStream() - Method in class com.cksource.ckfinder.image.Thumb
- getInputStream(String) - Method in class com.cksource.ckfinder.image.Image
-
Returns a stream of image bytes.
- getLabel() - Method in class com.cksource.ckfinder.config.Config.ResourceType
- getLabel() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns the label defined for this resource type.
- getLastModifiedTime() - Method in class com.cksource.ckfinder.filesystem.node.File
- getLastPathElement(String) - Static method in class com.cksource.ckfinder.utils.PathUtils
-
Returns the last element in given path.
- getLicenseKey() - Method in class com.cksource.ckfinder.config.Config
- getLicenseName() - Method in class com.cksource.ckfinder.config.Config
- getMask() - Method in class com.cksource.ckfinder.acl.AclResult
- getMaxHeight() - Method in class com.cksource.ckfinder.config.Config.Images
- getMaxSize() - Method in class com.cksource.ckfinder.config.Config.ResourceType
- getMaxSize() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns the maximum file size allowed for this resource type.
- getMaxWidth() - Method in class com.cksource.ckfinder.config.Config.Images
- getMimeType() - Method in class com.cksource.ckfinder.image.Image
- getMimeType() - Method in class com.cksource.ckfinder.image.ResizedImage
- getMimeType() - Method in class com.cksource.ckfinder.image.Thumb
- getName() - Method in class com.cksource.ckfinder.config.Config.Backend
- getName() - Method in class com.cksource.ckfinder.config.Config.ResourceType
- getName() - Method in class com.cksource.ckfinder.filesystem.Backend
- getName() - Method in class com.cksource.ckfinder.filesystem.node.File
- getName() - Method in class com.cksource.ckfinder.filesystem.node.Folder
- getName() - Method in class com.cksource.ckfinder.filesystem.node.Node
- getName() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns the name of this resource type.
- getOverwriteOnUpload() - Method in class com.cksource.ckfinder.config.Config.Backend
- getParentFolder(String) - Static method in class com.cksource.ckfinder.utils.PathUtils
-
Returns the path of the parent folder for given path.
- getParentFolderPath() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- getPath() - Method in class com.cksource.ckfinder.config.Config.PrivateDir
- getPermissions() - Method in class com.cksource.ckfinder.acl.AclRule
- getPrivateDirConfig() - Method in class com.cksource.ckfinder.config.Config
- getPrivateDirConfig(Config) - Method in class com.cksource.ckfinder.config.ConfigFactory
- getProxyCommandCacheLifetime() - Method in class com.cksource.ckfinder.config.Config.Cache
- getQuality() - Method in class com.cksource.ckfinder.config.Config.Images
- getQuality() - Method in class com.cksource.ckfinder.image.ImageSize
-
Returns image quality.
- getRenameReason() - Method in class com.cksource.ckfinder.filesystem.UploadedFile
- getRequest() - Method in class com.cksource.ckfinder.event.RequestContextAwareEvent
- getRequiredFilePermissions() - Method in class com.cksource.ckfinder.command.CopyFiles
- getRequiredFilePermissions() - Method in class com.cksource.ckfinder.command.DeleteFiles
- getRequiredFilePermissions() - Method in class com.cksource.ckfinder.command.MoveFiles
- getRequiredFilePermissions() - Method in class com.cksource.ckfinder.command.MultiFileCommand
- getResizedImage(WorkingFolder, String, ImageSize) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Returns resized image for given image file.
- getResizedImage(ResourceType, String, String, ImageSize) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Creates a resized version of given image file.
- GetResizedImages - Class in com.cksource.ckfinder.command
- GetResizedImages() - Constructor for class com.cksource.ckfinder.command.GetResizedImages
- getResizedImagesList(ResourceType, String, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Returns a list of all resized versions of given image.
- getResizedImageUrl(String, String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
/** Returns URL to resized image file with given name located in current working directory.
- getResourceType() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- getResourceType(String) - Method in class com.cksource.ckfinder.resourcetype.ResourceTypeFactory
-
Returns an instance of resource type with given resource type name.
- getResourceTypeConfig(String) - Method in class com.cksource.ckfinder.config.Config
- getResourceTypes() - Method in class com.cksource.ckfinder.config.Config
- getResponse() - Method in class com.cksource.ckfinder.event.RequestContextAwareEvent
- getResponseEntity() - Method in class com.cksource.ckfinder.event.AfterCommandEvent
- getResponseEntity() - Method in class com.cksource.ckfinder.event.BeforeCommandEvent
- getResponseEntity() - Method in class com.cksource.ckfinder.event.ExceptionEvent
- getResponseEntity() - Method in class com.cksource.ckfinder.event.RequestEvent
- getResponseEntity() - Method in class com.cksource.ckfinder.event.ResponseEvent
- getRole() - Method in interface com.cksource.ckfinder.acl.role.AclRoleProvider
- getRole() - Method in class com.cksource.ckfinder.acl.role.SessionRoleProvider
- getRoleSessionAttribute() - Method in class com.cksource.ckfinder.config.Config
- getRoot() - Method in class com.cksource.ckfinder.config.Config.Backend
- getRoot() - Method in class com.cksource.ckfinder.filesystem.Backend
- getRules() - Method in class com.cksource.ckfinder.acl.AclRuleList
- getSize() - Method in class com.cksource.ckfinder.filesystem.node.File
- getSize() - Method in class com.cksource.ckfinder.filesystem.UploadedFile
- getSize() - Method in class com.cksource.ckfinder.image.Image
- getSizeFromFileName(String) - Static method in class com.cksource.ckfinder.image.ResizedImage
-
Extracts the image dimensions from given resized image file name.
- getSizes() - Method in class com.cksource.ckfinder.config.Config.Images
- getSizes() - Method in class com.cksource.ckfinder.config.Config.Thumbnails
- getThumbnail(ResourceType, String, String, ImageSize) - Method in class com.cksource.ckfinder.image.ThumbManager
-
Returns a thumbnail image generated for given image file.
- getThumbnailsCacheLifetime() - Method in class com.cksource.ckfinder.config.Config.Cache
- getThumbnailsConfig() - Method in class com.cksource.ckfinder.config.Config
- getThumbs() - Method in class com.cksource.ckfinder.config.Config.PrivateDir
- getTranslationParameters() - Method in exception com.cksource.ckfinder.exception.CKFinderException
- getTumbnailsConfig(Config) - Method in class com.cksource.ckfinder.config.ConfigFactory
- getUrl() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- getUrl() - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Returns the base URL of this resource type.
- getValue() - Method in enum com.cksource.ckfinder.acl.Permission
- getWidth() - Method in class com.cksource.ckfinder.image.Image
- getWidth() - Method in class com.cksource.ckfinder.image.ImageSize
-
Returns image width.
H
- handle() - Method in interface com.cksource.ckfinder.command.Command
-
Handles the current HTTP request and creates the
ResponseEntity
used to build the HTTP response. - handle() - Method in class com.cksource.ckfinder.command.CopyFiles
- handle() - Method in class com.cksource.ckfinder.command.CreateFolder
- handle() - Method in class com.cksource.ckfinder.command.DeleteFiles
- handle() - Method in class com.cksource.ckfinder.command.DeleteFolder
- handle() - Method in class com.cksource.ckfinder.command.DownloadFile
- handle() - Method in class com.cksource.ckfinder.command.FileUpload
- handle() - Method in class com.cksource.ckfinder.command.GetFiles
- handle() - Method in class com.cksource.ckfinder.command.GetFileUrl
- handle() - Method in class com.cksource.ckfinder.command.GetFolders
- handle() - Method in class com.cksource.ckfinder.command.GetResizedImages
- handle() - Method in class com.cksource.ckfinder.command.ImageInfo
- handle() - Method in class com.cksource.ckfinder.command.ImagePreview
- handle() - Method in class com.cksource.ckfinder.command.ImageResize
- handle() - Method in class com.cksource.ckfinder.command.Init
- handle() - Method in class com.cksource.ckfinder.command.MoveFiles
- handle() - Method in class com.cksource.ckfinder.command.Proxy
- handle() - Method in class com.cksource.ckfinder.command.QuickUpload
- handle() - Method in class com.cksource.ckfinder.command.RenameFile
- handle() - Method in class com.cksource.ckfinder.command.RenameFolder
- handle() - Method in class com.cksource.ckfinder.command.SaveImage
- handle() - Method in class com.cksource.ckfinder.command.Thumbnail
- handle(HttpServletRequest, HttpServletResponse) - Method in class com.cksource.ckfinder.CKFinder
-
Handles the HTTP request and writes the HTTP response.
- has(String) - Method in class com.cksource.ckfinder.cache.BackendCache
- has(String) - Method in interface com.cksource.ckfinder.cache.Cache
- hasChildren() - Method in class com.cksource.ckfinder.filesystem.node.Folder
- hasCommand() - Method in class com.cksource.ckfinder.event.ResolveCommandEvent
- hasFile(ResourceType, String, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if file under given path exists.
- hasFile(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if this backend has a file under given path.
- hasFile(String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Checks if current working directory contains a file with given name.
- hasFolder(ResourceType, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Returns a list of folders inside given folder (ignores hidden folders).
- hasFolder(ResourceType, String, boolean) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Returns a list of folders inside given folder.
- hasReasonForRename() - Method in class com.cksource.ckfinder.filesystem.UploadedFile
- hasResponseEntity() - Method in class com.cksource.ckfinder.event.ExceptionEvent
-
Checks if this event has the response entity defined.
- httpStatus - Variable in exception com.cksource.ckfinder.exception.CKFinderException
-
HTTP status code to use in the HTTP response when this kind of exception occurs.
- HttpUtils - Class in com.cksource.ckfinder.utils
- HttpUtils() - Constructor for class com.cksource.ckfinder.utils.HttpUtils
I
- Image - Class in com.cksource.ckfinder.image
-
The class representing an image, used for image processing.
- Image(InputStream) - Constructor for class com.cksource.ckfinder.image.Image
-
Constructs an instance of
Image
using givenInputStream
. - IMAGE_RESIZE - Enum constant in enum com.cksource.ckfinder.acl.Permission
- IMAGE_RESIZE_CUSTOM - Enum constant in enum com.cksource.ckfinder.acl.Permission
- ImageInfo - Class in com.cksource.ckfinder.command
- ImageInfo() - Constructor for class com.cksource.ckfinder.command.ImageInfo
- ImagePreview - Class in com.cksource.ckfinder.command
- ImagePreview() - Constructor for class com.cksource.ckfinder.command.ImagePreview
- ImageResize - Class in com.cksource.ckfinder.command
- ImageResize() - Constructor for class com.cksource.ckfinder.command.ImageResize
- Images() - Constructor for class com.cksource.ckfinder.config.Config.Images
- ImageSize - Class in com.cksource.ckfinder.image
-
Class that holds info about image dimensions and compression quality.
- ImageSize() - Constructor for class com.cksource.ckfinder.image.ImageSize
- init(ServletConfig) - Method in class com.cksource.ckfinder.servlet.CKFinderServlet
-
Initializes the servlet and the internal web application context.
- Init - Class in com.cksource.ckfinder.command
- Init() - Constructor for class com.cksource.ckfinder.command.Init
- instances - Variable in class com.cksource.ckfinder.filesystem.BackendFactory
- instances - Variable in class com.cksource.ckfinder.resourcetype.ResourceTypeFactory
-
Map that holds instances of known resource types.
- INVALID_COMMAND - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- INVALID_CONFIG - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- INVALID_EXTENSION - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- INVALID_NAME - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- INVALID_PLUGIN - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- INVALID_REQUEST - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- INVALID_TYPE - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- InvalidCommandException - Exception in com.cksource.ckfinder.exception
-
The "invalid command" exception class.
- InvalidCommandException(String) - Constructor for exception com.cksource.ckfinder.exception.InvalidCommandException
- InvalidConfigException - Exception in com.cksource.ckfinder.exception
-
The "invalid configuration" exception class.
- InvalidConfigException(String, Throwable) - Constructor for exception com.cksource.ckfinder.exception.InvalidConfigException
- InvalidFilenameExtensionException - Exception in com.cksource.ckfinder.exception
-
The "invalid extension" exception class.
- InvalidFilenameExtensionException() - Constructor for exception com.cksource.ckfinder.exception.InvalidFilenameExtensionException
- InvalidFilenameExtensionException(String) - Constructor for exception com.cksource.ckfinder.exception.InvalidFilenameExtensionException
- InvalidNameException - Exception in com.cksource.ckfinder.exception
-
The "invalid name" exception class.
- InvalidNameException(String) - Constructor for exception com.cksource.ckfinder.exception.InvalidNameException
- InvalidRequestException - Exception in com.cksource.ckfinder.exception
-
The "invalid request" exception class.
- InvalidRequestException(String) - Constructor for exception com.cksource.ckfinder.exception.InvalidRequestException
- InvalidRequestException(String, Throwable) - Constructor for exception com.cksource.ckfinder.exception.InvalidRequestException
- InvalidUploadException - Exception in com.cksource.ckfinder.exception
-
The "invalid upload" exception class.
- InvalidUploadException(String) - Constructor for exception com.cksource.ckfinder.exception.InvalidUploadException
- InvalidUploadException(String, int) - Constructor for exception com.cksource.ckfinder.exception.InvalidUploadException
- InvalidUploadException(String, Throwable) - Constructor for exception com.cksource.ckfinder.exception.InvalidUploadException
- isAllowedExtension(String) - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Checks if file with provided file name extension can be saved in this resource type.
- isAllowedFileSize(long) - Method in class com.cksource.ckfinder.resourcetype.ResourceType
-
Checks if provided file size can be saved in this resource type.
- isAllowedHtmlExtension(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if file with given extension is allowed to contain HTML-like data.
- isCsrfProtectionEnabled() - Method in class com.cksource.ckfinder.config.Config
- isHiddenFile(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if file name is hidden.
- isHiddenFolder(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if folder name is hidden.
- isHiddenPath(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if folder path is hidden.
- isImageSizeAllowedInConfig(ImageSize) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Checks if given image size is allowed in config.
- isJsonData(HttpServletRequest) - Method in class com.cksource.ckfinder.http.request.JsonDataResolver
-
Checks if current request carries JSON data to process.
- isLazyLoaded() - Method in class com.cksource.ckfinder.config.Config.ResourceType
- isSupportedFormat(String) - Static method in class com.cksource.ckfinder.image.Image
-
Checks if given image file name extension is supported.
- isValidFileName(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if given file name is valid.
- isValidFileName(String, boolean) - Static method in class com.cksource.ckfinder.utils.PathUtils
-
Validates file name.
- isValidFolderName(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks if given folder name is valid.
- isValidFolderName(String, boolean) - Static method in class com.cksource.ckfinder.utils.PathUtils
-
Validates folder name.
- isValidPath(String) - Static method in class com.cksource.ckfinder.utils.PathUtils
-
Validates path.
- isValidRequest(HttpServletRequest) - Method in interface com.cksource.ckfinder.http.request.CsrfTokenValidator
-
Checks if current HTTP request contains a valid CSRF token.
- isValidRequest(HttpServletRequest) - Method in class com.cksource.ckfinder.http.request.DoubleSubmitCookieCsrfTokenValidator
-
Checks if the request contains a valid CSRF token.
J
- jsonDataResolver - Variable in class com.cksource.ckfinder.servlet.CKFinderServlet
-
JSON data resolver used by this servlet.
- JsonDataResolver - Class in com.cksource.ckfinder.http.request
-
Some CKFinder commands send JSON body in their requests.
- JsonDataResolver() - Constructor for class com.cksource.ckfinder.http.request.JsonDataResolver
- JsonResponseWriter - Class in com.cksource.ckfinder.http.response.writer
- JsonResponseWriter() - Constructor for class com.cksource.ckfinder.http.response.writer.JsonResponseWriter
L
- Listener<E extends ApplicationEvent> - Interface in com.cksource.ckfinder.listener
-
Common interface for CKFinder event listeners.
- listFiles() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- listFiles(ResourceType, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Returns a list of files in given folder.
- listFiles(ResourceType, String, boolean) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Returns a list of files in given folder.
- listFolders() - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- listFolders(ResourceType, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Returns a list of folders inside given folder.
- loadConfig() - Method in interface com.cksource.ckfinder.config.loader.ConfigLoader
- loadConfig() - Method in class com.cksource.ckfinder.config.loader.YamlConfigLoader
- LoadConfigEvent - Class in com.cksource.ckfinder.event
-
The LoadConfigEvent event class.
- LoadConfigEvent(Object, Config) - Constructor for class com.cksource.ckfinder.event.LoadConfigEvent
-
Constructs the event.
- loadLocalizationResources() - Method in class com.cksource.ckfinder.localization.Translator
-
Loads localization files from resources.
- LocalFileSystemProvider - Class in com.cksource.ckfinder.filesystem.provider
- LocalFileSystemProvider() - Constructor for class com.cksource.ckfinder.filesystem.provider.LocalFileSystemProvider
- logger - Static variable in class com.cksource.ckfinder.CKFinder
- logger - Static variable in class com.cksource.ckfinder.filesystem.WorkingFolder
- logger - Static variable in class com.cksource.ckfinder.servlet.CKFinderServlet
-
Logger instance used by this servlet
M
- messageConverter - Variable in class com.cksource.ckfinder.CKFinder
- MessageConverter - Class in com.cksource.ckfinder.http.response
-
Application scoped service responsible for assembling HTTP responses.
- MessageConverter() - Constructor for class com.cksource.ckfinder.http.response.MessageConverter
- MOVE_FAILED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- MoveFiles - Class in com.cksource.ckfinder.command
- MoveFiles() - Constructor for class com.cksource.ckfinder.command.MoveFiles
- MultiFileCommand - Class in com.cksource.ckfinder.command
- MultiFileCommand() - Constructor for class com.cksource.ckfinder.command.MultiFileCommand
- multipartResolver - Variable in class com.cksource.ckfinder.servlet.CKFinderServlet
-
Multipart resolver used by this servlet.
N
- name - Variable in class com.cksource.ckfinder.filesystem.node.Node
- Node - Class in com.cksource.ckfinder.filesystem.node
-
Represents a node in filesystem (file or folder).
- Node() - Constructor for class com.cksource.ckfinder.filesystem.node.Node
- NONE - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- NONE - Static variable in interface com.cksource.ckfinder.filesystem.FilenameExtension
- normalizePath(String) - Static method in class com.cksource.ckfinder.utils.PathUtils
-
Normalizes the provided path: replaces all the
\
with/
adds/
at the beginning and at the end normalizesnull
to/
O
- onApplicationEvent(AfterCommandEvent) - Method in class com.cksource.ckfinder.listener.AddCurrentFolderInfoEventListener
-
Handler method for
AfterCommandEvent
. - onApplicationEvent(ExceptionEvent) - Method in class com.cksource.ckfinder.listener.ExceptionEventListener
-
Handler method for
ExceptionEvent
. - onApplicationEvent(RequestEvent) - Method in class com.cksource.ckfinder.listener.OptionsRequestListener
-
Handler method for
RequestEvent
- onApplicationEvent(ResolveCommandEvent) - Method in class com.cksource.ckfinder.listener.ResolveCommandEventListener
-
Handler method for
ResolveCommandEvent
. - onApplicationEvent(ResponseEvent) - Method in class com.cksource.ckfinder.listener.AddExtraHeadersListener
-
Handler method for
ResponseEvent
- OptionsRequestListener - Class in com.cksource.ckfinder.listener
-
Event listener that handles OPTIONS HTTP requests.
- OptionsRequestListener() - Constructor for class com.cksource.ckfinder.listener.OptionsRequestListener
- overwritesOnUpload() - Method in class com.cksource.ckfinder.filesystem.Backend
P
- parseImageSize(String) - Static method in class com.cksource.ckfinder.utils.FormatUtils
-
Parses image dimensions from from string.
- parseJsonData(HttpServletRequest) - Method in class com.cksource.ckfinder.http.request.JsonDataResolver
-
Parses JSON data.
- PATH_PREFIX - Static variable in class com.cksource.ckfinder.servlet.StaticResourcesHandler
-
Path prefix under which the static content will be accessible.
- PathUtils - Class in com.cksource.ckfinder.utils
- PathUtils() - Constructor for class com.cksource.ckfinder.utils.PathUtils
- Permission - Enum in com.cksource.ckfinder.acl
-
CKFinder's file and folder access permissions.
- PrivateDir() - Constructor for class com.cksource.ckfinder.config.Config.PrivateDir
- privateDirConfig - Variable in class com.cksource.ckfinder.cache.BackendCache
- privateDirConfig - Variable in class com.cksource.ckfinder.image.ThumbManager
- processRequest(HttpServletRequest, HttpServletResponse) - Method in class com.cksource.ckfinder.CKFinder
-
Processes current HTTP request.
- processRequest(HttpServletRequest, HttpServletResponse) - Method in class com.cksource.ckfinder.servlet.CKFinderServlet
-
Processes the HTTP request and writes the HTTP response.
- Proxy - Class in com.cksource.ckfinder.command
- Proxy() - Constructor for class com.cksource.ckfinder.command.Proxy
Q
- QuickUpload - Class in com.cksource.ckfinder.command
- QuickUpload() - Constructor for class com.cksource.ckfinder.command.QuickUpload
R
- readFile(ResourceType, String, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Returns the data stream of file under given location.
- readFile(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Returns the data stream of file under given location.
- readFile(String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
- registerCommand(Class<? extends Command>) - Method in class com.cksource.ckfinder.command.CommandFactory
-
Registers the command class in CKFinder.
- registeredProviders - Variable in class com.cksource.ckfinder.filesystem.FileSystemFactory
- registerProvider(String, FileSystemProvider) - Method in class com.cksource.ckfinder.filesystem.FileSystemFactory
- registerResponseWriter(ResponseWriter) - Method in class com.cksource.ckfinder.http.response.MessageConverter
-
Registers response writer.
- remove(String) - Method in class com.cksource.ckfinder.cache.BackendCache
- remove(String) - Method in interface com.cksource.ckfinder.cache.Cache
-
Removes the data stored under given key.
- removeByPrefix(String) - Method in class com.cksource.ckfinder.cache.BackendCache
- removeByPrefix(String) - Method in interface com.cksource.ckfinder.cache.Cache
-
Removes all cache entries that share the same key prefix.
- rename(String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Renames the folder of current working directory.
- renameFile(ResourceType, String, String, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Renames file under given location (ignores hidden files).
- renameFile(ResourceType, String, String, String, boolean) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Renames file under given location.
- renameFile(String, String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Renames file in current working directory.
- RenameFile - Class in com.cksource.ckfinder.command
- RenameFile() - Constructor for class com.cksource.ckfinder.command.RenameFile
- renameFolder(ResourceType, String, String, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Renames folder under given location.
- renameFolder(ResourceType, String, String, String, boolean, boolean) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Renames folder under given location.
- renameFolder(String, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Renames folder under given location.
- RenameFolder - Class in com.cksource.ckfinder.command
- RenameFolder() - Constructor for class com.cksource.ckfinder.command.RenameFolder
- renameResizedImages(ResourceType, String, String, String) - Method in class com.cksource.ckfinder.image.ResizedImageManager
-
Renames all resized versions of images when the main image file is renamed.
- replaceFromMap(String, Map<String, String>) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Replaces all the occurrences of characters with their replacements defined in provided map.
- request - Variable in class com.cksource.ckfinder.command.FileUpload
- request - Variable in class com.cksource.ckfinder.command.MultiFileCommand
- request - Variable in class com.cksource.ckfinder.command.SaveImage
- request - Variable in class com.cksource.ckfinder.event.RequestContextAwareEvent
- request - Variable in class com.cksource.ckfinder.filesystem.WorkingFolder
- RequestContextAwareEvent - Class in com.cksource.ckfinder.event
-
Base class for request context aware events.
- RequestContextAwareEvent(Object, HttpServletRequest, HttpServletResponse) - Constructor for class com.cksource.ckfinder.event.RequestContextAwareEvent
-
Constructs the event.
- RequestEvent - Class in com.cksource.ckfinder.event
-
The RequestEvent event class.
- RequestEvent(Object, HttpServletRequest, HttpServletResponse) - Constructor for class com.cksource.ckfinder.event.RequestEvent
-
Constructs the event.
- RequiredMethod - Annotation Type in com.cksource.ckfinder.annotation
-
Annotation used to define the HTTP method expected by concrete
Command
. - RequiredPermissions - Annotation Type in com.cksource.ckfinder.annotation
-
Annotation used to define permission required by concrete
Command
. - resize(int, int, int) - Method in class com.cksource.ckfinder.image.Image
-
Resizes this image to given dimensions using given quality.
- resize(ImageSize) - Method in class com.cksource.ckfinder.image.Image
-
Rescales this image to given dimensions defined in
ImageSize
. - ResizedImage - Class in com.cksource.ckfinder.image
-
Class representing resized image file.
- ResizedImage(InputStream, String) - Constructor for class com.cksource.ckfinder.image.ResizedImage
-
Constructs resized image using image data stream and mime type.
- resizedImageManager - Variable in class com.cksource.ckfinder.command.FileUpload
- resizedImageManager - Variable in class com.cksource.ckfinder.command.MultiFileCommand
- resizedImageManager - Variable in class com.cksource.ckfinder.command.RenameFile
- ResizedImageManager - Class in com.cksource.ckfinder.image
-
Request scoped service used for resized images processing.
- ResizedImageManager() - Constructor for class com.cksource.ckfinder.image.ResizedImageManager
- resolveCommand(String, HttpServletRequest, HttpServletResponse) - Method in class com.cksource.ckfinder.CKFinder
-
Resolves the concrete
Command
class instance to handle current HTTP request. - ResolveCommandEvent - Class in com.cksource.ckfinder.event
-
The ResolveCommandEvent event class.
- ResolveCommandEvent(Object, String, HttpServletRequest, HttpServletResponse) - Constructor for class com.cksource.ckfinder.event.ResolveCommandEvent
-
Constructs the event.
- ResolveCommandEventListener - Class in com.cksource.ckfinder.listener
-
Event listener that resolves the
Command
to handle current HTTP request. - ResolveCommandEventListener() - Constructor for class com.cksource.ckfinder.listener.ResolveCommandEventListener
- resolveJsonData(HttpServletRequest) - Method in class com.cksource.ckfinder.http.request.JsonDataResolver
-
Resolves JSON data for current HTTP request.
- resourceType - Variable in class com.cksource.ckfinder.filesystem.WorkingFolder
- ResourceType - Class in com.cksource.ckfinder.resourcetype
-
Defines a resource type.
- ResourceType() - Constructor for class com.cksource.ckfinder.config.Config.ResourceType
- ResourceType(Config.ResourceType, Backend) - Constructor for class com.cksource.ckfinder.resourcetype.ResourceType
- resourceTypeFactory - Variable in class com.cksource.ckfinder.command.MultiFileCommand
- ResourceTypeFactory - Class in com.cksource.ckfinder.resourcetype
-
Request scoped resource types factory.
- ResourceTypeFactory() - Constructor for class com.cksource.ckfinder.resourcetype.ResourceTypeFactory
- response - Variable in class com.cksource.ckfinder.event.RequestContextAwareEvent
- responseEntity - Variable in class com.cksource.ckfinder.event.ExceptionEvent
- ResponseEvent - Class in com.cksource.ckfinder.event
-
The ResponseEvent event class.
- ResponseEvent(Object, HttpServletRequest, HttpServletResponse, ResponseEntity) - Constructor for class com.cksource.ckfinder.event.ResponseEvent
-
Constructs the event.
- ResponseWriter - Class in com.cksource.ckfinder.http.response.writer
-
Base class for response writers.
- ResponseWriter() - Constructor for class com.cksource.ckfinder.http.response.writer.ResponseWriter
S
- S3FileSystemProvider - Class in com.cksource.ckfinder.filesystem.provider
- S3FileSystemProvider() - Constructor for class com.cksource.ckfinder.filesystem.provider.S3FileSystemProvider
- sanitizeFileName(ResourceType, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Sanitizes current file name.
- sanitizeFileName(String, boolean, boolean) - Static method in class com.cksource.ckfinder.utils.PathUtils
-
Sanitizes file name (replaces unsafe characters, replaces non-ASCIi characters with their ASCII counterparts).
- SaveImage - Class in com.cksource.ckfinder.command
- SaveImage() - Constructor for class com.cksource.ckfinder.command.SaveImage
- secureImageUploadsEnabled() - Method in class com.cksource.ckfinder.config.Config
- serializedBaseConfig - Variable in class com.cksource.ckfinder.config.ConfigFactory
- serveStaticResource(HttpServletRequest, HttpServletResponse) - Method in class com.cksource.ckfinder.servlet.StaticResourcesHandler
-
Handles the request and returns the response containing the requested static content.
- serveStaticResources() - Method in class com.cksource.ckfinder.config.Config
- servletContext - Variable in class com.cksource.ckfinder.command.Proxy
- servletContext - Variable in class com.cksource.ckfinder.servlet.StaticResourcesHandler
- SessionRoleProvider - Class in com.cksource.ckfinder.acl.role
- SessionRoleProvider() - Constructor for class com.cksource.ckfinder.acl.role.SessionRoleProvider
- set(String, InputStream) - Method in class com.cksource.ckfinder.cache.BackendCache
- set(String, InputStream) - Method in interface com.cksource.ckfinder.cache.Cache
- set(String, String) - Method in class com.cksource.ckfinder.cache.BackendCache
- set(String, String) - Method in interface com.cksource.ckfinder.cache.Cache
- setAccessControl(ArrayList<AclRule>) - Method in class com.cksource.ckfinder.config.Config
- setAclResult(AclResult) - Method in class com.cksource.ckfinder.filesystem.node.Folder
-
Sets ACL result computed for this folder.
- setAdapter(String) - Method in class com.cksource.ckfinder.config.Config.Backend
- setAllowedExtensions(String) - Method in class com.cksource.ckfinder.config.Config.ResourceType
- setBackend(String) - Method in class com.cksource.ckfinder.config.Config.PrivateDir
- setBackend(String) - Method in class com.cksource.ckfinder.config.Config.ResourceType
- setBackends(ArrayList<Config.Backend>) - Method in class com.cksource.ckfinder.config.Config
- setBaseUrl(String) - Method in class com.cksource.ckfinder.config.Config.Backend
- setBytes(byte[]) - Method in class com.cksource.ckfinder.filesystem.UploadedFile
-
Sets contents of this file.
- setCache(Config.Cache) - Method in class com.cksource.ckfinder.config.Config
- setCheckDoubleExtension(boolean) - Method in class com.cksource.ckfinder.config.Config.Backend
- setCheckSizeAfterScaling(boolean) - Method in class com.cksource.ckfinder.config.Config
- setCommand(Command) - Method in class com.cksource.ckfinder.event.ResolveCommandEvent
-
Sets the command instance which will be used to handle the current HTTP request.
- setConfig(Config) - Method in class com.cksource.ckfinder.event.LoadConfigEvent
-
Sets the base configuration object.
- setCsrfProtection(boolean) - Method in class com.cksource.ckfinder.config.Config
- setData(String) - Method in class com.cksource.ckfinder.config.Config.PrivateDir
- setDeniedExtensions(String) - Method in class com.cksource.ckfinder.config.Config.ResourceType
- setDirectory(String) - Method in class com.cksource.ckfinder.config.Config.ResourceType
- setDisallowUnsafeCharacters(boolean) - Method in class com.cksource.ckfinder.config.Config.Backend
- setEnabled(boolean) - Method in class com.cksource.ckfinder.config.Config.Thumbnails
- setExtraHeaders(Map<String, String>) - Method in class com.cksource.ckfinder.config.Config
- setFileName(String) - Method in class com.cksource.ckfinder.filesystem.UploadedFile
-
Sets file name.
- setFileName(String) - Method in class com.cksource.ckfinder.image.ResizedImage
-
Sets the file name of this resized image.
- setFileName(String, int) - Method in class com.cksource.ckfinder.filesystem.UploadedFile
-
Sets file name and reason for changing the file name, e.g.
- setFileSystemOptions(HashMap<String, Object>) - Method in class com.cksource.ckfinder.config.Config.Backend
- setFolder(String) - Method in class com.cksource.ckfinder.acl.AclRule
-
Sets the folder path for this ACL rule.
- setForceAscii(boolean) - Method in class com.cksource.ckfinder.config.Config.Backend
- setHasChildren(boolean) - Method in class com.cksource.ckfinder.filesystem.node.Folder
-
Sets flag telling if this folder has subfolders.
- setHeight(int) - Method in class com.cksource.ckfinder.image.ImageSize
-
Sets image height.
- setHideFiles(List<String>) - Method in class com.cksource.ckfinder.config.Config.Backend
- setHideFolders(List<String>) - Method in class com.cksource.ckfinder.config.Config.Backend
- setHtmlExtensions(List<String>) - Method in class com.cksource.ckfinder.config.Config.Backend
- setHttpStatus(HttpStatus) - Method in exception com.cksource.ckfinder.exception.CKFinderException
-
Sets the HTTP status code to use in the response.
- setImagePreview(int) - Method in class com.cksource.ckfinder.config.Config.Cache
- setImages(Config.Images) - Method in class com.cksource.ckfinder.config.Config
- setLabel(String) - Method in class com.cksource.ckfinder.config.Config.ResourceType
- setLastModifiedTime(FileTime) - Method in class com.cksource.ckfinder.filesystem.node.File
-
Sets last modification time.
- setLazyLoaded(boolean) - Method in class com.cksource.ckfinder.config.Config.ResourceType
- setLicenseKey(String) - Method in class com.cksource.ckfinder.config.Config
- setLicenseName(String) - Method in class com.cksource.ckfinder.config.Config
- setMaxHeight(int) - Method in class com.cksource.ckfinder.config.Config.Images
- setMaxSize(long) - Method in class com.cksource.ckfinder.config.Config.ResourceType
- setMaxWidth(int) - Method in class com.cksource.ckfinder.config.Config.Images
- setName(String) - Method in class com.cksource.ckfinder.config.Config.Backend
- setName(String) - Method in class com.cksource.ckfinder.config.Config.ResourceType
- setName(String) - Method in class com.cksource.ckfinder.filesystem.node.File
-
Sets this file name.
- setName(String) - Method in class com.cksource.ckfinder.filesystem.node.Folder
-
Sets this folder name.
- setOverwriteOnUpload(boolean) - Method in class com.cksource.ckfinder.config.Config.Backend
- setPath(String) - Method in class com.cksource.ckfinder.config.Config.PrivateDir
- setPermission(Permission, boolean) - Method in class com.cksource.ckfinder.acl.AclRule
-
Sets the permission for this ACL rule.
- setPrivateDir(Config.PrivateDir) - Method in class com.cksource.ckfinder.config.Config
- setProxyCommand(int) - Method in class com.cksource.ckfinder.config.Config.Cache
- setQuality(int) - Method in class com.cksource.ckfinder.config.Config.Images
- setQuality(int) - Method in class com.cksource.ckfinder.image.ImageSize
-
Sets image quality.
- setResourceType(String) - Method in class com.cksource.ckfinder.acl.AclRule
-
Sets the resource type for this ACL rule.
- setResourceTypes(ArrayList<Config.ResourceType>) - Method in class com.cksource.ckfinder.config.Config
- setResponseEntity(ResponseEntity) - Method in class com.cksource.ckfinder.event.AfterCommandEvent
-
Sets response entity object that will be used to build HTTP response for current request.
- setResponseEntity(ResponseEntity) - Method in class com.cksource.ckfinder.event.BeforeCommandEvent
-
Sets response entity object that will be used to build HTTP response for current request.
- setResponseEntity(ResponseEntity) - Method in class com.cksource.ckfinder.event.ExceptionEvent
-
Sets response entity to build the HTTP response for this exception.
- setResponseEntity(ResponseEntity) - Method in class com.cksource.ckfinder.event.RequestEvent
-
Sets response entity for this event.
- setResponseEntity(ResponseEntity) - Method in class com.cksource.ckfinder.event.ResponseEvent
-
Sets response entity object used to build current HTTP response.
- setRole(String) - Method in class com.cksource.ckfinder.acl.AclRule
-
Sets the user role for this ACL rule.
- setRoleSessionAttribute(String) - Method in class com.cksource.ckfinder.config.Config
- setRoot(String) - Method in class com.cksource.ckfinder.config.Config.Backend
- setSecureImageUploads(boolean) - Method in class com.cksource.ckfinder.config.Config
- setServeStaticResources(boolean) - Method in class com.cksource.ckfinder.config.Config
- setSize(long) - Method in class com.cksource.ckfinder.filesystem.node.File
-
Sets file size.
- setSizes(List<ImageSize>) - Method in class com.cksource.ckfinder.config.Config.Thumbnails
- setSizes(Map<String, ImageSize>) - Method in class com.cksource.ckfinder.config.Config.Images
- setThumbnails(int) - Method in class com.cksource.ckfinder.config.Config.Cache
- setThumbnails(Config.Thumbnails) - Method in class com.cksource.ckfinder.config.Config
- setThumbs(String) - Method in class com.cksource.ckfinder.config.Config.PrivateDir
- setToCommaDelimitedString(Set<String>) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Produces a comma-delimited string from given set.
- setUseProxyCommand(boolean) - Method in class com.cksource.ckfinder.config.Config.Backend
- setWidth(int) - Method in class com.cksource.ckfinder.image.ImageSize
-
Sets image width.
- SOURCE_AND_TARGET_PATH_EQUAL - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- STATIC_CONTENT_LOCATION - Static variable in class com.cksource.ckfinder.servlet.StaticResourcesHandler
-
CKFinder static contents location in resources.
- staticResourcesHandler - Variable in class com.cksource.ckfinder.CKFinder
- StaticResourcesHandler - Class in com.cksource.ckfinder.servlet
-
Serves static resources.
- StaticResourcesHandler() - Constructor for class com.cksource.ckfinder.servlet.StaticResourcesHandler
- streamContainsHtmlData(InputStream) - Static method in class com.cksource.ckfinder.utils.ValidationUtils
-
Detect HTML in the first KB to prevent against potential security issue.
- StreamResponseWriter - Class in com.cksource.ckfinder.http.response.writer
- StreamResponseWriter() - Constructor for class com.cksource.ckfinder.http.response.writer.StreamResponseWriter
- StringUtils - Class in com.cksource.ckfinder.utils
- StringUtils() - Constructor for class com.cksource.ckfinder.utils.StringUtils
T
- Thumb - Class in com.cksource.ckfinder.image
-
Class representing a thumbnail image.
- Thumb(InputStream, String) - Constructor for class com.cksource.ckfinder.image.Thumb
-
Constructs thumbnail image using given image data stream.
- ThumbManager - Class in com.cksource.ckfinder.image
-
Request scoped service used for thumbnails processing.
- ThumbManager() - Constructor for class com.cksource.ckfinder.image.ThumbManager
- Thumbnail - Class in com.cksource.ckfinder.command
- Thumbnail() - Constructor for class com.cksource.ckfinder.command.Thumbnail
- Thumbnails() - Constructor for class com.cksource.ckfinder.config.Config.Thumbnails
- THUMBNAILS_DISABLED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- thumbnailsConfig - Variable in class com.cksource.ckfinder.image.ThumbManager
- thumbnailsEnabled() - Method in class com.cksource.ckfinder.config.Config.Thumbnails
- toFileSystemPath(String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Converts the internal CKFinder's path to a real filesystem path.
- translateErrorMessage(int, Map<String, String>) - Method in class com.cksource.ckfinder.localization.Translator
-
Returns a localized error message for given error code and language code defined in current HTTP request.
- translateErrorMessage(String, int, Map<String, String>) - Method in class com.cksource.ckfinder.localization.Translator
-
Returns a localized error message for given error and language codes.
- translationParameters - Variable in exception com.cksource.ckfinder.exception.CKFinderException
-
A map of parameters passed for replacements used in error message translation.
- translator - Variable in class com.cksource.ckfinder.command.FileUpload
- Translator - Class in com.cksource.ckfinder.localization
-
Application-scoped translator service.
- Translator() - Constructor for class com.cksource.ckfinder.localization.Translator
-
Constructs translator instance.
- trim(String, char) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Removes occurrences of given characters at the beginning and at the end of given string.
- trimLeading(String, char) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Removes occurrences of given characters at the beginning of given string.
- trimTrailing(String, char) - Static method in class com.cksource.ckfinder.utils.StringUtils
-
Removes occurrences of given characters at the end of given string.
- TYPE_NOT_SPECIFIED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
U
- UNAUTHORIZED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- UnauthorizedException - Exception in com.cksource.ckfinder.exception
-
The "unauthorized exception" class.
- UnauthorizedException(String) - Constructor for exception com.cksource.ckfinder.exception.UnauthorizedException
- UNKNOWN - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- UPLOADED_CORRUPT - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- UPLOADED_FILE_RENAMED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- UPLOADED_INVALID - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- UPLOADED_INVALID_NAME_RENAMED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- UPLOADED_NO_TMP_DIR - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- UPLOADED_TOO_BIG - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- UPLOADED_WRONG_HTML_FILE - Static variable in interface com.cksource.ckfinder.error.ErrorCode
- UploadedFile - Class in com.cksource.ckfinder.filesystem
-
Class representing uploaded file.
- UploadedFile(MultipartFile) - Constructor for class com.cksource.ckfinder.filesystem.UploadedFile
-
Constructs uploaded file instance.
- useProxyCommand() - Method in class com.cksource.ckfinder.config.Config.Backend
- usesProxyCommand() - Method in class com.cksource.ckfinder.filesystem.Backend
V
- validateCommand(Command, String, HttpServletRequest) - Method in class com.cksource.ckfinder.CKFinder
-
Validates if all the requirements set for current command are present.
- validateDoubleExtensions(ResourceType, String) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Checks double extensions in a given file name.
- validateDoubleExtensions(String) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Validates double extensions of given file name.
- validateInput(List<Map<String, String>>) - Method in class com.cksource.ckfinder.command.DeleteFiles
- ValidationUtils - Class in com.cksource.ckfinder.utils
- ValidationUtils() - Constructor for class com.cksource.ckfinder.utils.ValidationUtils
- value() - Element in annotation type com.cksource.ckfinder.annotation.RequiredMethod
- value() - Element in annotation type com.cksource.ckfinder.annotation.RequiredPermissions
- valueOf(String) - Static method in enum com.cksource.ckfinder.acl.Permission
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.cksource.ckfinder.acl.Permission
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wasRenamed() - Method in class com.cksource.ckfinder.filesystem.UploadedFile
- webApplicationContext - Variable in class com.cksource.ckfinder.servlet.CKFinderServlet
-
Servlet's own internal web application context.
- workingFolder - Variable in class com.cksource.ckfinder.command.FileUpload
- workingFolder - Variable in class com.cksource.ckfinder.command.MultiFileCommand
- workingFolder - Variable in class com.cksource.ckfinder.command.SaveImage
- WorkingFolder - Class in com.cksource.ckfinder.filesystem
-
Request scoped service that represents current working directory.
- write(ResponseEntity, HttpServletResponse) - Method in class com.cksource.ckfinder.http.response.writer.JsonResponseWriter
- write(ResponseEntity, HttpServletResponse) - Method in class com.cksource.ckfinder.http.response.writer.ResponseWriter
-
Writes HTTP response to given
HttpServletResponse
instance. - write(ResponseEntity, HttpServletResponse) - Method in class com.cksource.ckfinder.http.response.writer.StreamResponseWriter
- writeFile(ResourceType, String, String, InputStream) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Saves file under given location.
- writeFile(String, InputStream) - Method in class com.cksource.ckfinder.filesystem.Backend
-
Saves file under given location.
- writeFile(String, InputStream) - Method in class com.cksource.ckfinder.filesystem.WorkingFolder
-
Writes file to current working directory.
- writeHeaders(HttpHeaders, HttpServletResponse) - Method in class com.cksource.ckfinder.http.response.writer.ResponseWriter
-
Sets HTTP headers for current servlet response.
- writeImageToStream(String) - Method in class com.cksource.ckfinder.image.Image
-
Writes buffered image to output stream using given format.
- writeResponse(ResponseEntity, HttpServletResponse) - Method in class com.cksource.ckfinder.http.response.MessageConverter
-
Writes HTTP response data to given
HttpServletResponse
instance.
Y
- YamlConfigLoader - Class in com.cksource.ckfinder.config.loader
- YamlConfigLoader(String) - Constructor for class com.cksource.ckfinder.config.loader.YamlConfigLoader
Z
- ZIP_FAILED - Static variable in interface com.cksource.ckfinder.error.ErrorCode
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form