I get lost on the java I/O FilterInputStream
1) what is the main step in FilterInputStream??
2) I have
 public ToUpClassInputStream(InputStream in) {
        super(in);

    }
public int read() throws IOException {

    int b = in.read();
    // printing, ASCII characters
   if(Character.isLowerCase(b))
   b=Character.toUpperCase(b);
    return b;
  }
not ideal how to write the

 public int read(byte[] data, int off, int len) throws IOException {

???????
}

-- 
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to 
javaprogrammingwithpassion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to