28 |
import java.io.File; |
import java.io.File; |
29 |
import org.nongnu.alph.*; |
import org.nongnu.alph.*; |
30 |
|
|
31 |
/** Base class for the classes holding scrollblock images. |
/** Base class for the classes that create scrollblock images. |
|
* Contains some necessary trappings. |
|
32 |
* The getSingleImage method should only be called with |
* The getSingleImage method should only be called with |
33 |
* entire image spans, i.e. objects obtained |
* entire image spans, i.e. objects obtained |
34 |
* from imageSpan.getSuperImageSpan(), to allow proper caching. |
* from imageSpan.getSuperImageSpan(), to allow proper caching. |
35 |
|
* <p> |
36 |
|
* This class contains some necessary trappings for handling the temporary |
37 |
|
* images: the temporary directory and a method to munge strings |
38 |
|
* to fit the filesystem. |
39 |
*/ |
*/ |
40 |
public abstract class ScrollBlockImager { |
public abstract class ScrollBlockImager { |
41 |
/** The directory to store the cached images in (in mipzip format). |
/** The directory to store the cached images in (in mipzip format). |