Skip navigation links
$ A B C D E F G H I J L M O P R S T U W X 

$

$(Object) - Static method in class org.javalite.test.jspec.JSpec
Synonym of methods JSpec.the(Object) or JSpec.a(Object).

A

a(Object) - Static method in class org.javalite.test.jspec.JSpec
 
a(Object) - Method in interface org.javalite.test.jspec.JSpecSupport
 
activateOptions() - Method in class org.javalite.logging.JsonLog4jLayout
 
addEntities(String[][]) - Method in class org.javalite.common.XmlEntities
Deprecated.
Adds entities to this entity.
addEntity(String, int) - Method in class org.javalite.common.XmlEntities
Deprecated.
Add an entity to this entity.
addIrregular(String, String) - Static method in class org.javalite.common.Inflector
 
addPlural(String, String) - Static method in class org.javalite.common.Inflector
 
addSingular(String, String) - Static method in class org.javalite.common.Inflector
 
append(LoggingEvent) - Method in class org.javalite.logging.LoggingTestAppender
 
arr(T...) - Static method in class org.javalite.common.Collections
Create array from values.
arr(String...) - Method in class org.javalite.common.Util
Convenience method to create literal String arrays.
array(T...) - Static method in class org.javalite.common.Collections
Create array from values.
attributeValue(String) - Method in class org.javalite.test.XPathHelper
Returns a value of an attribute.
attributeValue(String, String) - Static method in class org.javalite.test.XPathHelper
Selects a value of attribute.

B

Base64 - Class in org.javalite.common
This class is a direct copy of code from Java8 for backwards compatibility with older JDKs.
Base64.Decoder - Class in org.javalite.common
This class implements a decoder for decoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
Base64.Encoder - Class in org.javalite.common
This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
basic(String, String) - Method in class org.javalite.http.Request
Sets a user and password for basic authentication.
basic(String) - Method in class org.javalite.http.Request
Set a user authentication
blank(Object) - Static method in class org.javalite.common.Util
Returns true if value is either null or it's String representation is blank.
bytes(InputStream) - Static method in class org.javalite.common.Util
Reads contents of the input stream fully and returns it as byte array.
bytes() - Method in class org.javalite.http.Request
Fetches response content from server as bytes.

C

camelize(String) - Static method in class org.javalite.common.Inflector
Generates a camel case version of a phrase from underscore.
camelize(String, boolean) - Static method in class org.javalite.common.Inflector
Generates a camel case version of a phrase from underscore.
capitalize(String) - Static method in class org.javalite.common.Inflector
Capitalizes a word - only a first character is converted to upper case.
cleanControlChars(String) - Static method in class org.javalite.common.JsonHelper
Clean control characters in a string.
clear() - Static method in class org.javalite.logging.Context
Clears current context of any values.
close(Closeable) - Static method in class org.javalite.common.Util
Deprecated.
use Util.closeQuietly(AutoCloseable) 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.
close() - Method in class org.javalite.logging.LoggingTestAppender
 
closeQuietly(AutoCloseable) - Static method in class org.javalite.common.Util
Closes a resource and swallows exception if thrown during a close.
Collections - Class in org.javalite.common
 
connect() - Method in class org.javalite.http.Request
 
connection - Variable in class org.javalite.http.Request
 
CONNECTION_TIMEOUT - Static variable in class org.javalite.http.Http
Connection timeout in milliseconds.
Context - Class in org.javalite.logging
Serves mostly to pass name and values from any code down to the logging system to be included on every log line by a current thread..
Context() - Constructor for class org.javalite.logging.Context
 
ConversionException - Exception in org.javalite.common
 
ConversionException() - Constructor for exception org.javalite.common.ConversionException
 
ConversionException(String) - Constructor for exception org.javalite.common.ConversionException
 
ConversionException(String, Throwable) - Constructor for exception org.javalite.common.ConversionException
 
ConversionException(Throwable) - Constructor for exception org.javalite.common.ConversionException
 
Convert - Class in org.javalite.common
Convenience class for type conversions.
count(String) - Method in class org.javalite.test.XPathHelper
Counts a collection selected by XPath expression.
count(String, String) - Static method in class org.javalite.test.XPathHelper
Counts a collection selected by XPath expression.

D

