tools
Class Util

java.lang.Object
  extended by tools.Util

public final class Util
extends java.lang.Object


Method Summary
static java.io.InputStream getStreamForFile(java.lang.String fileName)
          Open an input stream from a file, which may exist as a physical file or in a JAR file.
static boolean hasValue(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasValue

public static boolean hasValue(java.lang.String s)

getStreamForFile

public static java.io.InputStream getStreamForFile(java.lang.String fileName)
                                            throws java.io.IOException
Open an input stream from a file, which may exist as a physical file or in a JAR file. The name must be valid for both options.

Throws:
java.io.IOException