|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.file.collectors.CmsCollectorData
public class CmsCollectorData
Data structure for the collector, parsed from the collector parameters.
The input data String must have the following format:
"{VFS URI}|{Resource type}|{Count}"
, for example:
"/my/folder/|xmlcontent|5"
.
CmsExtendedCollectorData
Constructor Summary | |
---|---|
protected |
CmsCollectorData()
Required constructor for subclasses. |
|
CmsCollectorData(java.lang.String data)
Creates a new extended collector data set. |
Method Summary | |
---|---|
int |
getCount()
Returns the count. |
java.lang.String |
getFileName()
Returns the file name. |
int |
getType()
Returns the type. |
protected void |
setCount(int count)
Sets the count. |
void |
setFileName(java.lang.String fileName)
Sets the fileName. |
void |
setType(int type)
Sets the type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsCollectorData(java.lang.String data)
The input data String must have the following format:
"{VFS URI}|{Resource type}|{Count}"
, for example:
"/my/folder/|xmlcontent|5"
.
data
- the data to parseprotected CmsCollectorData()
Method Detail |
---|
public int getCount()
public java.lang.String getFileName()
public int getType()
public void setFileName(java.lang.String fileName)
fileName
- the file name to setpublic void setType(int type)
type
- the type to setprotected void setCount(int count)
count
- the count
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |