com.sap.netweaver.kmc.expimp

Class ArchivePartIterator

java.lang.Object
  extended by com.sap.netweaver.kmc.expimp.ArchivePartIterator

public class ArchivePartIterator
extends Object

Iterator providing the parts of the generated archive (KMC content module).
Due to size restrictions, this archive may have been split up into several parts.

Copyright 2007 SAP AG


Constructor Summary
ArchivePartIterator(ArrayList parts)
          Constructs a new interator that provides the specified archive parts.
 
Method Summary
 int getNumberOfParts()
          Returns the number of parts the archive was splitted up to.
 boolean hasMoreParts()
          Returns if this iterator has more archive parts to provide.
 ArchivePart nextPart()
          Returns the next archive part.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchivePartIterator

public ArchivePartIterator(ArrayList parts)
Constructs a new interator that provides the specified archive parts.

Parameters:
parts - list of ArchivePart instances to be provided
Method Detail

getNumberOfParts

public int getNumberOfParts()
Returns the number of parts the archive was splitted up to.

Returns:
the number of archive parts

hasMoreParts

public boolean hasMoreParts()
Returns if this iterator has more archive parts to provide.

Returns:
true if more archive parts are available, false otherwise

nextPart

public ArchivePart nextPart()
Returns the next archive part.

Returns:
the next archive part
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice