|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Util.closeQuietly(java.io.Closeable) instead. Two problems can arise if resources are not
closed quietly in the finally block: (1) If there are multiple close() calls, and one of the first ones throws
an Exception, then the following ones will never be called. (2) If an Exception is thrown inside the
try { ... } catch block and another Exception is thrown by a close() call in the finally { ... } block, then the
second Exception will hide the first one.
Base64
encoding scheme, writing the results into a newly-allocated output
byte array.
Base64 encoding scheme.
Base64
encoding scheme, writing the results into the given output byte array,
starting at offset 0.
Base64
encoding scheme, writing the results into a newly-allocated ByteBuffer.
Request.text() and Request.bytes(), you do not have to call it if you use
those methods.
Base64 encoding scheme.
Base64 encoding scheme, writing the resulting bytes to the
given output byte array, starting at offset 0.
Base64 encoding
scheme.
Base64
encoding scheme.
String.
String passed and writes the result to the StringBuilder
passed.
Base64.Decoder that decodes using the
Basic type base64 encoding scheme.
Base64.Encoder that encodes using the
Basic type base64 encoding scheme.
Base64.Decoder that decodes using the
MIME type base64 decoding scheme.
Base64.Encoder that encodes using the
MIME type base64 encoding scheme.
Base64.Encoder that encodes using the
MIME type base64 encoding scheme
with specified line length and line separators.
Base64.Decoder that decodes using the
URL and Filename safe type base64
encoding scheme.
Base64.Encoder that encodes using the
URL and Filename safe type base64
encoding scheme.
JSpec.the(Object) or JSpec.a(Object), but takes generalized instance as parameter.
JSpec.it(T)
System.err with internal buffer.
System.out with internal buffer.
System.err to former glory.
System.out to former glory.
Expectation.shouldBeEqual(Object).
a(p).shouldHave("errors").
Expectation.shouldContain(Object).
a(p).shouldNotHave("errors").
java.sql.Blob to bytes array.
Double.
HumanDate.toHumanFormat(long, long), except the second parameter is
always now.
java.util.Date to a String in ISO 8601 format: "yyyy-MM-dd'T'HH:mm:ss'Z'"
in UTC timezone for timestamps, and "yyyy-MM-dd" for instances of java.sql.Date.
Long if it can.
java.sql.Date, java.sql.Timestamp, java.sql.Time, java.util.Date,
Long or any object whose toString method has this format: yyyy-mm-dd.
Clob.
Time.valueOf(String).
Timestamp.valueOf(String).
java.sql.Date, java.sql.Timestamp, java.sql.Time, java.util.Date,
Long or string with format "yyyy-MM-dd".
String.
String passed and writes the result to the
StringBuilder passed.
Base64 encoded byte stream.
Base64
encoding scheme.
Escape instead
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||