Class SplitByPartsConfig

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

    Modifier and Type Method Description
    int getParts()  
    org.w3c.dom.Element toElement​(org.w3c.dom.Document doc)
    Create a Element representing this SplitConfig (to be used in *.chp metadata files).
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • 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 class java.lang.Object
    • toElement

      public org.w3c.dom.Element toElement​(org.w3c.dom.Document doc)
      Description copied from class: SplitConfig
      Create a Element representing this SplitConfig (to be used in *.chp metadata files).
      Specified by:
      toElement in class SplitConfig
      Parameters:
      doc - The Document the Element should be created in.
      Returns:
      The created Element.
      See Also:
      ChopJob, StitchJob