Using BufferedInputStream when reading from a Java class file and moved Streams to container-api