private static boolean validateParameters(DirectoryListingEntry dle, int bytesPerBlock,
                                              ChmLzxcControlData clcd, ChmBlockInfo chmBlockInfo) {
        int goodParameter = 0;
        if (dle != null) {
            ++goodParameter;
        }
        if (bytesPerBlock > 0) {
            ++goodParameter;
        }
        if (clcd != null) {
            ++goodParameter;
        }
        if (chmBlockInfo != null) {
            ++goodParameter;
        }
        return (goodParameter == 4);
    }
A container that contains chm block information such as: i. initial block is
using to reset main tree ii. start block is using for knowing where to start
iii. end block is using for knowing where to stop iv. start offset is using
for knowing where to start reading v. end offset is using for knowing where
to stop reading
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/chm/ChmBlockInfo.java