be.dvw.administration.util
Class FileUtils
java.lang.Object
be.dvw.administration.util.FileUtils
- public class FileUtils
- extends java.lang.Object
This class allows to safely load files from anywhere in the classpath
Method Summary |
static java.io.File |
getFile(java.lang.String filePath)
|
static java.io.InputStream |
getFileInputStream(java.lang.String filePath)
|
static java.io.InputStreamReader |
getInputStreamReader(java.lang.String filePath)
|
static java.net.URL |
getUrl(java.lang.String filePath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtils
public FileUtils()
getFileInputStream
public static java.io.InputStream getFileInputStream(java.lang.String filePath)
throws java.io.IOException
- Throws:
java.io.IOException
getInputStreamReader
public static java.io.InputStreamReader getInputStreamReader(java.lang.String filePath)
throws java.io.IOException
- Throws:
java.io.IOException
getFile
public static java.io.File getFile(java.lang.String filePath)
getUrl
public static java.net.URL getUrl(java.lang.String filePath)
Copyright © 2005 VZW Koninklijke Muziekvereniging 'De Vrije Werklieden' Lebbeke. All Rights Reserved.