org.weborganic.bastille.flint.helpers
Class Etags

java.lang.Object
  extended by org.weborganic.bastille.flint.helpers.Etags

public final class Etags
extends Object

A utility class to generate etags for the generators.

Since:
0.8.6

Method Summary
static String getETag(String name)
          Returns the etag for the given index name based on the last modified date of the index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getETag

public static String getETag(String name)
Returns the etag for the given index name based on the last modified date of the index.

If there is a single index, the name is ignored.

If there are multiple indexes, no name is

Parameters:
name - The name of the index (optional)
Returns:
The corresponding etag