public class Util extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static File |
tmpGlobs |
protected static File |
tmpMagic |
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanDir(File dir)
Clean and delete the specified dir.
|
static String |
readStreamAsString(InputStream is)
Read the entire input stream as string.
|
public static void cleanDir(File dir)
dir - the target dir.public static String readStreamAsString(InputStream is) throws IOException
is - the input stream.IOException - if an error occurs.Copyright © 2020. All Rights Reserved.