com.binaryfantasy.murq.content
Interface IBinaryContent

All Superinterfaces:
IContent
All Known Implementing Classes:
BinaryContentAdapter

public interface IBinaryContent
extends IContent

Defines content used to describe associated binary content.

Author:
Bill Weiss

Method Summary
 long getByteCount()
          Returns the number of bytes in the binary content.
 String getFilename()
          Returns the original filename of the binary content.
 void setByteCount(long byteCount)
          Sets the number of bytes in the binary content.
 void setFilename(String filename)
          Sets the original filename of the binary content.
 
Methods inherited from interface com.binaryfantasy.murq.content.IContent
getContentId, getCreationDate, getLastModifiedDate, getLocale, setContentId, setCreationDate, setLastModifiedDate, setLocale
 

Method Detail

getByteCount

long getByteCount()
Returns the number of bytes in the binary content.

Returns:
the number of bytes in the binary content.

setByteCount

void setByteCount(long byteCount)
Sets the number of bytes in the binary content.

FOR INTERNAL USE ONLY.

Parameters:
byteCount - the number of bytes in the content.

getFilename

String getFilename()
Returns the original filename of the binary content.

Returns:
the original filename of the binary content.

setFilename

void setFilename(String filename)
Sets the original filename of the binary content.

Parameters:
filename - the original filename of the binary content.


Copyright (c) 2000-2006, BinaryFantasy.com