public class FileHelper extends Object
| Constructor and Description |
|---|
FileHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
touch(File file)
Touches file.
|
static void |
touch(File file,
long timestamp)
Touches file and set last modified timestamp.
|
public static void touch(File file) throws IOException
IOExceptionpublic static void touch(File file, long timestamp) throws IOException
IOExceptionCopyright © 2021. All rights reserved.