Spring Framework

org.springframework.jdbc.datasource.embedded
Class OutputStreamFactory

java.lang.Object
  extended by org.springframework.jdbc.datasource.embedded.OutputStreamFactory

public class OutputStreamFactory
extends java.lang.Object

Internal helper for exposing dummy OutputStreams to embedded databases such as Derby, preventing the creation of a log file.

Since:
3.0
Author:
Juergen Hoeller

Constructor Summary
OutputStreamFactory()
           
 
Method Summary
static java.io.OutputStream getNoopOutputStream()
          Returns an OutputStream that ignores all data given to it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputStreamFactory

public OutputStreamFactory()
Method Detail

getNoopOutputStream

public static java.io.OutputStream getNoopOutputStream()
Returns an OutputStream that ignores all data given to it.


Spring Framework