au.edu.archer.service.ddm.impl
Class MetadataExtractorServiceImpl

java.lang.Object
  extended by au.edu.archer.service.ddm.impl.MetadataExtractorServiceImpl
All Implemented Interfaces:
MetadataExtractorService

public class MetadataExtractorServiceImpl
extends java.lang.Object
implements MetadataExtractorService

Implements MetadataExtractorService.


Constructor Summary
MetadataExtractorServiceImpl()
           
 
Method Summary
 byte[] extractMetadata(byte[] byteArrayin, java.lang.String fileName, java.util.List<au.edu.archer.domain.icat.api.DataFileFormat> formats)
          extract metadata method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataExtractorServiceImpl

public MetadataExtractorServiceImpl()
Method Detail

extractMetadata

public byte[] extractMetadata(byte[] byteArrayin,
                              java.lang.String fileName,
                              java.util.List<au.edu.archer.domain.icat.api.DataFileFormat> formats)
                       throws MetadataExtractionException
extract metadata method.

Specified by:
extractMetadata in interface MetadataExtractorService
Parameters:
byteArrayin - Input image file in byte array format.
fileName - Input image file's filename.
formats - DataFileFormat.
Returns:
byte[] filtered meta data XML.
Throws:
MetadataExtractionException - throw MetadataExtractionException in case any exception happens.


Copyright © 2008-09 Monash University. All Rights Reserved.