public final class ThumbnailUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
expire(java.io.File file,
long currentTimeSeconds,
long seconds,
boolean checkOnly)
Expire thumbnails if older than a certain age.
|
static void |
expire(int seconds,
boolean checkOnly)
Expire all thumbnails older than a certain age.
|
static ConstNode |
getNode(ConstGameTree tree)
Get a node from the tree to be used for the thumbnail.
|
static ConstBoard |
getPosition(ConstGameTree tree)
Get a position from the tree to be used for the thumbnail.
|
public static void expire(int seconds, boolean checkOnly)
public static void expire(java.io.File file, long currentTimeSeconds, long seconds, boolean checkOnly)
public static ConstNode getNode(ConstGameTree tree)
public static ConstBoard getPosition(ConstGameTree tree)
#getPosition()