|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grelf.image.ImageLoader
public class ImageLoader
Loads images from files.
| Constructor Summary | |
|---|---|
ImageLoader()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getFormat(java.lang.String filename)
Get the format name as used by ImageIO readers, from the file extension. |
static Image |
load(java.io.File file)
Load the first image in the file and, if available, its metadata. |
static Image |
load(java.lang.String imFilePath)
Load the first image in the file and, if available, its metadata. |
static java.util.List<Image> |
loadAll(java.io.File file)
For cases where the file may contain more than one image, load all of them. |
static java.util.List<Image> |
loadAll(java.lang.String imFilePath)
For cases where the file may contain more than one image, load all of them. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageLoader()
| Method Detail |
|---|
public static java.lang.String getFormat(java.lang.String filename)
public static Image load(java.lang.String imFilePath)
public static Image load(java.io.File file)
public static java.util.List<Image> loadAll(java.lang.String imFilePath)
public static java.util.List<Image> loadAll(java.io.File file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||