Java com.google.gwt.dev.util Util fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.dev.util Util fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.dev.util Util.

The text is from its open source code.

Method

StringcomputeStrongName(byte[] content)
Computes the MD5 hash for the specified byte array.
StringcomputeStrongName(byte[][] contents)
Computes the MD5 hash of the specified byte arrays.
voidcopy(InputStream is, OutputStream os)
StringescapeXml(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.
StringreadFileAsString(File file)
StringreadStreamAsString(InputStream in)
Reads an entire input stream as String.
StringreadURLAsString(URL url)
voidrecursiveDelete(File file, boolean childrenOnly)
Deletes a file or recursively deletes a directory.
voidwriteObjectToStream(OutputStream stream, Object... objects)
Serializes an object and writes it to a stream.