public final static String process(final Reader reader, final Configuration configuration) throws IOException
    {
        final Processor p = new Processor(!(reader instanceof BufferedReader) ? new BufferedReader(reader) : reader,
                configuration);
        return p.process();
    }
public final static String process ( final Reader reader , final Configuration configuration ) throws IOException { final Processor p = new Processor ( ! ( reader instanceof BufferedReader ) ? new BufferedReader ( reader ) : reader , configuration ) ; return p . process ( ) ; }
Transforms an input stream into HTML using the given Configuration.

@param reader
The Reader to process.
@param configuration
The Configuration.
@return The processed String.
@throws IOException
if an IO error occurs
@since 0.7
@see Configuration