2 |
|
|
3 |
package org.fenfire.spanimages.gl; |
package org.fenfire.spanimages.gl; |
4 |
import java.io.File; |
import java.io.File; |
5 |
|
import org.nongnu.alph.*; |
6 |
|
|
7 |
/** Base class for the classes holding scrollblock images. |
/** Base class for the classes holding scrollblock images. |
8 |
* Contains some necessary trappings. |
* Contains some necessary trappings. |
18 |
|
|
19 |
/** Hide the slash and colon characters from the filesystem. |
/** Hide the slash and colon characters from the filesystem. |
20 |
*/ |
*/ |
21 |
static private String protectChars(String s) { |
static protected String protectChars(String s) { |
22 |
StringBuffer res = new StringBuffer(); |
StringBuffer res = new StringBuffer(); |
23 |
for(int i=0; i<s.length(); i++) { |
for(int i=0; i<s.length(); i++) { |
24 |
char c = s.charAt(i); |
char c = s.charAt(i); |
30 |
} |
} |
31 |
return res.toString(); |
return res.toString(); |
32 |
} |
} |
33 |
|
|
34 |
|
public abstract SingleImage getSingleImage(ImageSpan img) ; |
35 |
|
|
36 |
} |
} |