Package | Description |
---|---|
gallery.admin |
Provides the Controllers for the JSF pages.
|
gallery.beans |
Provides the Enterprise Java Beans.
|
gallery.database.entities |
Provides the database Entities used by an ORM.
|
gallery.enums |
Enumerated types
|
gallery.images |
General IO operations.
|
gallery.servlets |
Servlets
|
Modifier and Type | Method and Description |
---|---|
ImageAngle[] |
PhotographController.getAngles() |
Modifier and Type | Method and Description |
---|---|
ImageAngle |
PhotographBean.getAngle(java.lang.Long id) |
Modifier and Type | Method and Description |
---|---|
ImageAngle |
Photograph.getAngle()
Indicates the angle at which the picture was taken.
|
Modifier and Type | Method and Description |
---|---|
void |
Photograph.setAngle(ImageAngle angle)
Sets the angle of the photograph.
|
Modifier and Type | Method and Description |
---|---|
static ImageAngle |
ImageAngle.getAngle(java.lang.Integer angle)
Retrieves the enum corresponding to the image angle as stored
in the picture.
|
static ImageAngle |
ImageAngle.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageAngle[] |
ImageAngle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ImageAngle |
ImageOperations.getAngle(java.io.File jpegFile)
Returns the angle stored in the jpeg file.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
ImageOperations.rotate(java.awt.image.BufferedImage originalImage,
ImageAngle imageAngle)
Rotate an image with the appropriate angle.
|
Modifier and Type | Method and Description |
---|---|
static void |
FileOperations.outputImage(java.io.File file,
javax.servlet.ServletOutputStream outputStream,
java.lang.String size,
ImageAngle angle)
Writes an image to the outputStream that has been scaled appropriately and angled.
|