web/static/javadoc/5.2.1/org/acra/util/IOUtils.html
Class
Summary:
Nested |
Field |
Constr |
Detail:
Field |
Constr |
org.acra.util
public final classIOUtilsextends[Object](http://d.android.com/reference/java/lang/Object.html?is-external=true "class or interface in java.lang")
Since:4.6.0
All Methods Static Methods Concrete Methods | Modifier and Type | Method and Description |
| --- | --- |
| static void | deleteFile(File file) |
| static void | safeClose(Closeable closeable)
Closes a Closeable.
|
| static void | writeStringToFile(File file, String content) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static void safeClose([@Nullable](http://d.android.com/reference/android/support/annotation/Nullable.html?is-external=true "class or interface in android.support.annotation")[Closeable](http://d.android.com/reference/java/io/Closeable.html?is-external=true "class or interface in java.io")closeable)
Closes a Closeable.
Parameters:closeable - Closeable to close. If closeable is null then method just returns.
-
public static void deleteFile([@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[File](http://d.android.com/reference/java/io/File.html?is-external=true "class or interface in java.io")file)
-
public static void writeStringToFile([@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[File](http://d.android.com/reference/java/io/File.html?is-external=true "class or interface in java.io")file,[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")content)
throws[IOException](http://d.android.com/reference/java/io/IOException.html?is-external=true "class or interface in java.io")
Throws:IOException
Class
Summary:
Nested |
Field |
Constr |
Detail:
Field |
Constr |