-
public final class DiskLruCache.UtilJunk drawer of utility methods.
-
-
Method Summary
Modifier and Type Method Description static StringreadFully(Reader reader)static voiddeleteContents(File dir)Deletes the contents of {@code dir}.static voidcloseQuietly(Closeable closeable)-
-
Method Detail
-
deleteContents
static void deleteContents(File dir)
Deletes the contents of
{@code dir}. Throws an IOException if anyfile could not be deleted, or if{@code dir}is not a readabledirectory.
-
closeQuietly
static void closeQuietly(Closeable closeable)
-
-
-
-