public abstract class ContentSource extends ContentItemsSource
ContentSourceis responsible for creating
DocDataobjects for its documents to be consumed by
DocMaker. It also keeps track of various statistics, such as how many documents were generated, size in bytes etc.
For supported configuration parameters see
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the next
addBytes, addItem, close, collectFiles, getBytesCount, getConfig, getItemsCount, getTotalBytesCount, getTotalItemsCount, printStatistics, resetInputs, setConfig, shouldLog
public abstract DocData getNextDocData(DocData docData) throws NoMoreDataException, IOException
DocDatafrom the content source. Implementations must account for multi-threading, as multiple threads can call this method simultaneously.