| 4 |
|
import java.io.UnsupportedEncodingException; |
| 5 |
|
import java.net.URLDecoder; |
| 6 |
|
|
| 7 |
+ |
import net.oni2.settingsmanager.Settings; |
| 8 |
+ |
|
| 9 |
|
/** |
| 10 |
|
* @author Christian Illy |
| 11 |
|
*/ |
| 12 |
|
public class Paths { |
| 13 |
|
|
| 14 |
|
/** |
| 15 |
+ |
* @return Mod Depot cache filename |
| 16 |
+ |
*/ |
| 17 |
+ |
public static File getDepotCacheFilename() { |
| 18 |
+ |
return new File(getPrefsPath(), "ModDepotCache.xml"); |
| 19 |
+ |
} |
| 20 |
+ |
|
| 21 |
+ |
/** |
| 22 |
+ |
* @return Settings filename of AEI |
| 23 |
+ |
*/ |
| 24 |
+ |
public static File getSettingsFilename() { |
| 25 |
+ |
return new File(getPrefsPath(), "AEI-Settings.xml"); |
| 26 |
+ |
} |
| 27 |
+ |
|
| 28 |
+ |
/** |
| 29 |
|
* Get the Jar path |
| 30 |
|
* |
| 31 |
|
* @return Path |