Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.pictures.tiles.helpers
Class StringMaker

java.lang.Object
  extended by org.nuxeo.ecm.platform.pictures.tiles.helpers.StringMaker

public class StringMaker
extends Object

Simple helper to generate the directory names in the cache structure

Author:
tiry

Constructor Summary
StringMaker()
           
 
Method Summary
static String getTileFileName(int x, int y, long lastModificationDate)
           
static String getTileFileName(int x, int y, String prefix, String suffix, long lastModificationTime)
           
static String getTileFormatString(int tileWidth, int tileHeight, int maxTiles)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringMaker

public StringMaker()
Method Detail

getTileFormatString

public static String getTileFormatString(int tileWidth,
                                         int tileHeight,
                                         int maxTiles)

getTileFileName

public static String getTileFileName(int x,
                                     int y,
                                     String prefix,
                                     String suffix,
                                     long lastModificationTime)

getTileFileName

public static String getTileFileName(int x,
                                     int y,
                                     long lastModificationDate)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.