org.springframework.jdbc.datasource.embedded

Class OutputStreamFactory

  • java.lang.Object
    • org.springframework.jdbc.datasource.embedded.OutputStreamFactory


  • public final 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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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
    • Method Detail

      • getNoopOutputStream

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