- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 27 of file ImageFile.java.
◆ ImageFile()
org.turro.file.ImageFile.ImageFile |
( |
File |
file | ) |
|
◆ getThumb()
File org.turro.file.ImageFile.getThumb |
( |
| ) |
|
Definition at line 33 of file ImageFile.java.
34 File thumb =
new File(
35 FileUtil.getParentPath(
file.getAbsolutePath()) +
36 "/thumbs/" + FileUtil.getBaseName(
file) +
".png"
◆ isMyType()
static boolean org.turro.file.ImageFile.isMyType |
( |
File |
file | ) |
|
|
static |
Definition at line 44 of file ImageFile.java.
45 String ext = FileUtil.getExtension(
file);
46 return "gif".equalsIgnoreCase(ext) ||
47 "jpg".equalsIgnoreCase(ext) ||
48 "jpeg".equalsIgnoreCase(ext) ||
49 "png".equalsIgnoreCase(ext);
The documentation for this class was generated from the following file: