serge       01/09/10 21:35:39

  Added:       src/java/org/apache/james/util DebugInputStream.java
  Log:
  Moving from org.apache.james.mailrepository to org.apache.james.util.
  
  Revision  Changes    Path
  1.1                  
jakarta-james/src/java/org/apache/james/util/DebugInputStream.java
  
  Index: DebugInputStream.java
  ===================================================================
  package org.apache.james.util;
  
  import java.io.*;
  
  public class DebugInputStream extends InputStream {
      InputStream in = null;
  
      public DebugInputStream(InputStream in) {
          this.in = in;
      }
  
        public int read() throws IOException {
          int b = in.read();
            System.err.write(b);
          return b;
        }
  
      public void close() throws IOException {
          in.close();
      }
  }
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to