public final class FileUtils extends Object
Modifier and Type | Method and Description |
---|---|
static File |
toWritableDirectory(String path)
Converts the specified directory path to a File
instance representing an existing, writable directory.
|
public static File toWritableDirectory(String path) throws IOException
path
- the path to convert to a FileIOException
- if directory at the specified path
does not exist/cannnot be created, or is not writable.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.