|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springbyexample.util.image.ImageProcessorImpl
public class ImageProcessorImpl
Image processor.
Field Summary | |
---|---|
protected int |
imageScaleWidth
|
Constructor Summary | |
---|---|
ImageProcessorImpl()
|
Method Summary | |
---|---|
int |
getImageScaleWidth()
Gets image width for scaling. |
protected BufferedImage |
processImageScaling(BufferedImage image)
Creates a scaled new file. |
void |
scaleImage(File imageFile,
File newImageFile)
Creates a scaled new file. |
void |
scaleImage(InputStream in,
OutputStream out,
String formatName)
Creates a scaled new file. |
void |
setImageScaleWidth(int imageScaleWidth)
Sets image width for scaling. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int imageScaleWidth
Constructor Detail |
---|
public ImageProcessorImpl()
Method Detail |
---|
public int getImageScaleWidth()
getImageScaleWidth
in interface ImageProcessor
public void setImageScaleWidth(int imageScaleWidth)
setImageScaleWidth
in interface ImageProcessor
public void scaleImage(File imageFile, File newImageFile) throws IOException
scaleImage
in interface ImageProcessor
IOException
public void scaleImage(InputStream in, OutputStream out, String formatName) throws IOException
scaleImage
in interface ImageProcessor
IOException
protected BufferedImage processImageScaling(BufferedImage image) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |