Package org.apache.maven.doxia.wrapper

Examples of org.apache.maven.doxia.wrapper.OutputFileWrapper


            log.setLogLevel( Log.LEVEL_DEBUG );
        }
        converter.enableLogging( log );

        InputFileWrapper input;
        OutputFileWrapper output;
        try
        {
            input =
                InputFileWrapper.valueOf( commandLine.getOptionValue( CLIManager.IN ),
                                          commandLine.getOptionValue( CLIManager.FROM ),
View Full Code Here


        String out = getBasedir() + "/target/unit/";
        String to = "apt";

        InputFileWrapper input =
            InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
        OutputFileWrapper output =
            OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );

        converter.setFormatOutput( formatOutput );
        converter.convert( input, output );
        assertTrue( new File( out, "Doxia.htm.apt" ).exists() );
View Full Code Here

        String out = getBasedir() + "/target/unit/Doxia.apt";
        String to = "apt";

        InputFileWrapper input =
            InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
        OutputFileWrapper output =
            OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );

        converter.setFormatOutput( formatOutput );
        converter.convert( input, output );
        assertTrue( new File( out ).exists() );
View Full Code Here

        String out = getBasedir() + "/target/unit/file/apt/test.apt.xhtml";
        String to = "xhtml";

        InputFileWrapper input =
            InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
        OutputFileWrapper output =
            OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );

        converter.setFormatOutput( formatOutput );
        converter.convert( input, output );
        assertTrue( new File( out ).exists() );
View Full Code Here

        String out = getBasedir() + "/target/unit/file/confluence/test.confluence.xhtml";
        String to = "xhtml";

        InputFileWrapper input =
            InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
        OutputFileWrapper output =
            OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );

        converter.setFormatOutput( formatOutput );
        converter.convert( input, output );
        assertTrue( new File( out ).exists() );
View Full Code Here

        String out = getBasedir() + "/target/unit/file/docbook/test.docbook.xhtml";
        String to = "xhtml";

        InputFileWrapper input =
            InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
        OutputFileWrapper output =
            OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );

        converter.setFormatOutput( formatOutput );
        converter.convert( input, output );
        assertTrue( new File( out ).exists() );
View Full Code Here

        String out = getBasedir() + "/target/unit/file/fml/test.fml.xhtml";
        String to = "xhtml";

        InputFileWrapper input =
            InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
        OutputFileWrapper output =
            OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );

        converter.setFormatOutput( formatOutput );
        converter.convert( input, output );
        assertTrue( new File( out ).exists() );
View Full Code Here

        String out = getBasedir() + "/target/unit/file/twiki/test.twiki.xhtml";
        String to = "xhtml";

        InputFileWrapper input =
            InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
        OutputFileWrapper output =
            OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );

        converter.setFormatOutput( formatOutput );
        converter.convert( input, output );
        assertTrue( new File( out ).exists() );
View Full Code Here

        String out = getBasedir() + "/target/unit/file/xdoc/test.xdoc.xhtml";
        String to = "xhtml";

        InputFileWrapper input =
            InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
        OutputFileWrapper output =
            OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );

        converter.setFormatOutput( formatOutput );
        converter.convert( input, output );
        assertTrue( new File( out ).exists() );
View Full Code Here

        String out = getBasedir() + "/target/unit/file/xhtml/test.xhtml.xhtml";
        String to = "xhtml";

        InputFileWrapper input =
            InputFileWrapper.valueOf( in, from, ReaderFactory.UTF_8, converter.getInputFormats() );
        OutputFileWrapper output =
            OutputFileWrapper.valueOf( out, to, WriterFactory.UTF_8, converter.getOutputFormats() );

        converter.setFormatOutput( formatOutput );
        converter.convert( input, output );
        assertTrue( new File( out ).exists() );
View Full Code Here

TOP

Related Classes of org.apache.maven.doxia.wrapper.OutputFileWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.