|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.backsource.utils.io.ByteCachedStream
org.backsource.utils.io.FileCachedStream
A StreamCache that cached data in temporary files.
| Field Summary | |
protected static java.lang.String |
TMP_PREFIX
|
protected static java.lang.String |
TMP_SUFIX
|
| Constructor Summary | |
FileCachedStream()
|
|
| Method Summary | |
CachedInputStream |
getInputStream(CachedOutputStream cout)
Get a rewindable input stream from the given CachedOutputStream. |
CachedOutputStream |
getOutputStream()
Get a CachedOutputStream. |
| Methods inherited from class org.backsource.utils.io.ByteCachedStream |
getInputStream, getProperty, rewind, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.lang.String TMP_PREFIX
protected static final java.lang.String TMP_SUFIX
| Constructor Detail |
public FileCachedStream()
| Method Detail |
public CachedOutputStream getOutputStream()
throws java.io.IOException
The typical usecase for this is to later use it to get a CachedInputStream from it.
getOutputStream in interface CachedStreamgetOutputStream in class ByteCachedStreamjava.io.IOException
public CachedInputStream getInputStream(CachedOutputStream cout)
throws java.io.IOException
getInputStream in interface CachedStreamgetInputStream in class ByteCachedStreamjava.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||