Class ImageFile

java.lang.Object
  |
  +--ImageFile
All Implemented Interfaces:
java.io.Serializable

public class ImageFile
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  java.io.File base
           
static int cancelcnt
           
static java.lang.String cookprefix
           
static java.io.File deltanew
           
static java.io.File deltaold
           
static java.util.WeakHashMap files
           
(package private)  java.lang.ref.SoftReference image
           
static int maxcancels
           
static java.io.File newbase
           
static boolean newread
           
static boolean newwrite
           
private static long serialVersionUID
           
(package private)  java.io.File source
           
(package private)  java.io.File zip
           
 
Constructor Summary
private ImageFile()
           
 
Method Summary
 ImageFile canonical()
           
 void changename(java.io.File newsource)
           
 boolean check(java.io.File filebase, java.util.zip.ZipFile filezip)
           
static void fileSave(Carto carto)
           
static void flushImages()
           
 java.awt.Image getCooked()
           
 java.io.File getCookedPath()
           
 java.io.File getFile()
           
 java.awt.Image getImage()
           
static ImageFile getImageFile(java.io.File source, java.io.File base)
           
private  java.lang.Object readResolve()
           
 void saveCooked(java.awt.image.BufferedImage cooked)
           
static void zipSave(java.util.zip.ZipOutputStream zout, Carto carto, java.io.File backsource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

cookprefix

public static java.lang.String cookprefix

files

public static java.util.WeakHashMap files

image

transient java.lang.ref.SoftReference image

source

java.io.File source

base

java.io.File base

zip

java.io.File zip

newbase

public static java.io.File newbase

newread

public static boolean newread

newwrite

public static boolean newwrite

cancelcnt

public static int cancelcnt

maxcancels

public static int maxcancels

deltaold

public static java.io.File deltaold

deltanew

public static java.io.File deltanew
Constructor Detail

ImageFile

private ImageFile()
Method Detail

getImageFile

public static ImageFile getImageFile(java.io.File source,
                                     java.io.File base)

flushImages

public static void flushImages()

readResolve

private java.lang.Object readResolve()
                              throws java.io.IOException,
                                     java.io.ObjectStreamException
java.io.IOException
java.io.ObjectStreamException

canonical

public ImageFile canonical()

getFile

public java.io.File getFile()

zipSave

public static void zipSave(java.util.zip.ZipOutputStream zout,
                           Carto carto,
                           java.io.File backsource)

fileSave

public static void fileSave(Carto carto)

changename

public void changename(java.io.File newsource)

check

public boolean check(java.io.File filebase,
                     java.util.zip.ZipFile filezip)

getImage

public java.awt.Image getImage()

getCookedPath

public java.io.File getCookedPath()

getCooked

public java.awt.Image getCooked()

saveCooked

public void saveCooked(java.awt.image.BufferedImage cooked)
                throws CookKillException
CookKillException