1 2 17 18 19 package org.apache.poi.poifs.storage; 20 21 31 32 import java.io.IOException ; 33 import java.io.OutputStream ; 34 35 abstract class BigBlock 36 implements BlockWritable 37 { 38 39 50 51 protected void doWriteData(final OutputStream stream, final byte [] data) 52 throws IOException  53 { 54 stream.write(data); 55 } 56 57 66 67 abstract void writeData(final OutputStream stream) 68 throws IOException ; 69 70 71 72 81 82 public void writeBlocks(final OutputStream stream) 83 throws IOException  84 { 85 writeData(stream); 86 } 87 88 89 } 91 | Popular Tags |