Examples of PGEConfigFileReader


Examples of org.apache.oodt.pcs.input.PGEConfigFileReader

   *           If there is some error reading the config file.
   */
  public ListingConf(File file) throws FileNotFoundException,
      InstantiationException {
    try {
      this.conf = new PGEConfigFileReader().read(new FileInputStream(file));
    } catch (FileNotFoundException e) {
      throw e;
    } catch (PGEConfigFileException e) {
      throw new InstantiationException(e.getMessage());
    } finally {
View Full Code Here

Examples of org.apache.oodt.pcs.input.PGEConfigFileReader

   * @throws InstantiationException
   *           If there is some error reading the file.
   */
  public CrawlPropertiesFile(String filePath) throws InstantiationException {
    try {
      this.file = new PGEConfigFileReader().read(new FileInputStream(filePath));
    } catch (Exception e) {
      throw new InstantiationException(e.getMessage());
    }
  }
View Full Code Here

Examples of org.apache.oodt.pcs.input.PGEConfigFileReader

   *           If there is any error reading and parsing the WorkflowStates
   *           file.
   */
  public WorkflowStatesFile(String filePath) throws InstantiationException {
    try {
      this.file = new PGEConfigFileReader().read(new FileInputStream(filePath));
    } catch (Exception e) {
      throw new InstantiationException(e.getMessage());
    }
  }
View Full Code Here

Examples of org.apache.oodt.pcs.input.PGEConfigFileReader

   * (java.io.File)
   */
  public MetExtractorConfig parseConfigFile(File file)
      throws MetExtractorConfigReaderException {
    FilenameTokenConfig conf = new FilenameTokenConfig();
    PGEConfigFileReader reader = new PGEConfigFileReader();
    PGEConfigurationFile confFile;

    try {
      confFile = reader.read(new FileInputStream(file));
    } catch (Exception e) {
      throw new MetExtractorConfigReaderException(e.getMessage());
    }

    conf.setConf(confFile);
View Full Code Here

Examples of org.apache.oodt.pcs.input.PGEConfigFileReader

    this.conf = conf;
  }

  public void setConfig(String confFilePath) throws FileNotFoundException,
      PGEConfigFileException {
    this.conf = new PGEConfigFileReader().read(new FileInputStream(new File(
        confFilePath)));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.