Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static InputStream |
getInputStream(Object caller,
String name)
Return an appropriate InputStream for the specified test file (which must be inside our current package.
|
public Utils()
public static InputStream getInputStream(Object caller, String name) throws IOException
caller
- is always "this" for the calling object.name
- is the test file we wantIOException
- if an input/output error occursCopyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.