Example usage for Java com.google.gwt.dev.util Util fields, constructors, methods, implement or subclass
The text is from its open source code.
String | computeStrongName(byte[] content) Computes the MD5 hash for the specified byte array. |
String | computeStrongName(byte[][] contents) Computes the MD5 hash of the specified byte arrays. |
void | copy(InputStream is, OutputStream os) |
String | escapeXml(String unescaped) Escapes '&', '<', '>', '"', and '\'' to their XML entity equivalents. |
byte[] | getBytes(String s) Returns a byte-array representing the default encoding for a String. |
byte[][] | getBytes(String[] s) Returns an array of byte-arrays representing the default encoding for an array of Strings. |
String | readFileAsString(File file) |
String | readStreamAsString(InputStream in) Reads an entire input stream as String. |
String | readURLAsString(URL url) |
void | recursiveDelete(File file, boolean childrenOnly) Deletes a file or recursively deletes a directory. |
void | writeObjectToStream(OutputStream stream, Object... objects) Serializes an object and writes it to a stream. |