Package org.apache.poi.poifs.common

Examples of org.apache.poi.poifs.common.POIFSBigBlockSize


    HeaderBlockReader header_block_reader =
       new HeaderBlockReader(inp);
    displayHeader(header_block_reader);
   
    // Raw blocks
      POIFSBigBlockSize bigBlockSize = header_block_reader.getBigBlockSize();
      RawDataBlockList data_blocks = new RawDataBlockList(inp, bigBlockSize);
      displayRawBlocksSummary(data_blocks);
     
      // Main FAT Table
      BlockAllocationTableReader batReader =
View Full Code Here


      POIDataSamples _samples = POIDataSamples.getPOIFSInstance();
     InputStream inp = _samples.openResourceAsStream("BlockSize4096.zvi");
    
     // First up, check that we can process the header properly
      HeaderBlock header_block = new HeaderBlock(inp);
      POIFSBigBlockSize bigBlockSize = header_block.getBigBlockSize();
      assertEquals(4096, bigBlockSize.getBigBlockSize());
     
      // Check the fat info looks sane
      assertEquals(1, header_block.getBATArray().length);
      assertEquals(1, header_block.getBATCount());
      assertEquals(0, header_block.getXBATCount());
View Full Code Here

TOP

Related Classes of org.apache.poi.poifs.common.POIFSBigBlockSize

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.