|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.blogspot.applications4android.comicreader.core.ImageType
public class ImageType
Class to read an image file and determine the type of image
Nested Class Summary | |
---|---|
static class |
ImageType.Types
List of all images currently supported. |
Method Summary | |
---|---|
static ImageType.Types |
getImageType(java.io.InputStream is)
Given a file pointer, returns the image type |
static ImageType.Types |
getImageType(java.lang.String imgFile)
Read the file header to determine the image type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ImageType.Types getImageType(java.lang.String imgFile)
imgFile
- image file
public static ImageType.Types getImageType(java.io.InputStream is) throws java.io.IOException, java.lang.Exception
fis
- file pointer
java.io.IOException
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |