public abstract class ThemeConverter
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
ThemeConverter(java.lang.String prefix,
java.lang.String suffix) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getCurrentOutputDirectory() |
protected java.io.File |
getSkinDirectory() |
protected abstract java.lang.String |
handleImage(java.lang.String path,
int index,
int count,
java.lang.String outputname) |
protected abstract java.lang.String |
handleProperty(java.lang.String path) |
protected java.lang.String |
paramString() |
protected java.lang.String |
parseLine(java.lang.String line) |
protected java.lang.String |
parseTag(java.lang.String tag) |
void |
process() |
protected void |
processTemplate(java.io.InputStream template,
java.io.OutputStream output) |
void |
setCurrentOutputDirectory(java.io.File directory) |
void |
setSkinDirectory(java.io.File directory) |
java.lang.String |
toString() |
protected ThemeConverter(java.lang.String prefix, java.lang.String suffix)
public void setSkinDirectory(java.io.File directory)
protected java.io.File getSkinDirectory()
public void setCurrentOutputDirectory(java.io.File directory)
public java.io.File getCurrentOutputDirectory()
public void process() throws java.lang.Exception
java.lang.Exception
protected void processTemplate(java.io.InputStream template, java.io.OutputStream output) throws java.lang.Exception
java.lang.Exception
protected java.lang.String parseLine(java.lang.String line) throws java.lang.Exception
java.lang.Exception
protected java.lang.String parseTag(java.lang.String tag) throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.String handleImage(java.lang.String path, int index, int count, java.lang.String outputname) throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.String handleProperty(java.lang.String path) throws java.lang.Exception
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String paramString()