parent
07f2be8db4
commit
ffa5912729
@ -0,0 +1,5 @@ |
||||
package EDU.purdue.cs.bloat.file; |
||||
|
||||
public interface ClassSource { |
||||
Class loadClass(String name) throws ClassNotFoundException ; |
||||
} |
@ -0,0 +1,9 @@ |
||||
package EDU.purdue.cs.bloat.file; |
||||
|
||||
public class DefaultClassSource implements ClassSource { |
||||
|
||||
public Class loadClass(String name) throws ClassNotFoundException { |
||||
return Class.forName(name); |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue