public class FileUtils extends Object
Modifier and Type | Method and Description |
---|---|
static File |
getFile(String fileName)
Retrieve the
File of the given file |
static FileInputStream |
getFileInputStream(String fileName)
Retrieve the
FileInputStream of the given file |
public static File getFile(String fileName)
File
of the given filefileName
- IOException
public static FileInputStream getFileInputStream(String fileName) throws IOException
FileInputStream
of the given filefileName
- IOException
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.