public class ExportHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
writeTextFile(java.lang.String absolutePath,
java.lang.String filename,
java.lang.String... data)
Saves a text based file (e.g. .html, .json, .txt, .svg, ...) at the
given absolutePath with the file name filename.
|
public static java.lang.String writeTextFile(java.lang.String absolutePath,
java.lang.String filename,
java.lang.String... data)
absolutePath - The absolute path where the file should be saved. If the
directory and its parents doesn't exists these directories
will be created.filename - The name of the file which will be saved.data - The data which will be content of the file.