|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jomic.comic.ComicModel
public class ComicModel
Representation of a comic book.
Constructor Summary | |
---|---|
ComicModel(java.io.File newArchive)
Creates ComicModel from newArchive. |
|
ComicModel(java.io.File newComicArchiveFile,
ProgressFrame newProgressFrame)
Creates ComicModel from newArchive. |
Method Summary | |
---|---|
void |
check(javax.swing.JProgressBar bar)
Attempt to extract and parse all images. |
void |
dispose()
Release all resources related to the comic. |
java.io.File |
getCacheDir()
Get directory where extracted copies of images are stored. |
ComicImage |
getComicImage(int index)
Get ComicImage at index. |
java.awt.image.RenderedImage |
getImage(int index)
Get image at index. |
int |
getImageCount()
Get number of images. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComicModel(java.io.File newArchive) throws java.io.IOException, java.lang.InterruptedException
newArchive
- Description of the parameter
java.io.IOException
- Description of the exception
java.lang.InterruptedException
- Description of the exceptionpublic ComicModel(java.io.File newComicArchiveFile, ProgressFrame newProgressFrame) throws java.io.IOException, java.lang.InterruptedException
newComicArchiveFile
- Description of the parameternewProgressFrame
- Description of the parameter
java.io.IOException
- Description of the exception
java.lang.InterruptedException
- Description of the exceptionMethod Detail |
---|
public final java.awt.image.RenderedImage getImage(int index)
getComicImage(int)
public final int getImageCount()
public java.io.File getCacheDir()
public ComicImage getComicImage(int index)
getImage(int)
public final void dispose()
public void check(javax.swing.JProgressBar bar)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |