Class DefaultLocalMediaFileCacheService.MediaCacheFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
de.hybris.platform.media.storage.impl.DefaultLocalMediaFileCacheService.MediaCacheFileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- DefaultLocalMediaFileCacheService
public static class DefaultLocalMediaFileCacheService.MediaCacheFileInputStream
extends FileInputStream
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class java.io.FileInputStream
available, getChannel, getFD, read, read, read, readAllBytes, readNBytes, skipMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
MediaCacheFileInputStream
public MediaCacheFileInputStream(File file, DefaultLocalMediaFileCacheService.MediaCacheUnit cacheUnit) throws FileNotFoundException - Throws:
FileNotFoundException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFileInputStream- Throws:
IOException
-