OOP ImageUtil Version 1.2
C F G I J N P R S T U

C

com.bentofw.imageutil - package com.bentofw.imageutil
Create BufferedImage object from the binary contents, and scale down the image to fit within the specified width/height.
com.bentofw.util - package com.bentofw.util
The classes and interfaces required for APIs by OOP-Research.

F

FailedToReadBinaryException - Exception in com.bentofw.imageutil
Thrown by ImageUtil while reading the binary contents.
FailedToReadBinaryException(String) - Constructor for exception com.bentofw.imageutil.FailedToReadBinaryException
 

G

getFileName() - Method in exception com.bentofw.imageutil.FailedToReadBinaryException
Return the file name of the uploaded file.
getFileName() - Method in exception com.bentofw.imageutil.UnsupportedMimeTypeException
Return the file name of the uploaded file.
getInstance() - Static method in class com.bentofw.imageutil.ImageUtil
Returns ImageUtil object.
getMessage() - Method in exception com.bentofw.imageutil.FailedToReadBinaryException
 
getMessage() - Method in exception com.bentofw.imageutil.UnsupportedMimeTypeException
 
getMessage() - Method in exception com.bentofw.util.NestedException
Returns the error message of original Throwable.
getMimeType(String) - Method in class com.bentofw.imageutil.ImageUtil
Return the int that indicates the mime-type of the specified file name.
getOriginal() - Method in exception com.bentofw.util.NestedException
Returns the original Throwable.
GIF - Static variable in class com.bentofw.imageutil.ImageUtil
 

I

ImageUtil - Class in com.bentofw.imageutil
Create BufferedImage object from the binary contents, and scale down the image to fit within the specified width/height.

J

JPEG - Static variable in class com.bentofw.imageutil.ImageUtil
 

N

NestedException - Exception in com.bentofw.util
The exception for the system error.
NestedException(Throwable) - Constructor for exception com.bentofw.util.NestedException
The custructor.
NoPropertyFileException - Exception in com.bentofw.util
This exception will be thrown when the required property file is not found.
NoPropertyFileException(String) - Constructor for exception com.bentofw.util.NoPropertyFileException
The custructor.

P

PNG - Static variable in class com.bentofw.imageutil.ImageUtil
 
printStackTrace() - Method in exception com.bentofw.util.NestedException
Print this Throwable and its backtrace to the standard error stream.
printStackTrace(PrintStream) - Method in exception com.bentofw.util.NestedException
Print this Throwable and its backtrace to the specified PrintStream.
printStackTrace(PrintWriter) - Method in exception com.bentofw.util.NestedException
Print this Throwable and its backtrace to the specified PrintWriter.

R

readBinary(byte[], String) - Method in class com.bentofw.imageutil.ImageUtil
Parse the specified binary contents and create the BufferedImage object.

S

scale(BufferedImage, double, double) - Method in class com.bentofw.imageutil.ImageUtil
If the specified BufferedImage is wider/taller than the specified width/height, the image will be scaled down to fit within the specified width/height.
SimpleException - Exception in com.bentofw.util
The exception for the logical error.
SimpleException(String) - Constructor for exception com.bentofw.util.SimpleException
The custructor.

T

toGif(BufferedImage) - Method in class com.bentofw.imageutil.ImageUtil
Convert the BufferedImage object into the byte array that represents the GIF file.
toJpeg(BufferedImage) - Method in class com.bentofw.imageutil.ImageUtil
Convert the BufferedImage object into the byte array that represents the JPEG file.
toPng(BufferedImage) - Method in class com.bentofw.imageutil.ImageUtil
Convert the BufferedImage object into the byte array that represents the PNG file.
toWbmp(BufferedImage) - Method in class com.bentofw.imageutil.ImageUtil
Convert the BufferedImage object into the byte array that represents the WBMP file.

U

UNSUPPORTED - Static variable in class com.bentofw.imageutil.ImageUtil
 
UnsupportedMimeTypeException - Exception in com.bentofw.imageutil
Thrown by ImageUtil if the mime-type is not supported.
UnsupportedMimeTypeException(String) - Constructor for exception com.bentofw.imageutil.UnsupportedMimeTypeException
 

C F G I J N P R S T U
OOP ImageUtil Version 1.2

ALL CONTENTS COPYRIGHT 2006, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.