|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cert.cc.util.InputStreamDataSource
public final class InputStreamDataSource
InputStreamDataSource allows any InputStream to serve as the input for a DataSource.
© 2009 Carnegie Mellon University
| Constructor Summary | |
|---|---|
InputStreamDataSource(InputStream inputStream)
Constructor |
|
| Method Summary | |
|---|---|
void |
close()
|
String |
getContentType()
|
InputStream |
getInputStream()
|
String |
getName()
|
OutputStream |
getOutputStream()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputStreamDataSource(InputStream inputStream)
inputStream - Source InputStream| Method Detail |
|---|
public String getContentType()
getContentType in interface DataSource
public InputStream getInputStream()
throws IOException
getInputStream in interface DataSourceIOExceptionpublic String getName()
getName in interface DataSource
public OutputStream getOutputStream()
throws IOException
getOutputStream in interface DataSourceIOException
public void close()
throws IOException
close in interface CloseableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||