james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/util DebugInputStream.java
Date Tue, 11 Sep 2001 04:35:39 GMT
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: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message