Nuxeo Enterprise Platform 5.4

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 java.lang.Object

Simple helper to generate the directory names in the cache structure

Author:
tiry

Constructor Summary
StringMaker()
           
 
Method Summary
static java.lang.String getTileFileName(int x, int y, long lastModificationDate)
           
static java.lang.String getTileFileName(int x, int y, java.lang.String prefix, java.lang.String suffix, long lastModificationTime)
           
static java.lang.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 java.lang.String getTileFormatString(int tileWidth,
                                                   int tileHeight,
                                                   int maxTiles)

getTileFileName

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

getTileFileName

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.