I got an home assignment, that is composed by writting a class where i must have 3 methods:
>static void removeLetters( BufferedReader orders, BufferedReader in, BufferedWriter out ) throws IOException;
>static void capitalize( BufferedReader orders, BufferedReader in, BufferedWriter out ) throws IOException;
>static void histogram( BufferedReader in, BufferedWriter out ) throws IOException;
I started by searching the API to learn the methods i could use, ok... then i realized how can i do this?
I thought on puting the buffers into strings and then do what i need to them.
ok, i will use "(char)in.read()" for example, but i dont know the length of the buffer, cause i need this to do a "for" or a "do{...}while" to know how many char's i must put in the string.
I would like to know how can i know the length, or if u know a easier way to do this, that a "Java begginer" can do.
Thanks for your time