|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.coobird.thumbnailator.Rename
public abstract class Rename
This class is used to rename file names.
| Field Summary | |
|---|---|
static Rename |
NO_CHANGE
A Rename which does not alter the given file name. |
static Rename |
PREFIX_DOT_THUMBNAIL
Appends thumbnail. to the beginning of the file name. |
static Rename |
PREFIX_HYPTHEN_THUMBNAIL
Appends thumbnail- to the beginning of the file name. |
static Rename |
SUFFIX_DOT_THUMBNAIL
Appends .thumbnail to the file name prior to the extension of
the file. |
static Rename |
SUFFIX_HYPTHEN_THUMBNAIL
Appends -thumbnail to the file name prior to the extension of
the file. |
| Method Summary | |
|---|---|
abstract String |
apply(String name)
Applies the function performed by this Rename on the
specified name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Rename NO_CHANGE
Rename which does not alter the given file name.
picture.jpgpicture.jpg
public static final Rename PREFIX_DOT_THUMBNAIL
thumbnail. to the beginning of the file name.
picture.jpgthumbnail.picture.jpg
public static final Rename PREFIX_HYPTHEN_THUMBNAIL
thumbnail- to the beginning of the file name.
picture.jpgthumbnail-picture.jpg
public static final Rename SUFFIX_DOT_THUMBNAIL
.thumbnail to the file name prior to the extension of
the file.
picture.jpgpicture.thumbnail.jpg
public static final Rename SUFFIX_HYPTHEN_THUMBNAIL
-thumbnail to the file name prior to the extension of
the file.
picture.jpgpicture-thumbnail.jpg
| Method Detail |
|---|
public abstract String apply(String name)
Rename on the
specified name.
name - Name to apply the function on.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||