|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.util.Stream
public class Stream
This class is used to get a input stream and the details of the stream when downloading a URL
Constructor Summary | |
---|---|
Stream(java.io.InputStream is,
java.lang.String mimeType,
java.lang.String charset,
java.lang.String cacheKey,
java.net.URL url)
The constructor |
Method Summary | |
---|---|
java.lang.String |
getCacheKey()
When caching the stream, use the cache key |
java.lang.String |
getCharset()
Used to get the charset type of the stream |
java.io.InputStream |
getInputStream()
Used to get the input stream |
java.lang.String |
getMineType()
Used to get the mime type of the stream |
java.net.URL |
getURL()
Used to get the URL the stream was read from |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Stream(java.io.InputStream is, java.lang.String mimeType, java.lang.String charset, java.lang.String cacheKey, java.net.URL url)
is
- The input stream to the contents of the URLmimeType
- The mime type of the streamcharset
- The charset type of the streamcacheKey
- When caching the stream, use the cache keyurl
- The URL the stream was read fromMethod Detail |
---|
public java.lang.String getMineType()
public java.io.InputStream getInputStream()
public java.lang.String getCharset()
public java.lang.String getCacheKey()
public java.net.URL getURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |