com.openexchange.messaging
Interface ManagedFileContent

All Superinterfaces:
MessagingContent, SimpleContent<java.io.InputStream>

public interface ManagedFileContent
extends SimpleContent<java.io.InputStream>

ManagedFileContent - Represents a binary content.

Since:
Open-Xchange v6.20.1
Author:
Thorben Betten

Method Summary
 java.lang.String getContentType()
          Gets the content type of associated managed file.
 java.lang.String getFileName()
          Gets the (optional) file name.
 java.lang.String getId()
          Gets the managed file's identifier.
 
Methods inherited from interface com.openexchange.messaging.SimpleContent
getData
 

Method Detail

getContentType

java.lang.String getContentType()
Gets the content type of associated managed file.

Returns:
The content type; e.g. application/octet-stream

getFileName

java.lang.String getFileName()
Gets the (optional) file name.

Returns:
The file name

getId

java.lang.String getId()
Gets the managed file's identifier.

Returns:
The identifier