java.com
Get started with Java today
Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development timeframes, drives innovation, and improves application services.
Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development timeframes, drives innovation, and improves application services.
If the InputStream is created in the DataSource, the InputStream can be read fine. This is probably really more of a documentation issue.at java.lang.Throwable.<init>(Compiled Code). at javax.mail.Transport.send0(Compiled Code).
EVALUATION The API states that InputStreams and OutputStreams are returned. This is not a lie, since Buffered{Input,Output}Stream are subclasses. In fact, the methods cannot return objects of precisely the types InputStream or OutputStream, since those classes are abstract.