Create the data folder if it does not exist already. As a convenience, it also returns the data folder, since it's likely about to be used.
()
| 1630 | * it also returns the data folder, since it's likely about to be used. |
| 1631 | */ |
| 1632 | public File prepareDataFolder() { |
| 1633 | if (!dataFolder.exists()) { |
| 1634 | dataFolder.mkdirs(); |
| 1635 | } |
| 1636 | return dataFolder; |
| 1637 | } |
| 1638 | |
| 1639 | |
| 1640 | /** |