decode(byte[]) - Method in class org.javalite.common.Base64.Decoder
Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into a newly-allocated output byte array.
decode(String) - Method in class org.javalite.common.Base64.Decoder
Decodes a Base64 encoded String into a newly-allocated byte array using the Base64 encoding scheme.
decode(byte[], byte[]) - Method in class org.javalite.common.Base64.Decoder
Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into the given output byte array, starting at offset 0.
decode(ByteBuffer) - Method in class org.javalite.common.Base64.Decoder
Decodes all bytes from the input byte buffer using the Base64 encoding scheme, writing the results into a newly-allocated ByteBuffer.
Delete - Class in org.javalite.http
Executes a DELETE request.
Delete(String, int, int) - Constructor for class org.javalite.http.Delete
Constructor for making DELETE requests.
delete(String) - Static method in class org.javalite.http.Http
Executes a DELETE request.
delete(String, int, int) - Static method in class org.javalite.http.Http
Executes a DELETE request.
DifferenceExpectation<T> - Class in org.javalite.test.jspec
 
DifferenceExpectation(T) - Constructor for class org.javalite.test.jspec.DifferenceExpectation
 
dispose() - Method in class org.javalite.http.Request
This method is already called from Request.text() and Request.bytes(), you do not have to call it if you use those methods.
doConnect() - Method in class org.javalite.http.Delete
 
doConnect() - Method in class org.javalite.http.Get
 
doConnect() - Method in class org.javalite.http.Multipart
 
doConnect() - Method in class org.javalite.http.Patch
 
doConnect() - Method in class org.javalite.http.Post
 
doConnect() - Method in class org.javalite.http.Put
 
doConnect() - Method in class org.javalite.http.Request
Makes a connection to the remote resource.

E

