/[fenfire]/fenfire/org/fenfire/spanimages/gl/ScrollBlockImager.java
ViewVC logotype

Diff of /fenfire/org/fenfire/spanimages/gl/ScrollBlockImager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by tjl, Mon Jun 23 14:00:36 2003 UTC revision 1.5 by tjl, Wed Nov 5 10:25:52 2003 UTC
# Line 30  import org.nongnu.alph.*; Line 30  import org.nongnu.alph.*;
30    
31  /** Base class for the classes holding scrollblock images.  /** Base class for the classes holding scrollblock images.
32   * Contains some necessary trappings.   * Contains some necessary trappings.
33     * The getSingleImage method should only be called with
34     * entire image spans, i.e. objects obtained
35     * from imageSpan.getSuperImageSpan(), to allow proper caching.
36   */   */
37  public abstract class ScrollBlockImager {  public abstract class ScrollBlockImager {
38      static File __tmp = new File("./tmpimg");      /** The directory to store the cached images in (in mipzip format).
39         */
40        static private File __tmp = new File("./tmpimg");
41    
42        /** Get the directory to store the cached images in (in mipzip format).
43         */
44      static File tmp() {      static File tmp() {
45          if(!__tmp.exists())          if(!__tmp.exists())
46              __tmp.mkdir();              __tmp.mkdir();
# Line 55  public abstract class ScrollBlockImager Line 62  public abstract class ScrollBlockImager
62          return res.toString();          return res.toString();
63      }      }
64    
65      public abstract SingleImage getSingleImage(ImageSpan img, PoolManager poolManager) ;      public abstract SingleImage getSingleImage(ImageSpan img) ;
66    
67  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26