|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentLengthDataSource
Optional interface implemented by a DataSource
to advertize the size
of the data.
This interface is designed to be implemented by clients. |
Field Summary | |
---|---|
static long |
CONTENT_LENGTH_UNKNOWN
constant for unknown content lengths |
Fields inherited from interface com.ibm.portal.resolver.data.DataSource |
---|
CONTENT_TYPE_UNKNOWN, CREATION_UNKNOWN, EXPIRATION_UNKNOWN, LAST_MODIFICATION_UNKNOWN, MAX_AGE_INFINITE, MAX_AGE_NONE, ROOT_DATE |
Fields inherited from interface com.ibm.portal.resolver.data.Addressable |
---|
EMPTY_PARAMETERS |
Method Summary | |
---|---|
long |
getContentLength()
Returns the number of bytes that this DataSource will produce. |
Methods inherited from interface com.ibm.portal.resolver.data.DataSource |
---|
getContentType, getCreated, getExpiration, getLastModified |
Methods inherited from interface com.ibm.portal.resolver.data.Addressable |
---|
getParameters, getURI |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Field Detail |
---|
static final long CONTENT_LENGTH_UNKNOWN
Method Detail |
---|
long getContentLength()
DataSource
will produce. If
the number is unknown the DataSource
may return
CONTENT_LENGTH_UNKNOWN
CONTENT_LENGTH_UNKNOWN
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |