|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.opencms.file.collectors.CmsCollectorData
org.opencms.file.collectors.CmsExtendedCollectorData
public class CmsExtendedCollectorData
Extended data structure for the collector, parsed from the collector parameters.
The input data String must have the following format:
"{VFS URI}|{Resource type}|{Count}|{AddParam1}|{AddParam2}...", for example:
"/my/folder/|xmlcontent|5|p1|p2|p3|p4".
This extends the basic CmsCollectorData by allowing to append additional
parameters to the input String. The parameters can then be obtained by the collector
using getAdditionalParams(). It will depend on the collector implementation
how these additional parameters are used.
CmsCollectorData| Constructor Summary | |
|---|---|
protected |
CmsExtendedCollectorData()
Required constructor for subclasses. |
|
CmsExtendedCollectorData(java.lang.String data)
Creates a new extended collector data set. |
| Method Summary | |
|---|---|
java.util.List |
getAdditionalParams()
Returns the List of additional parameters (String objects). |
protected void |
setAdditionalParams(java.util.List additionalParams)
Sets the List of additional parameters (String objects). |
| Methods inherited from class org.opencms.file.collectors.CmsCollectorData |
|---|
getCount, getFileName, getType, setCount, setFileName, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CmsExtendedCollectorData()
public CmsExtendedCollectorData(java.lang.String data)
The input data String must have the following format:
"{VFS URI}|{Resource type}|{Count}|{AddParam1}|{AddParam2}...", for example:
"/my/folder/|xmlcontent|5|p1|p2|p3|p4".
data - the data to parse| Method Detail |
|---|
public java.util.List getAdditionalParams()
protected void setAdditionalParams(java.util.List additionalParams)
additionalParams - the List of additional parameters (String objects) to set
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||