01: /*
02: * Created by IntelliJ IDEA.
03: * User: sg426575
04: * Date: May 12, 2005
05: * Time: 11:39:17 PM
06: */
07: package com.technoetic.xplanner.util;
08:
09: import java.io.InputStream;
10:
11: public class FileUtilities {
12: public static InputStream getFileFromClassPath(String filePath) {
13: return FileUtilities.class.getClassLoader()
14: .getResourceAsStream(filePath);
15: }
16: }
|