Static Public Member Functions | |
static File | getNextFreeFile (String path) throws IOException |
static void | saveLocal (String url) |
static InputStream | getStream (String ressource) |
static String | read (String path) |
static void | browse (String url) |
Definition at line 15 of file FileUtils.java.
static File org.hfbk.vis.FileUtils.getNextFreeFile | ( | String | path | ) | throws IOException [static] |
create a new File ready to write. a counter is increased until the given pathname, counter and suffix give a non existiend file's name.
path | the wanted filename |
IOException | if path is not writable (no rights to, bad filename) |
Definition at line 26 of file FileUtils.java.
Referenced by org.hfbk.vis.FileUtils.saveLocal().
Here is the caller graph for this function:
static void org.hfbk.vis.FileUtils.saveLocal | ( | String | url | ) | [static] |
saves the given url to the users home directory. tries to preserve remote filename, adds a counter if existing.
url | to copy |
Definition at line 52 of file FileUtils.java.
References org.hfbk.vis.FileUtils.getNextFreeFile().
Here is the call graph for this function:
static InputStream org.hfbk.vis.FileUtils.getStream | ( | String | ressource | ) | [static] |
open a ressource and get InputStream
Definition at line 79 of file FileUtils.java.
Referenced by org.hfbk.vis.FileUtils.read().
Here is the caller graph for this function:
static String org.hfbk.vis.FileUtils.read | ( | String | path | ) | [static] |
read in a text file.
Definition at line 91 of file FileUtils.java.
References org.hfbk.vis.FileUtils.getStream().
Here is the call graph for this function:
static void org.hfbk.vis.FileUtils.browse | ( | String | url | ) | [static] |
try to open url in users default browser. needs jre1.6 but fails harmless if not.
url | to browse |
Definition at line 114 of file FileUtils.java.