Skip to content

Commit

Permalink
add strategy constructor to load from java.io.File
Browse files Browse the repository at this point in the history
  • Loading branch information
innokenty committed Jun 19, 2015
1 parent eb44cdc commit 6d403c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/ru/qatools/beanloader/BeanLoaderStrategies.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ public static FileLoadStrategy file(String filename) {
return file(filename, false);
}

public static FileLoadStrategy file(File file) {
return file(file, false);
}

public static FileLoadStrategy file(String filename, boolean reloadEveryTime) {
return file(new File(filename), reloadEveryTime);
}
Expand Down

0 comments on commit 6d403c6

Please sign in to comment.