-
- All Implemented Interfaces:
public class Util
-
-
Method Summary
Modifier and Type Method Description static FilegetInternalDir(Context context, String path)static voidensureClosed(Closeable stream)static intgetUtcOffset()static Array<byte>readBytes(File file)static voidappendFileToStream(File file, OutputStream outputStream)static voidwriteNullableUTF(DataOutput out, @Nullable() String value)static StringreadNullableUTF(DataInput in)-
-
Method Detail
-
getInternalDir
static File getInternalDir(Context context, String path)
-
ensureClosed
static void ensureClosed(Closeable stream)
-
getUtcOffset
static int getUtcOffset()
-
appendFileToStream
static void appendFileToStream(File file, OutputStream outputStream)
-
writeNullableUTF
static void writeNullableUTF(DataOutput out, @Nullable() String value)
-
readNullableUTF
static String readNullableUTF(DataInput in)
-
-
-
-