DEXTUploadJ
DEXTUploadJ References > ImageTool > Method > getImageTool
getImageTool Method
- Version
- 1.0.1.0
- Environment
- Sun JDK1.4
- Target
- ImageTool
- Signature 1
- public static ImageTool getImageTool(java.lang.String _ImageFilePath)
- Signature 2
- public static ImageTool getImageTool(java.io.File _ImageFile)
- Parameters
-
Name Signature Description _ImageFilePath java.lang.String Route of image file to be used _ImageFile java.io.File Route of image file to be used - Return value
- Generated ImageTool object, return null if incorrect file
- Throws
- DEXTUploadException
- java.io.IOException
- Description
-
Generate ImageTool object based on inputted image file. Return null if assigned file is incorrect.
- Usage (Signature1)
-
ImageTool image = ImageTool.getImageTool(strPath);
- Usage (Signature2)
-
ImageTool image = ImageTool.getImageTool(file);