Package edu.harvard.hul.ois.fits.tools

Examples of edu.harvard.hul.ois.fits.tools.ToolOutput


    info.setDate(null);
  }

  public ToolOutput extractInfo(File file) throws FitsToolException
    Document doc = createXml(file);
    output = new ToolOutput(this,(Document)doc.clone(),doc);
    return output;
  }
View Full Code Here


    }
    else {
      //use generic transform
      fitsXml = transform(mediaInfoFitsConfig+genericTransform,rawOut);
    }
    output = new ToolOutput(this,fitsXml,rawOut);
    //}
    return output;
  }
View Full Code Here

    info.setDate("10/24/11");
  }

  public ToolOutput extractInfo(File file) throws FitsToolException
    Document doc = createXml(file);
    output = new ToolOutput(this,(Document)doc.clone(),doc);
    return output;
  }
View Full Code Here

      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    */
   
    output = new ToolOutput(this,fitsXml,dom);

    return output;
  }
View Full Code Here

    }
    */
   
   
   
    output = new ToolOutput(this,fitsXml,rawOut);
    return output;
  }
View Full Code Here

      }
    }
   
    //XmlUtils.printToConsole(dom);
   
    output = new ToolOutput(this,fitsXml,dom);
   
    return output;
  }
View Full Code Here

    }
    else {
      //use generic transform
      fitsXml = transform(exiftoolFitsConfig+genericTransform,rawOut);
    }
    output = new ToolOutput(this,fitsXml,rawOut);
    //}
    return output;
  }
View Full Code Here

    info.setDate("2/17/11");
  }

  public ToolOutput extractInfo(File file) throws FitsToolException
    Document doc = createXml(file);
    output = new ToolOutput(this,(Document)doc.clone(),doc);
    return output;
  }
View Full Code Here

    info.setDate("12/22/10");
  }

  public ToolOutput extractInfo(File file) throws FitsToolException
    Document doc = createXml(file);
    output = new ToolOutput(this,(Document)doc.clone(),doc);
    return output;
  }
View Full Code Here

  }
 
  private void filterToolOutput(FitsIdentity section, List<ToolOutput> results) {
    ListIterator<ToolOutput> iter = results.listIterator();
    while ( iter.hasNext() ) {     
      ToolOutput result = iter.next();
      //if the identity section doesn't contain the results from the tool remove it
      if(!section.hasOutputFromTool(result.getTool().getToolInfo())) {
        iter.remove();
      }
    }
  }
View Full Code Here

TOP

Related Classes of edu.harvard.hul.ois.fits.tools.ToolOutput

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.