package org.apache.poi.hwmf.record;\r
\r
import java.awt.image.BufferedImage;\r
-import java.io.FileOutputStream;\r
import java.io.IOException;\r
\r
import org.apache.poi.util.LittleEndianConsts;\r
byte buf[] = new byte[bytes];\r
leis.read(buf);\r
\r
- FileOutputStream fos = new FileOutputStream("bla16.bmp");\r
- fos.write(buf);\r
- fos.close();\r
+// FileOutputStream fos = new FileOutputStream("bla16.bmp");\r
+// fos.write(buf);\r
+// fos.close();\r
\r
\r
// BufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);\r
package org.apache.poi.hwmf.usermodel;\r
\r
import java.io.BufferedInputStream;\r
-import java.io.FileOutputStream;\r
import java.io.IOException;\r
import java.io.InputStream;\r
import java.util.ArrayList;\r
int remainingSize = (int)(recordSize - consumedSize);\r
assert(remainingSize >= 0);\r
if (remainingSize > 0) {\r
- byte remaining[] = new byte[remainingSize];\r
- leis.read(remaining);\r
- FileOutputStream fos = new FileOutputStream("remaining.dat");\r
- fos.write(remaining);\r
- fos.close();\r
-// leis.skip(remainingSize);\r
+// byte remaining[] = new byte[remainingSize];\r
+// leis.read(remaining);\r
+// FileOutputStream fos = new FileOutputStream("remaining.dat");\r
+// fos.write(remaining);\r
+// fos.close();\r
+ leis.skip(remainingSize);\r
}\r
}\r
}\r