Package sop.cli.picocli
Class FileUtil
- java.lang.Object
-
- sop.cli.picocli.FileUtil
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FileUtil.EnvironmentVariableResolver
-
Constructor Summary
Constructors Constructor Description FileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
createNewFileOrThrow(File file)
static File
getFile(String fileName)
static FileInputStream
getFileInputStream(String fileName)
static void
setEnvironmentVariableResolver(FileUtil.EnvironmentVariableResolver envResolver)
-
-
-
Field Detail
-
PRFX_ENV
public static final String PRFX_ENV
- See Also:
- Constant Field Values
-
PRFX_FD
public static final String PRFX_FD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileUtil
public FileUtil()
-
-
Method Detail
-
setEnvironmentVariableResolver
public static void setEnvironmentVariableResolver(FileUtil.EnvironmentVariableResolver envResolver)
-
getFileInputStream
public static FileInputStream getFileInputStream(String fileName)
-
createNewFileOrThrow
public static File createNewFileOrThrow(File file) throws IOException
- Throws:
IOException
-
-