empty(Object[]) - Static method in class org.javalite.common.Util
Returns true if array is either null or empty.
empty(Collection<?>) - Static method in class org.javalite.common.Util
Returns true if collection is either null or empty.
encode(byte[]) - Method in class org.javalite.common.Base64.Encoder
Encodes all bytes from the specified byte array into a newly-allocated byte array using the Base64 encoding scheme.
encode(byte[], byte[]) - Method in class org.javalite.common.Base64.Encoder
Encodes all bytes from the specified byte array using the Base64 encoding scheme, writing the resulting bytes to the given output byte array, starting at offset 0.
encode(ByteBuffer) - Method in class org.javalite.common.Base64.Encoder
Encodes all remaining bytes from the specified byte buffer into a newly-allocated ByteBuffer using the Base64 encoding scheme.
encodeToString(byte[]) - Method in class org.javalite.common.Base64.Encoder
Encodes the specified byte array into a String using the Base64 encoding scheme.
entityName(int) - Method in class org.javalite.common.XmlEntities
Deprecated.
Returns the name of the entity identified by the specified value.
entityValue(String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Returns the value of the entity identified by the specified name.
err - Variable in class org.javalite.common.RuntimeUtil.Response
 
Escape - Class in org.javalite.common
 
escape(String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Escapes the characters in a String.
escape(StringBuilder, String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Escapes the characters in the String passed and writes the result to the StringBuilder passed.
escape(Writer, String) - Method in class org.javalite.common.XmlEntities
Deprecated.
escapeControlChars(String) - Static method in class org.javalite.common.JsonHelper
Escapes control characters in a string.
ExceptionExpectation<T> - Class in org.javalite.test.jspec
 
ExceptionExpectation(Class<T>) - Constructor for class org.javalite.test.jspec.ExceptionExpectation
 
exec() - Method in class org.javalite.test.jspec.DifferenceExpectation
 
exec() - Method in class org.javalite.test.jspec.ExceptionExpectation
 
execute(String...) - Static method in class org.javalite.common.RuntimeUtil
Executes an external command and provides results of execution.
expect(ExceptionExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
 
expect(DifferenceExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
Expect that the results are different, throw TestException if same.
expect(ExceptionExpectation<T>) - Method in interface org.javalite.test.jspec.JSpecSupport
 
expect(DifferenceExpectation<T>) - Method in interface org.javalite.test.jspec.JSpecSupport
 
Expectation<T> - Class in org.javalite.test.jspec
 
Expectation(T) - Constructor for class org.javalite.test.jspec.Expectation
 

F

field(FormField) - Method in class org.javalite.http.Multipart
Adds a form field to the request
field(String, String) - Method in class org.javalite.http.Multipart
Convenience method to add a form field to the request.
fields(String...) - Method in class org.javalite.http.Multipart
Convenience method to add multiple fields to the request.
file(String, String) - Method in class org.javalite.http.Multipart
Convenience method to add a file fields to the request.
FileField - Class in org.javalite.http
 
FileField(String, File) - Constructor for class org.javalite.http.FileField
 
format(LoggingEvent) - Method in class org.javalite.logging.JsonLog4jLayout
 
FormField - Class in org.javalite.http
 
FormField(String, String) - Constructor for class org.javalite.http.FormField
 
FormField() - Constructor for class org.javalite.http.FormField
 
fromBase64(String) - Static method in class org.javalite.common.Util
Will decode Base64-encoded string back into byte array.

G

Get - Class in org.javalite.http
Executes a GET request.
Get(String, int, int) - Constructor for class org.javalite.http.Get
Constructor for making GET requests.
get(String) - Static method in class org.javalite.http.Http
Executes a GET request.
get(String, int, int) - Static method in class org.javalite.http.Http
Executes a GET request
getClazz() - Method in class org.javalite.test.jspec.ExceptionExpectation
 
getDecoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Decoder that decodes using the Basic type base64 encoding scheme.
getEncoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Encoder that encodes using the Basic type base64 encoding scheme.
getExpected() - Method in class org.javalite.test.jspec.DifferenceExpectation
 
getFile() - Method in class org.javalite.http.FileField
 
getIdName(String) - Static method in class org.javalite.common.Inflector
 
getInputStream() - Method in class org.javalite.http.Request
Returns input stream to read server response from.
getLayout() - Method in class org.javalite.logging.LoggingTestAppender
 
getMimeDecoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Decoder that decodes using the MIME type base64 decoding scheme.
getMimeEncoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme.
getMimeEncoder(int, byte[]) - Static method in class org.javalite.common.Base64
Returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme with specified line length and line separators.
getName() - Method in class org.javalite.http.FormField
 
getOtherName(String, String) - Static method in class org.javalite.common.Inflector
If a table name is made of two other table names (as is typical for many to many relationships), this method retrieves a name of "another" table from a join table name.
getResourceLines(String) - Static method in class org.javalite.common.Util
Returns lines of text of a resource as list.
getStackTraceString(Throwable) - Static method in class org.javalite.common.Util
Converts stack trace to string.
getSystemErr() - Static method in class org.javalite.test.SystemStreamUtil
Returns buffer accumulated with data as string.
getSystemOut() - Static method in class org.javalite.test.SystemStreamUtil
Returns buffer accumulated with data as string.
getUrlDecoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Decoder that decodes using the URL and Filename safe type base64 encoding scheme.
getUrlEncoder() - Static method in class org.javalite.common.Base64
Returns a Base64.Encoder that encodes using the URL and Filename safe type base64 encoding scheme.
getValue() - Method in class org.javalite.http.FormField
 
gsub(String, String, String) - Static method in class org.javalite.common.Inflector
Replaces a found pattern in a word and returns a transformed word.

H

header(String, String) - Method in class org.javalite.http.Request
Sets an HTTP header - call before making a request.
headers() - Method in class org.javalite.http.Request
Returns HTTP headers as sent by server.
html(StringBuilder, String) - Static method in class org.javalite.common.Escape
Escapes HTML appending to StringBuilder.
html(String) - Static method in class org.javalite.common.Escape
Escapes HTML.
Http - Class in org.javalite.http
This is a convenience class to allow creation of request objects on one line with some pre-defined values.
HttpException - Exception in org.javalite.http
 
HttpException(String, Throwable) - Constructor for exception org.javalite.http.HttpException
 
HttpException(Throwable) - Constructor for exception org.javalite.http.HttpException
 
HumanDate - Class in org.javalite.common
This is a helper class for converting distance bewteen two dates to a human format, like: "two days", "three months", etc.

I

ignoresThrowable() - Method in class org.javalite.logging.JsonLog4jLayout
 
Inflector - Class in org.javalite.common
 
isFile() - Method in class org.javalite.http.FileField
 
isFile() - Method in class org.javalite.http.FormField
 
it(T) - Static method in class org.javalite.test.jspec.JSpec
Works the same way as methods JSpec.the(Object) or JSpec.a(Object), but takes generalized instance as parameter.
it(T) - Method in interface org.javalite.test.jspec.JSpecSupport
Wrapper for JSpec.it(T)

J

join(String[], String) - Static method in class org.javalite.common.Util
Joins the items in array with a delimiter.
join(Collection<?>, String) - Static method in class org.javalite.common.Util
Joins the items in collection with a delimiter.
join(StringBuilder, Collection<?>, String) - Static method in class org.javalite.common.Util
Joins the items in collection with a delimiter, and appends the result to StringBuilder.
join(StringBuilder, Object[], String) - Static method in class org.javalite.common.Util
Joins the items in array with a delimiter, and appends the result to StringBuilder.
joinAndRepeat(StringBuilder, String, String, int) - Static method in class org.javalite.common.Util
Repeats string of characters a defined number of times with a delimiter, and appends result to StringBuilder.
JsonHelper - Class in org.javalite.common
Convenience class to convert JSON strings to and from objects.
JsonLog4jLayout - Class in org.javalite.logging
Layout for log4j to emit JSON format, including exceptions.
JsonLog4jLayout() - Constructor for class org.javalite.logging.JsonLog4jLayout
 
JSpec - Class in org.javalite.test.jspec
 
JSpecSupport - Interface in org.javalite.test.jspec
This is a class to be extended to gain easy access to JSpec methods.

L

li(T...) - Static method in class org.javalite.common.Collections
Create a list from values.
list(T...) - Static method in class org.javalite.common.Collections
Create a list from values.
LoggingTestAppender - Class in org.javalite.logging
Primitive appender, only for testing (tired fighting log4j for my output!).
LoggingTestAppender() - Constructor for class org.javalite.logging.LoggingTestAppender
 

M

main(String[]) - Static method in class org.javalite.http.Delete
 
main(String[]) - Static method in class org.javalite.http.Get
 
main(String[]) - Static method in class org.javalite.http.Multipart
 
main(String[]) - Static method in class org.javalite.http.Post
 
main(String[]) - Static method in class org.javalite.http.Put
 
map(Object...) - Static method in class org.javalite.common.Collections
Create a map from keys and values.
map2Content(Map) - Static method in class org.javalite.http.Http
Deprecated.
map2URLEncoded(Map) - Static method in class org.javalite.http.Http
Converts a map to URL- encoded string.
merge(Map<String, ?>) - Method in class org.javalite.common.Templator
This method is used in repeated operations, since it will load a resource once.
mergeFromPath(String, Map<String, ?>) - Static method in class org.javalite.common.Templator
This method is used in one-off operations, where it is OK to load a template every time.
mergeFromTemplate(String, Map<String, ?>) - Static method in class org.javalite.common.Templator
Merges from string as template.
multipart(String) - Static method in class org.javalite.http.Http
Create multipart request
multipart(String, int, int) - Static method in class org.javalite.http.Http
Create multipart request
Multipart - Class in org.javalite.http
Sets up a Multipart request to send multiple text fields as well as upload files.
Multipart(String, int, int) - Constructor for class org.javalite.http.Multipart
Constructor to make multipart requests

O

org.javalite.common - package org.javalite.common
 
org.javalite.http - package org.javalite.http
This package contains convenience classes for working with REST services.
org.javalite.logging - package org.javalite.logging
 
org.javalite.test - package org.javalite.test
 
org.javalite.test.jspec - package org.javalite.test.jspec
 
out - Variable in class org.javalite.common.RuntimeUtil.Response
 

P

param(String, String) - Method in class org.javalite.http.Post
Adds a parameter to the request as in a HTML form.
params(String...) - Method in class org.javalite.http.Post
Convenience method to add multiple parameters to the request.
patch(String, String) - Static method in class org.javalite.http.Http
Executes a PATCH request.
patch(String, byte[]) - Static method in class org.javalite.http.Http
Executes a PATCH request.
patch(String, byte[], int, int) - Static method in class org.javalite.http.Http
Executes a PATCH request.
Patch - Class in org.javalite.http
Executes a PATCH request.
Patch(String, byte[], int, int) - Constructor for class org.javalite.http.Patch
Constructor for making PATCH requests.
pluralize(String) - Static method in class org.javalite.common.Inflector
 
post(String, String) - Static method in class org.javalite.http.Http
Executes a POST request.
post(String) - Static method in class org.javalite.http.Http
Executes a POST request.
post(String, byte[]) - Static method in class org.javalite.http.Http
Executes a POST request.
post(String, byte[], int, int) - Static method in class org.javalite.http.Http
Executes a POST request.
post(String, int, int) - Static method in class org.javalite.http.Http
Executes a POST request.
Post - Class in org.javalite.http
Executes a POST request.
Post(String, byte[], int, int) - Constructor for class org.javalite.http.Post
Constructor for making POST requests.
put(String, String) - Static method in class org.javalite.http.Http
Executes a PUT request.
put(String, byte[]) - Static method in class org.javalite.http.Http
Executes a PUT request.
put(String, byte[], int, int) - Static method in class org.javalite.http.Http
Executes a PUT request.
Put - Class in org.javalite.http
Executes a PUT request.
Put(String, byte[], int, int) - Constructor for class org.javalite.http.Put
Constructor for making PUT requests.
put(String...) - Static method in class org.javalite.logging.Context
Add multiple values in a classical JavaLite style.

R

read(InputStream) - Static method in class org.javalite.common.Util
Reads contents of the input stream fully and returns it as String.
read(InputStream, String) - Static method in class org.javalite.common.Util
Reads contents of the input stream fully and returns it as String.
read(File) - Static method in class org.javalite.common.Util
Reads file into a byte array.
READ_TIMEOUT - Static variable in class org.javalite.http.Http
Read timeout in milliseconds.
readFile(String) - Static method in class org.javalite.common.Util
Reads contents of file fully and returns as string.
readFile(String, String) - Static method in class org.javalite.common.Util
Reads contents of file fully and returns as string.
readProperties(String) - Static method in class org.javalite.common.Util
Reads a property file from classpath or from a file system to a properties object.
readResource(String) - Static method in class org.javalite.common.Util
Reads contents of resource fully into a string.
readResource(String, String) - Static method in class org.javalite.common.Util
Reads contents of resource fully into a string.
readResourceBytes(String) - Static method in class org.javalite.common.Util
Reads contents of resource fully into a byte array.
redirect - Variable in class org.javalite.http.Request
 
redirect(boolean) - Method in class org.javalite.http.Request
Configures this request to follow redirects.
repeat(StringBuilder, String, int) - Static method in class org.javalite.common.Util
Repeats string of characters a defined number of times, and appends result to StringBuilder.
replaceError() - Static method in class org.javalite.test.SystemStreamUtil
Replaces System.err with internal buffer.
replaceOut() - Static method in class org.javalite.test.SystemStreamUtil
Replaces System.out with internal buffer.
Request<T extends Request> - Class in org.javalite.http
This class provides static convenience methods for simple HTTP requests.
Request(String, int, int) - Constructor for class org.javalite.http.Request
 
requiresLayout() - Method in class org.javalite.logging.LoggingTestAppender
 
Response(String, String) - Constructor for class org.javalite.common.RuntimeUtil.Response
 
responseCode() - Method in class org.javalite.http.Request
Returns HTTP response code.
responseMessage() - Method in class org.javalite.http.Request
Returns response message from server, such as "OK", or "Created", etc.
restoreSystemErr() - Static method in class org.javalite.test.SystemStreamUtil
Restores System.err to former glory.
restoreSystemOut() - Static method in class org.javalite.test.SystemStreamUtil
Restores System.out to former glory.
RuntimeUtil - Class in org.javalite.common
Utility class to shell out system commands
RuntimeUtil() - Constructor for class org.javalite.common.RuntimeUtil
 
RuntimeUtil.Response - Class in org.javalite.common
 

S

sanitize(String) - Static method in class org.javalite.common.JsonHelper
Escapes control characters in a string.
sanitize(String, boolean) - Static method in class org.javalite.common.JsonHelper
 
sanitize(String, boolean, Character...) - Static method in class org.javalite.common.JsonHelper
Escapes control characters in a string when you need to generate JSON.
saveTo(String, InputStream) - Static method in class org.javalite.common.Util
Saves content read from input stream into a file.
saveTo(String, byte[]) - Static method in class org.javalite.common.Util
Saves content of byte array to file.
selectStrings(String, String) - Static method in class org.javalite.test.XPathHelper
Selects text nodes as list of strings
selectText(String) - Method in class org.javalite.test.XPathHelper
Retrieves text of a single node.
selectText(String, String) - Static method in class org.javalite.test.XPathHelper
Selects text from a single node.
set(T...) - Static method in class org.javalite.common.Collections
Creates a set from values.
setDateFormatPattern(String) - Method in class org.javalite.logging.JsonLog4jLayout
Property for specifying date format.
setName(String) - Method in class org.javalite.http.FormField
 
shortName(String) - Static method in class org.javalite.common.Inflector
Deprecated.
Use clazz.getSimpleName() instead of Inflector.shortName(clazz.getName()).
shouldBe(String) - Method in class org.javalite.test.jspec.Expectation
Invokes a boolean method and uses return value in comparison.
shouldBeA(Class) - Method in class org.javalite.test.jspec.Expectation
Tests that the Tested value is a specific type.
shouldBeEqual(T) - Method in class org.javalite.test.jspec.Expectation
Tested value is equal expected.
shouldBeFalse() - Method in class org.javalite.test.jspec.Expectation
Tested value should be false.
shouldBeNull() - Method in class org.javalite.test.jspec.Expectation
Tested value should be null.
shouldBeTheSameAs(T) - Method in class org.javalite.test.jspec.Expectation
Tested value is the same reference value as expected.
shouldBeTrue() - Method in class org.javalite.test.jspec.Expectation
Tested value should be true.
shouldBeType(Class) - Method in class org.javalite.test.jspec.Expectation
Tests that the Tested value is a specific type.
shouldContain(Object) - Method in class org.javalite.test.jspec.Expectation
Tests that an expected value is contained in the tested object.
shouldEqual(T) - Method in class org.javalite.test.jspec.Expectation
shouldHave(String) - Method in class org.javalite.test.jspec.Expectation
This is for cases suh as: "hasErrors()": a(p).shouldHave("errors").
shouldNotBe(String) - Method in class org.javalite.test.jspec.Expectation
Invokes a boolean method and uses return value in comparison.
shouldNotBeEqual(T) - Method in class org.javalite.test.jspec.Expectation
Tested and expected values are not equal.
shouldNotBeNull() - Method in class org.javalite.test.jspec.Expectation
Tested reference should not be null.
shouldNotBeTheSameAs(T) - Method in class org.javalite.test.jspec.Expectation
Tested value is not the same reference value as expected.
shouldNotContain(Object) - Method in class org.javalite.test.jspec.Expectation
This method is exactly opposite (negated) of Expectation.shouldContain(Object).
shouldNotHave(String) - Method in class org.javalite.test.jspec.Expectation
This is for cases suh as: "hasErrors()": a(p).shouldNotHave("errors").
singularize(String) - Static method in class org.javalite.common.Inflector
 
split(String, String) - Static method in class org.javalite.common.Util
Splits a string into an array using provided delimiters.
split(String, char) - Static method in class org.javalite.common.Util
Splits a string into an array using provided delimiter.
SystemStreamUtil - Class in org.javalite.test
This class can be used to catch standard and error outputs in tests so as not to pollute test printout with "good" exceptions stack traces.

T

tableize(String) - Static method in class org.javalite.common.Inflector
Converts a camel case to underscore and then pluralizes.
Templator - Class in org.javalite.common
Simple implementation of small quick templates filled with dynamic data. An example of a template:
Templator(String) - Constructor for class org.javalite.common.Templator
 
TestException - Exception in org.javalite.test.jspec
 
TestException() - Constructor for exception org.javalite.test.jspec.TestException
 
TestException(String) - Constructor for exception org.javalite.test.jspec.TestException
 
TestException(String, Throwable) - Constructor for exception org.javalite.test.jspec.TestException
 
TestException(Throwable) - Constructor for exception org.javalite.test.jspec.TestException
 
text() - Method in class org.javalite.http.Request
Fetches response content from server as String.
text(String) - Method in class org.javalite.http.Request
Fetches response content from server as String.
the(Object) - Static method in class org.javalite.test.jspec.JSpec
 
the(Object) - Method in interface org.javalite.test.jspec.JSpecSupport
 
toBase64(byte[]) - Static method in class org.javalite.common.Util
Will encode byte array using Base64 encoding.
toBigDecimal(Object) - Static method in class org.javalite.common.Convert
Converts value to BigDecimal if it can.
toBoolean(Object) - Static method in class org.javalite.common.Convert
Returns true if the value is any numeric type and has a value of 1, or if string type has a value of '1', 't', 'y', 'true' or 'yes'.
toBytes(Object) - Static method in class org.javalite.common.Convert
Converts value to bytes array if it can.
toBytes(Blob) - Static method in class org.javalite.common.Convert
Converts java.sql.Blob to bytes array.
toDouble(Object) - Static method in class org.javalite.common.Convert
Converts any value to Double.
toFloat(Object) - Static method in class org.javalite.common.Convert
Converts value to Float if it can.
toHumanFormat(long, long) - Static method in class org.javalite.common.HumanDate
Generates a human representation of distance in time between two time stamps.
toHumanFormat(long) - Static method in class org.javalite.common.HumanDate
This is a convenience method in addition to HumanDate.toHumanFormat(long, long), except the second parameter is always now.
toInteger(Object) - Static method in class org.javalite.common.Convert
Converts value to Integer if it can.
toIsoString(Date) - Static method in class org.javalite.common.Convert
Converts a 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.
toJSON() - Static method in class org.javalite.logging.Context
 
toJsonObject(Object...) - Static method in class org.javalite.common.JsonHelper
Converts input into a JSON object.
toJsonString(Object) - Static method in class org.javalite.common.JsonHelper
Convert Java object to a JSON string.
toList(String) - Static method in class org.javalite.common.JsonHelper
Convert JSON array tp Java List
toLong(Object) - Static method in class org.javalite.common.Convert
Converts value to Long if it can.
toMap(String) - Static method in class org.javalite.common.JsonHelper
Convert a JSON map to a Java Map
toMaps(String) - Static method in class org.javalite.common.JsonHelper
Convert JSON Array to Java array of maps.
toShort(Object) - Static method in class org.javalite.common.Convert
Converts value to Short if it can.
toSqlDate(Object) - Static method in class org.javalite.common.Convert
Expects a 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.
toString(Object) - Static method in class org.javalite.common.Convert
Returns string representation of an object, including Clob.
toTime(Object) - Static method in class org.javalite.common.Convert
If the value is instance of java.sql.Time, returns it, else tries to convert java.util.Date or Long to Time, else tries to convert using Time.valueOf(String).
toTimestamp(Object) - Static method in class org.javalite.common.Convert
If the value is instance of java.sql.Timestamp, returns it, else tries to convert java.util.Date or Long to Timestamp, else tries to convert using Timestamp.valueOf(String).
truncateToSqlDate(Object) - Static method in class org.javalite.common.Convert
Expects a java.sql.Date, java.sql.Timestamp, java.sql.Time, java.util.Date, Long or string with format "yyyy-MM-dd".
truncateToSqlDate(long) - Static method in class org.javalite.common.Convert
This method will truncate hours, minutes, seconds and milliseconds to zeros, to conform with JDBC spec: http://download.oracle.com/javase/6/docs/api/java/sql/Date.html.

U

underscore(String) - Static method in class org.javalite.common.Inflector
Converts a CamelCase string to underscores: "AliceInWonderLand" becomes: "alice_in_wonderland"
unescape(String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Unescapes the entities in a String.
unescape(StringBuilder, String) - Method in class org.javalite.common.XmlEntities
Deprecated.
Unescapes the escaped entities in the String passed and writes the result to the StringBuilder passed.
unescape(Writer, String) - Method in class org.javalite.common.XmlEntities
Deprecated.
url - Variable in class org.javalite.http.Request
 
Util - Class in org.javalite.common
 

W

withoutPadding() - Method in class org.javalite.common.Base64.Encoder
Returns an encoder instance that encodes equivalently to this one, but without adding any padding character at the end of the encoded byte data.
wrap(InputStream) - Method in class org.javalite.common.Base64.Decoder
Returns an input stream for decoding Base64 encoded byte stream.
wrap(OutputStream) - Method in class org.javalite.common.Base64.Encoder
Wraps an output stream for encoding byte data using the Base64 encoding scheme.

X

xml(StringBuilder, String) - Static method in class org.javalite.common.Escape
Escapes XML appending to StringBuilder.
xml(String) - Static method in class org.javalite.common.Escape
Escapes XML.
XML - Static variable in class org.javalite.common.XmlEntities
Deprecated.
The set of entities supported by standard XML.
XmlEntities - Class in org.javalite.common
Deprecated.
use Apache Commons or Escape instead
XmlEntities() - Constructor for class org.javalite.common.XmlEntities
Deprecated.
Default constructor.
XPathHelper - Class in org.javalite.test
Convenience class for pulling information from XML documents.
XPathHelper(String) - Constructor for class org.javalite.test.XPathHelper
Use constructor and instance methods to only parse once and reuse a parsed tree.
$ A B C D E F G H I J L M O P R S T U W X 
Skip navigation links

Copyright © 2018 JavaLite. All rights reserved.