public interface InputStreamSource
Title: InputStreamSource.java
Description:
bboss workgroup
Copyright (c) 2007
| 限定符和类型 | 方法和说明 |
|---|---|
java.io.InputStream |
getInputStream()
Return an
InputStream. |
java.io.InputStream getInputStream()
throws java.io.IOException
InputStream.
It is expected that each call creates a fresh stream.
This requirement is particularly important when you consider an API such
as JavaMail, which needs to be able to read the stream multiple times when
creating mail attachments. For such a use case, it is required
that each getInputStream() call returns a fresh stream.
java.io.IOException - if the stream could not be opened