1 2 17 18 19 package org.apache.poi.poifs.storage; 20 21 import org.apache.poi.poifs.property.RootProperty; 22 23 import java.util.*; 24 25 import java.io.*; 26 27 33 34 public class SmallBlockTableReader 35 { 36 37 50 51 public static BlockList getSmallDocumentBlocks( 52 final RawDataBlockList blockList, final RootProperty root, 53 final int sbatStart) 54 throws IOException 55 { 56 BlockList list = 57 new SmallDocumentBlockList(SmallDocumentBlock 58 .extract(blockList.fetchBlocks(root.getStartBlock()))); 59 60 new BlockAllocationTableReader(blockList.fetchBlocks(sbatStart), 61 list); 62 return list; 63 } 64 } 65 | Popular Tags |