java.lang.Object
eu.steffo.cleaver.logic.split.SplitConfig
eu.steffo.cleaver.logic.split.SplitByPartsConfig
public class SplitByPartsConfig extends SplitConfig
-
Constructor Summary
Constructors Constructor Description SplitByPartsConfig(int parts)
-
Method Summary
-
Constructor Details
-
SplitByPartsConfig
public SplitByPartsConfig(int parts)
-
-
Method Details
-
getParts
public int getParts()- Returns:
- The number of parts the file should be split in.
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
toElement
public org.w3c.dom.Element toElement(org.w3c.dom.Document doc)Description copied from class:SplitConfig
Create aElement
representing this SplitConfig (to be used in *.chp metadata files).- Specified by:
toElement
in classSplitConfig
- Parameters:
doc
- TheDocument
theElement
should be created in.- Returns:
- The created
Element
. - See Also:
ChopJob
,StitchJob
-