Class Cache


  • public class Cache
    extends Object
    Author:
    cybercon <bndly@cybercon.de>
    • Constructor Detail

      • Cache

        public Cache()
    • Method Detail

      • activate

        public void activate​(org.osgi.service.component.ComponentContext componentContext)
      • flushPaths

        public void flushPaths​(Iterable<String> pathsWithExtension)
      • escapeSpecialCharactersToProperURL

        public static String escapeSpecialCharactersToProperURL​(String path)
        This method will parse the path as a resource path and then escapes all special characters in order to get a clean URL. For instance spaces will be escaped to %20.
        Parameters:
        path - The path to escape
        Returns:
        an escaped path