org.w3c.tidy
Class OutFactory

java.lang.Object
  extended by org.w3c.tidy.OutFactory

public final class OutFactory
extends java.lang.Object

Tidy Output factory.

Version:
$Revision: 807 $ ($Author: fgiust $)
Author:
Fabrizio Giustina

Method Summary
static Out getOut(Configuration config, java.io.OutputStream stream)
          Returns the appropriate Out implementation.
static Out getOut(Configuration config, java.io.Writer writer)
          Returns the appropriate Out implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOut

public static Out getOut(Configuration config,
                         java.io.OutputStream stream)
Returns the appropriate Out implementation.

Parameters:
config - configuration instance
stream - output stream
Returns:
out instance

getOut

public static Out getOut(Configuration config,
                         java.io.Writer writer)
Returns the appropriate Out implementation.

Parameters:
config - configuration instance
writer - Writer
Returns:
out instance


Copyright © 2000-2006 sourceforge. All Rights Reserved.