public class ImageInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
COLOR_SPACE |
static String |
DEPTH |
static String |
FORMAT |
static String |
HEIGHT |
static String |
WIDTH |
Constructor and Description |
---|
ImageInfo() |
ImageInfo(String width,
String height,
String format,
String filePath) |
ImageInfo(String width,
String height,
String format,
String depth,
String filePath) |
ImageInfo(String width,
String height,
String format,
String depth,
String colorSpace,
String filePath) |
Modifier and Type | Method and Description |
---|---|
static ImageInfo |
fromMap(Map<String,Serializable> map) |
String |
getColorSpace() |
int |
getDepth() |
File |
getFile() |
String |
getFilePath() |
String |
getFormat() |
int |
getHeight() |
int |
getWidth() |
void |
setColorSpace(String colorSpace) |
void |
setDepth(int depth) |
void |
setFormat(String format) |
void |
setHeight(int height) |
void |
setWidth(int width) |
Map<String,Serializable> |
toMap()
Returns a
Map of attributes for this ImageInfo . |
String |
toString() |
public static final String WIDTH
public static final String HEIGHT
public static final String DEPTH
public static final String FORMAT
public static final String COLOR_SPACE
public ImageInfo()
public ImageInfo(String width, String height, String format, String depth, String filePath)
public static ImageInfo fromMap(Map<String,Serializable> map)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public String getFormat()
public void setFormat(String format)
public String getFilePath()
public File getFile()
public int getDepth()
public void setDepth(int depth)
public String getColorSpace()
public void setColorSpace(String colorSpace)
public Map<String,Serializable> toMap()
Map
of attributes for this ImageInfo
.
Used when saving this ImageInfo
to a DocumentModel
property.
Copyright © 2015 Nuxeo SA. All rights reserved.