Rik,
Your question is not clear.As far as what u asked it is not possible to convert a BufferedReader variable into int bcoz first one is an object and second one is a primitive type and ia not compatible.
But if u want to perform swtich depending on the characters read from the stream the you can safely use the read() method which returns an int representation of the next available character in the stream...
manoj chandran,
Software Engg,SSi