Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencms.flex.util: Javadoc index of package com.opencms.flex.util.


Package Samples:

com.opencms.flex.util

Classes:

CmsResourceTranslator: This class provides a resource name translation facility. Resource name translation is required for backward compatibility to the old OpenCms (pre 5.0 beta 2) directory layout. It can also be used to translate special characters or names automatically. It is also used for translating new resource names that contain illegal chars to legal names. This feature is most useful (and currently only used) for uploaded files. It is also applied to uploded ZIP directories that are extracted after upload. The translations can be configured in the opencms.properties. The default directory translation setting ...
CmsFlexLruCache: Implements an LRU (last recently used) cache. The idea of this cache to separate the caching policy from the data structure where the cached objects are stored. The advantage of doing so is, that the CmsFlexLruCache can identify the last-recently-used object in O(1), whereas you would need at least O(n) to traverse the data structure that stores the cached objects. Second, you can easily use the CmsFlexLruCache to get an LRU cache, no matter what data structure is used to store your objects. The cache policy is affected by the "costs" of the objects being cached. Valuable cache costs might be the ...
CmsUUID: Generates a UUID using spatial and temporal uniqueness. Spatial uniqueness is derived from ethernet address (MAC, 802.1); temporal from system clock. For more information about the algorith used, please see draft-leach-uuids-guids-01.txt . Because Java is unable to read the MAC address of the machine (without using JNI), the MAC address has to be provided first by using the static init(String) 55 method. This class is just a facade wrapper for the "real" UUID implementation.
CmsMessages: Reads localized resource Strings from a java.util.ResourceBundle and provides convenience methods to access the Strings from a template. This class is to be used from JSP templates. Because of that, throwing of exceptions related to the access of the resource bundle are suppressed so that a template always execute. The class provides an isInitialized() 55 method that can be checked to see if the instance was properly initialized.
I_CmsFlexLruCacheObject: Defines the methods which an object being cached by CmsFlexLruCache must implement. CmsFlexLruCache is organized as a double linked list, that's why objects implementing this interface need getters/setter for the next/previous nodes in the list of all cached objects.
CmsLruHashMap: A hash table based implementation of the Map interface with limited size and a "last-recently-used" cache policy of the mapped key/values.
CmsStringSubstitution: Provides a String substitution functionality with Perl regular expressions.

Home | Contact Us | Privacy Policy | Terms of Service