public static class ContentLimitProvider.SimpleFixedLimitProvider extends java.lang.Object implements ContentLimitProvider
ContentLimitProvider which returns a fixed value.ContentLimitProvider.NoLimitProvider, ContentLimitProvider.SimpleFixedLimitProviderNO_LIMIT| Constructor and Description |
|---|
ContentLimitProvider.SimpleFixedLimitProvider() |
ContentLimitProvider.SimpleFixedLimitProvider(long limit) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSizeLimit()
This method returns a size limit in bytes.
|
void |
setSizeLimitString(java.lang.String limit)
This method sets a value for the limit.
|
public ContentLimitProvider.SimpleFixedLimitProvider()
public ContentLimitProvider.SimpleFixedLimitProvider(long limit)
public void setSizeLimitString(java.lang.String limit)
parse to a
java long, the default value will be applied instead.limit - a String representing a valid Java long.public long getSizeLimit()
ContentLimitProvidergetSizeLimit in interface ContentLimitProviderCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.