1 28 29 package org.objectweb.util.explorer.parser.lib; 30 31 import java.util.Vector ; 32 33 import org.objectweb.util.explorer.core.common.lib.BasicLoggable; 34 import org.objectweb.util.explorer.parser.api.ParserConfiguration; 35 36 44 public abstract class AbstractParser 45 extends BasicLoggable 46 implements ParserConfiguration 47 { 48 49 55 56 protected Vector urlFiles_; 57 58 64 67 public AbstractParser() { 68 this.urlFiles_ = new Vector (); 69 } 70 71 77 83 87 public void addPropertyFile(String urlFile) { 88 if(urlFile!=null && !urlFile.equals("") && !urlFiles_.contains(urlFile)) 89 urlFiles_.add(urlFile); 90 } 91 92 95 public abstract void parse(); 96 97 } 98 99 100 | Popular Tags |