Package org.craftercms.core.service
Interface Content
- All Known Implementing Classes:
FileSystemContent
,ResourceBasedContent
public interface Content
Represents the content of a file in the content store.
- Author:
- Alfonso Vásquez
-
Method Summary
Modifier and TypeMethodDescriptionReturns aInputStream
for the data.long
Returns the last modified date of the content.long
Returns the content length.
-
Method Details
-
getLastModified
long getLastModified()Returns the last modified date of the content. -
getLength
long getLength()Returns the content length. -
getInputStream
Returns aInputStream
for the data.- Throws:
IOException
-