|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.arsdigita.acs.ImageSize
Utility class for getting the width and height of images for uploaded files. This code was derived from AOLServer 3.0, tclmisc.c. The terms of the GNU Public License apply.
| Field Summary | |
(package private) static int |
M_COM
|
(package private) static int |
M_EOI
|
(package private) static int |
M_SOF0
|
(package private) static int |
M_SOF1
|
(package private) static int |
M_SOF10
|
(package private) static int |
M_SOF11
|
(package private) static int |
M_SOF13
|
(package private) static int |
M_SOF14
|
(package private) static int |
M_SOF15
|
(package private) static int |
M_SOF2
|
(package private) static int |
M_SOF3
|
(package private) static int |
M_SOF5
|
(package private) static int |
M_SOF6
|
(package private) static int |
M_SOF7
|
(package private) static int |
M_SOF9
|
(package private) static int |
M_SOI
|
(package private) static int |
M_SOS
|
| Constructor Summary | |
ImageSize(String fileName)
|
|
| Method Summary | |
int |
getHeight()
|
int |
getWidth()
|
void |
initGif(File f)
|
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
static final int M_SOF0
static final int M_SOF1
static final int M_SOF2
static final int M_SOF3
static final int M_SOF5
static final int M_SOF6
static final int M_SOF7
static final int M_SOF9
static final int M_SOF10
static final int M_SOF11
static final int M_SOF13
static final int M_SOF14
static final int M_SOF15
static final int M_SOI
static final int M_EOI
static final int M_SOS
static final int M_COM
| Constructor Detail |
public ImageSize(String fileName)
throws IOException
| Method Detail |
public void initGif(File f)
throws IOException
public int getWidth()
public int getHeight()
public static void main(String[] args)
throws Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||