Package eu.xenit.alfred.api.data
Class ContentInputStream
java.lang.Object
eu.xenit.alfred.api.data.ContentInputStream
Created by Giovanni on 06/09/16.
-
Constructor Summary
ConstructorsConstructorDescriptionContentInputStream(InputStream inputStream, String mimetype, long size, String encoding, Locale locale) -
Method Summary
-
Constructor Details
-
ContentInputStream
public ContentInputStream(InputStream inputStream, String mimetype, long size, String encoding, Locale locale)
-
-
Method Details
-
getInputStream
- Returns:
- The Java.io InputStream.
-
getMimetype
- Returns:
- The mimetype of the content.
-
getSize
public long getSize()- Returns:
- The size of the content.
-
getEncoding
- Returns:
- The encoding of the content.
-
getLocale
- Returns:
- The locale of the content.
-