|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.yam.convert.JSPWikiToYamConverter
public class JSPWikiToYamConverter
Convert JSPWiki syntax to YAM.
| Constructor Summary | |
|---|---|
JSPWikiToYamConverter()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Run the JSPWikiToYamConverter, translating the files specified on the command line from JSPWiki to YAM format. |
static String |
readerToString(Reader jspReader)
Converts text in JSPWiki format to YAM format. |
static String |
readerToStringWithTitle(Reader jspReader,
String title)
Converts text in JSPWiki format to YAM format, adding the given title to the document. |
static String |
stringToString(String jspWikiSource)
Converts a JSPWiki page into YAM format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSPWikiToYamConverter()
| Method Detail |
|---|
public static String stringToString(String jspWikiSource)
throws TransformerException,
IOException
jspWikiSource - the String representing the JSPWiki content
TransformerException - if problems occurred while performing the XSL
transformation
IOException - if problems occurred while parsing the JSPWiki format
public static String readerToString(Reader jspReader)
throws TransformerException,
IOException
jspReader - a reader that provides the JSPWiki content
TransformerException
IOException
public static String readerToStringWithTitle(Reader jspReader,
String title)
throws TransformerException,
IOException
jspReader - a reader that provides the JSPWiki contenttitle - the title to give the YAM document
TransformerException
IOExceptionpublic static void main(String[] args)
args - (JSPWiki file | JSPWiki directory) [output directory]
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||