be.dvw.administration.util
Class FileUtils

java.lang.Object
  extended bybe.dvw.administration.util.FileUtils

public class FileUtils
extends java.lang.Object

This class allows to safely load files from anywhere in the classpath


Constructor Summary
FileUtils()
           
 
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
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

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.