org.rr0.im.business.evidence
Class RecordImpl
org.rr0.im.business.event.TimeableImpl
|
+--org.rr0.im.business.evidence.RecordImpl
- Direct Known Subclasses:
- DocumentImpl
- public class RecordImpl
- extends TimeableImpl
- Author:
- Jérôme Beau
- Version: 19 juil. 2003 18:08:28
| Field Summary |
private Map | contents The document's content, indexed by a MIME Content type.
|
| Method Summary |
Object | getContent(String mimeType, Locale locale) |
void | setContent(String mimeType, Object content, Locale locale) |
contents
private Map contents
- The document's content, indexed by a MIME Content type.
Content type may be "text/plain", "image/jpeg", "video/mpeg", "url", etc.
RecordImpl
public RecordImpl(String title)
getContent
public Object getContent(String mimeType, Locale locale)
- Parameters:
- mimeType The desired content type such as "text/plain", "image/jpeg", "video/mpeg", "url", etc.
- locale The desired locale, such as en_US, en_UK, fr_FR, fr_CA, etc.
- Returns: The document's content
setContent
public void setContent(String mimeType, Object content, Locale locale)
- Parameters:
- mimeType The content type such as "text/plain", "image/jpeg", "video/mpeg", "url", etc.
- locale The content's locale, such as en_US, en_UK, fr_FR, fr_CA, etc.
to Class java.util.Map- The document's content, indexed by a MIME Content type.
Content type may be "text/plain", "image/jpeg", "video/mpeg", "url", etc.