org.w3c.tidy
Class StreamInFactory

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

public final class StreamInFactory
extends java.lang.Object

Tidy Input factory.

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

Method Summary
static StreamIn getStreamIn(Configuration config, java.io.InputStream stream)
          Returns the appropriate StreamIn implementation.
static StreamIn getStreamIn(Configuration config, java.io.Reader reader)
          Returns the appropriate StreamIn implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStreamIn

public static StreamIn getStreamIn(Configuration config,
                                   java.io.InputStream stream)
Returns the appropriate StreamIn implementation.

Parameters:
config - configuration instance
stream - input stream
Returns:
StreamIn instance

getStreamIn

public static StreamIn getStreamIn(Configuration config,
                                   java.io.Reader reader)
Returns the appropriate StreamIn implementation.

Parameters:
config - configuration instance
stream - input stream
Returns:
StreamIn instance


Copyright © 2000-2006 sourceforge. All Rights Reserved.