org.nuiton.jrst
Class JRST

java.lang.Object
  extended by org.nuiton.jrst.JRST

public class JRST
extends Object

FIXME: 'JRST --help' doesn't work, but 'JRST --help toto' work :( FIXME: 'JRST -c' doesn't work, but 'JRST -c toto' Created: 3 nov. 06 20:56:00

Version:
$Revision: 393 $ Last update: $Date: 2009-08-16 14:07:32 +0200 (dim., 16 août 2009) $ by : $Author: tchemit $
Author:
poussin

Nested Class Summary
static interface JRST.JRSTOption
          Les options
static class JRST.Overwrite
           
 
Field Summary
protected static String docbook2fo
          XSL Stylesheet to transform Docbook into PDF.
protected static String docbook2htmlhelp
          XSL Stylesheet to transform Docbook into htmlhelp.
protected static String docbook2javahelp
          XSL Stylesheet to transform Docbook into javahelp.
protected static String docbook2odf
          XSL Stylesheet to transform Docbook into ODF.
protected static String docbook2xhtml
          XSL Stylesheet to transform Docbook into xHTML.
protected static org.apache.commons.logging.Log log
          to use log facility, just put in your code: log.info("
protected static String rst2docbook
          XSL Stylesheet to transform RST into Docbook.
protected static String rst2xdoc
          XSL Stylesheet to transform RST into Xdoc.
protected static String rst2xhtml
          XSL Stylesheet to transform RST into HTML.
protected static Map<String,String> stylesheets
          key, Out type; value: chain of XSL file to provide wanted file for output
static String TYPE_DOCBOOK
          DOCBOOK output format type
static String TYPE_FO
          FO output format type
static String TYPE_HTML
          HTML output format type
static String TYPE_HTMLHELP
          HTML HELP output format type
static String TYPE_JAVAHELP
          JAVA HELP output format type
static String TYPE_ODT
          ODT output format type
static String TYPE_PDF
          PDF output format type
static String TYPE_RST
          RST output format type
static String TYPE_XDOC
          XDOC output format type
static String TYPE_XHTML
          XHTML output format type
 
Constructor Summary
JRST()
           
 
Method Summary
static void generate(String xslListOrOutType, File fileIn, File fileOut, JRST.Overwrite overwrite)
           
static void generate(String xslListOrOutType, File fileIn, String inputEncoding, File fileOut, String outputEncoding, JRST.Overwrite overwrite)
           
static String lire()
          lit une ligne
static String lireFile(boolean enreg, boolean exit)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
to use log facility, just put in your code: log.info("...");


rst2xhtml

protected static final String rst2xhtml
XSL Stylesheet to transform RST into HTML.

See Also:
Constant Field Values

rst2xdoc

protected static final String rst2xdoc
XSL Stylesheet to transform RST into Xdoc.

See Also:
Constant Field Values

rst2docbook

protected static final String rst2docbook
XSL Stylesheet to transform RST into Docbook.

See Also:
Constant Field Values

docbook2xhtml

protected static final String docbook2xhtml
XSL Stylesheet to transform Docbook into xHTML.

See Also:
Constant Field Values

docbook2javahelp

protected static final String docbook2javahelp
XSL Stylesheet to transform Docbook into javahelp.

See Also:
Constant Field Values

docbook2htmlhelp

protected static final String docbook2htmlhelp
XSL Stylesheet to transform Docbook into htmlhelp.

See Also:
Constant Field Values

docbook2odf

protected static final String docbook2odf
XSL Stylesheet to transform Docbook into ODF.

See Also:
Constant Field Values

docbook2fo

protected static final String docbook2fo
XSL Stylesheet to transform Docbook into PDF.

See Also:
Constant Field Values

TYPE_HTML

public static final String TYPE_HTML
HTML output format type

See Also:
Constant Field Values

TYPE_XDOC

public static final String TYPE_XDOC
XDOC output format type

See Also:
Constant Field Values

TYPE_DOCBOOK

public static final String TYPE_DOCBOOK
DOCBOOK output format type

See Also:
Constant Field Values

TYPE_XHTML

public static final String TYPE_XHTML
XHTML output format type

See Also:
Constant Field Values

TYPE_JAVAHELP

public static final String TYPE_JAVAHELP
JAVA HELP output format type

See Also:
Constant Field Values

TYPE_HTMLHELP

public static final String TYPE_HTMLHELP
HTML HELP output format type

See Also:
Constant Field Values

TYPE_RST

public static final String TYPE_RST
RST output format type

See Also:
Constant Field Values

TYPE_ODT

public static final String TYPE_ODT
ODT output format type

See Also:
Constant Field Values

TYPE_FO

public static final String TYPE_FO
FO output format type

See Also:
Constant Field Values

TYPE_PDF

public static final String TYPE_PDF
PDF output format type

See Also:
Constant Field Values

stylesheets

protected static Map<String,String> stylesheets
key, Out type; value: chain of XSL file to provide wanted file for output

Constructor Detail

JRST

public JRST()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Parameters:
args -
Throws:
Exception

lire

public static String lire()
lit une ligne

Returns:
String

lireFile

public static String lireFile(boolean enreg,
                              boolean exit)
                       throws IOException
Throws:
IOException

generate

public static void generate(String xslListOrOutType,
                            File fileIn,
                            File fileOut,
                            JRST.Overwrite overwrite)
                     throws Exception
Throws:
Exception

generate

public static void generate(String xslListOrOutType,
                            File fileIn,
                            String inputEncoding,
                            File fileOut,
                            String outputEncoding,
                            JRST.Overwrite overwrite)
                     throws Exception
Parameters:
xslListOrOutType -
fileIn -
inputEncoding -
fileOut -
outputEncoding -
overwrite -
Throws:
Exception


Copyright © 2004-2010 CodeLutin. All Rights Reserved.