@InterfaceAudience.Public @InterfaceStability.Evolving public final class FileUtils extends Object
| Constructor and Description |
|---|
FileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getASizeAsHumanReadableString(long size)
Gets the as string.
|
static FileOutputStream |
openOutputStream(File file)
Open output stream.
|
static void |
touch(File file)
Touch.
|
public static String getASizeAsHumanReadableString(long size)
size - the bytespublic static void touch(File file) throws IOException
file - the fileIOException - Signals that an I/O exception has occurred.public static FileOutputStream openOutputStream(File file) throws IOException
file - the fileIOException - Signals that an I/O exception has occurred.Copyright © 2016 utils4j. All Rights Reserved.