Package org.fcrepo.migration.foxml
Class FileCachedContent
- java.lang.Object
-
- org.fcrepo.migration.foxml.FileCachedContent
-
- All Implemented Interfaces:
CachedContent
public class FileCachedContent extends Object implements CachedContent
A CashedContent implementation that exposes content stored in a file.- Author:
- mdurbin
-
-
Constructor Summary
Constructors Constructor Description FileCachedContent(File file)File cached content
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetInputStream()get input stream.
-
-
-
Constructor Detail
-
FileCachedContent
public FileCachedContent(File file)
File cached content- Parameters:
file- the file
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
Description copied from interface:CachedContentget input stream.- Specified by:
getInputStreamin interfaceCachedContent- Returns:
- the input stream
- Throws:
IOException- IO exception
-
-