Package org.craftercms.core.service
Interface Content
-
- All Known Implementing Classes:
FileSystemContent,ResourceBasedContent
public interface ContentRepresents the content of a file in the content store.- Author:
- Alfonso Vásquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamgetInputStream()Returns aInputStreamfor the data.longgetLastModified()Returns the last modified date of the content.longgetLength()Returns the content length.
-
-
-
Method Detail
-
getLastModified
long getLastModified()
Returns the last modified date of the content.
-
getLength
long getLength()
Returns the content length.
-
getInputStream
InputStream getInputStream() throws IOException
Returns aInputStreamfor the data.- Throws:
IOException
-
-