Package org.apache.oodt.cas.metadata.extractors

Examples of org.apache.oodt.cas.metadata.extractors.FilenameTokenMetExtractor


    met.addMetadata(inputMetadata);
    met.addMetadata("ProductType", "GenericFile");
   
      String metConfFilePath = String.valueOf(customArgs[0]);
      LOG.info("metConfFilePath = ["+metConfFilePath+"]");
      FilenameTokenMetExtractor extractor = new FilenameTokenMetExtractor();
      extractor.setConfigFile(metConfFilePath);
      met.addMetadata(extractor.extractMetadata(sciPgeCreatedDataFile));
     
    return met;
  }
View Full Code Here


   */
  @Override
  protected Metadata getSciPgeSpecificMetadata(File generatedFile,
      Metadata workflowMet, Object... args) throws Exception {
    String metConfFilePath = String.valueOf(args[0]);
    FilenameTokenMetExtractor extractor = new FilenameTokenMetExtractor();
    extractor.setConfigFile(metConfFilePath);
    return extractor.extractMetadata(generatedFile);
  }
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.metadata.extractors.FilenameTokenMetExtractor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.