org.w3c.tidy
Class StreamInFactory

java.lang.Object
  extended byorg.w3c.tidy.StreamInFactory

public final class StreamInFactory
extends java.lang.Object

Tidy Input factory.

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

Constructor Summary
private StreamInFactory()
          Don't instantiate.
 
Method Summary
static StreamIn getStreamIn(Configuration config, java.io.InputStream stream)
          Returns the appropriate StreamIn implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamInFactory

private StreamInFactory()
Don't instantiate.

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