public class JInputStream
extends java.lang.Object
Constructor and Description |
---|
JInputStream() |
Modifier and Type | Method and Description |
---|---|
static java.io.InputStream |
getInputStream(java.lang.String fileName)
Creates an InputStream instance from a giving file name.
|
public static java.io.InputStream getInputStream(java.lang.String fileName) throws java.lang.SecurityException, java.io.FileNotFoundException
fileName
- The file name.java.lang.SecurityException
- Signals a security violation.java.io.FileNotFoundException
- Thrown if the file was not found.