|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcc.glsn.Util
public class Util
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static boolean |
BufferedReaderOk(BufferedReader IN)
|
static String |
cleanString(String In,
String AllowedChars)
|
static String |
Cut(String S,
char D,
int F)
|
static boolean |
FileCopy(String Src,
String Dst)
Uses 1mb blocks |
static boolean |
FileExists(String FileName)
|
static int |
getUnixTime()
|
static String |
MD5File(File Src)
|
static String |
MD5File(String Src)
|
static String |
readInputStream(InputStream IS)
|
static void |
recursiveDelete(File F,
boolean LeaveDir)
|
static void |
recursiveDelete(String Path,
boolean LeaveDir)
|
static String |
SHA1(byte[] P)
|
static String |
SHA1(String Plain)
|
static void |
Touch(String FileName)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static void Touch(String FileName)
throws IOException
IOException
public static boolean BufferedReaderOk(BufferedReader IN)
throws Exception
Exceptionpublic static boolean FileExists(String FileName)
public static String SHA1(byte[] P)
public static String SHA1(String Plain)
public static int getUnixTime()
public static String Cut(String S,
char D,
int F)
public static boolean FileCopy(String Src,
String Dst)
throws IOException,
FileNotFoundException
IOException
FileNotFoundException
public static String MD5File(String Src)
throws IOException
IOException
public static String MD5File(File Src)
throws IOException
IOException
public static void recursiveDelete(String Path,
boolean LeaveDir)
public static void recursiveDelete(File F,
boolean LeaveDir)
public static String readInputStream(InputStream IS)
throws IOException
IOException
public static String cleanString(String In,
String AllowedChars)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||