org.odftoolkit.odfdom.converter.core
Class FileImageExtractor

java.lang.Object
  extended by org.odftoolkit.odfdom.converter.core.FileImageExtractor
All Implemented Interfaces:
IImageExtractor

public class FileImageExtractor
extends Object
implements IImageExtractor

File image extractor implementation.


Constructor Summary
FileImageExtractor(File baseDir)
           
 
Method Summary
 void extract(String imagePath, byte[] imageData)
          Extract the given image data with the given image path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileImageExtractor

public FileImageExtractor(File baseDir)
Method Detail

extract

public void extract(String imagePath,
                    byte[] imageData)
             throws IOException
Description copied from interface: IImageExtractor
Extract the given image data with the given image path.

Specified by:
extract in interface IImageExtractor
Parameters:
imagePath - image path.
imageData - image data.
Throws:
IOException


Copyright © 2013. All rights reserved.