1 package org.testng.xml; 2 3 import org.testng.TestNGException; 4 5 import java.io.InputStream; 6 7 public interface IFileParser<T> { 8 parse(String filePath, InputStream is, boolean loadClasses)9 T parse(String filePath, InputStream is, boolean loadClasses) throws TestNGException; 10 11 } 12