public class WorkingDirectory
extends java.lang.Object
Constructor and Description |
---|
WorkingDirectory() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
getMapsFolder() |
static java.io.File |
getWorkingDirectory(java.lang.String applicationName) |
static boolean |
unpackMap(java.lang.String foldername,
java.io.InputStream source)
unpacks a map to working directory
|
public static java.io.File getWorkingDirectory(java.lang.String applicationName)
applicationName
- public static java.io.File getMapsFolder()
public static boolean unpackMap(java.lang.String foldername, java.io.InputStream source)
foldername
- the name of the map folder. Will be created if non existend.source
- msut be a zip file without ".foldername" files