- 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.
- canConvert(Class, Class) - Method in enum org.javalite.conversion.BlankToNullConverter
-
- canConvert(Class, Class) - Method in interface org.javalite.conversion.Converter
-
Returns true if this converter can convert instances of sourceClass to
destinationClass.
- canConvert(Class, Class) - Method in class org.javalite.conversion.ConverterAdapter
-
- canConvert(Class, Class) - Method in class org.javalite.conversion.DateToStringConverter
-
- canConvert(Class, Class) - Method in enum org.javalite.conversion.ZeroToNullConverter
-
- capitalize(String) - Static method in class org.javalite.common.Inflector
-
Capitalizes a word - only a first character is converted to upper case.
- CaseInsensitiveMap<V> - Class in org.javalite.common
-
A case insensitive map for java.lang.String keys.
- CaseInsensitiveMap() - Constructor for class org.javalite.common.CaseInsensitiveMap
-
- CaseInsensitiveMap(Map<? extends String, V>) - Constructor for class org.javalite.common.CaseInsensitiveMap
-
- CaseInsensitiveSet - Class in org.javalite.common
-
A case insensitive set for java.lang.String elements.
- CaseInsensitiveSet() - Constructor for class org.javalite.common.CaseInsensitiveSet
-
- CaseInsensitiveSet(Collection<? extends String>) - Constructor for class org.javalite.common.CaseInsensitiveSet
-
- 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.
- clear() - Method in class org.javalite.validation.Errors
-
- closeQuietly(AutoCloseable) - Static method in class org.javalite.common.Util
-
Closes a resource and swallows exception if thrown during a close.
- closeQuietly(AutoCloseable...) - Static method in class org.javalite.common.Util
-
Close multiple resources.
- closeQuietly(List<T>) - Static method in class org.javalite.common.Util
-
Close multiple resources.
- 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.
- containsKey(Object) - Method in class org.javalite.validation.Errors
-
- containsValue(Object) - Method in class org.javalite.validation.Errors
-
- 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
-
- ConversionException - Exception in org.javalite.conversion
-
Class for conversion exceptions.
- ConversionException() - Constructor for exception org.javalite.conversion.ConversionException
-
- ConversionException(String) - Constructor for exception org.javalite.conversion.ConversionException
-
- ConversionException(String, Throwable) - Constructor for exception org.javalite.conversion.ConversionException
-
- ConversionException(Throwable) - Constructor for exception org.javalite.conversion.ConversionException
-
- Convert - Class in org.javalite.common
-
Convenience class for type conversions.
- convert(String) - Method in enum org.javalite.conversion.BlankToNullConverter
-
- convert(S) - Method in interface org.javalite.conversion.Converter
-
Converts instance of S to T.
- convert(S) - Method in class org.javalite.conversion.ConverterAdapter
-
- convert(Date) - Method in class org.javalite.conversion.DateToStringConverter
-
- convert(Number) - Method in enum org.javalite.conversion.ZeroToNullConverter
-
- Converter<S,T> - Interface in org.javalite.conversion
-
Converts instances of S to T.
- ConverterAdapter<S,T> - Class in org.javalite.conversion
-
Converts instances of S to T.
- ConverterAdapter() - Constructor for class org.javalite.conversion.ConverterAdapter
-
- converterForClass(String, Class<S>, Class<T>) - Method in class org.javalite.validation.ValidationSupport
-
Returns converter for specified model attribute, able to convert from sourceClass to destinationClass.
- converterForValue(String, Object, Class<T>) - Method in class org.javalite.validation.ValidationSupport
-
Returns converter for specified model attribute, able to convert value to an instance of destinationClass.
- convertWith(Converter, String) - Method in class org.javalite.validation.ValidationSupport
-
Registers converter for specified model attribute.
- convertWith(Converter, String...) - Method in class org.javalite.validation.ValidationSupport
-
Registers converter for specified model attributes.
- 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.
- createAppender(String, Layout, Filter) - Static method in class org.javalite.logging.SystemOutAppender
-
- createLayout(Charset, String) - Static method in class org.javalite.logging.JsonLog4j2Layout
-
- createTree(Path) - Static method in class org.javalite.common.Util
-
Creates directories recursively.
- EmailValidator - Class in org.javalite.validation
-
- EmailValidator(String) - Constructor for class org.javalite.validation.EmailValidator
-
- 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.
- entrySet() - Method in class org.javalite.validation.Errors
-
- equals(Object) - Method in class org.javalite.validation.AttributePresenceValidator
-
- err - Variable in class org.javalite.common.RuntimeUtil.Response
-
- Errors - Class in org.javalite.validation
-
Collection of error messages generated by validation process.
- Errors() - Constructor for class org.javalite.validation.Errors
-
- errors() - Method in interface org.javalite.validation.Validatable
-
Provides an instance of localized Errors object, filled with error messages after validation.
- errors(Locale) - Method in interface org.javalite.validation.Validatable
-
Provides an instance of localized Errors object, filled with error messages after validation.
- errors() - Method in exception org.javalite.validation.ValidationException
-
Convenience method, returns the same object with errors that is attached to a model generated this exception.
- errors(Locale) - Method in exception org.javalite.validation.ValidationException
-
Convenience method, returns the same object with errors that is attached to a model generated this exception.
- errors() - Method in class org.javalite.validation.ValidationSupport
-
Provides an instance of Errors object, filled with error messages after validation.
- errors(Locale) - Method in class org.javalite.validation.ValidationSupport
-
Provides an instance of localized Errors object, filled with error messages after validation.
- Escape - Class in org.javalite.common
-
- escapeControlChars(String) - Static method in class org.javalite.common.JsonHelper
-
Escapes control characters in a string.
- Exact - Class in org.javalite.validation.length
-
The attribute length must be equal to a given value.
- 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(int, String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution at the current location.
- execute(int, File, List<String>, String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution.
- execute(int, File, String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution.
- execute(String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution.
- execute(String) - Static method in class org.javalite.common.RuntimeUtil
-
- exitValue - Variable in class org.javalite.common.RuntimeUtil.Response
-
- expect(ExceptionExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
-
- expect(Class<T>, String, Runnable) - Static method in class org.javalite.test.jspec.JSpec
-
Expect an exception.
- expect(ExceptionExpectation<T>, String) - 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
-
- 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
- get(Object) - Method in class org.javalite.validation.Errors
-
Provides a message from a resource bundle activejdbc_messages.
- get(String, Object...) - Method in class org.javalite.validation.Errors
-
Provides a message from the resource bundle activejdbc_messages which is merged
with parameters.
- get(String) - Method in interface org.javalite.validation.Validatable
-
Used by validators to get values
- get(String) - Method in class org.javalite.validation.ValidationSupport
-
Returns a value of an attribute.
- getCauseMessage(Throwable) - Static method in class org.javalite.common.Util
-
This is stolen...ehrr...
- getClazz() - Method in class org.javalite.test.jspec.ExceptionExpectation
-
- getDecoder() - Static method in class org.javalite.common.Base64
-
- getEncoder() - Static method in class org.javalite.common.Base64
-
- getExpected() - Method in class org.javalite.test.jspec.DifferenceExpectation
-
- getField(String, Class) - Static method in class org.javalite.common.Util
-
Gets a field from a class.
- 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.
- getMessage() - Method in exception org.javalite.validation.ValidationException
-
- getMessage() - Method in class org.javalite.validation.ValidatorAdapter
-
- getMessageParameters() - Method in class org.javalite.validation.length.Exact
-
- getMessageParameters() - Method in interface org.javalite.validation.length.LengthOption
-
- getMessageParameters() - Method in class org.javalite.validation.length.Max
-
- getMessageParameters() - Method in class org.javalite.validation.length.Min
-
- getMessageParameters() - Method in class org.javalite.validation.length.Range
-
- getMimeDecoder() - Static method in class org.javalite.common.Base64
-
- getMimeEncoder() - Static method in class org.javalite.common.Base64
-
- 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.
- getParametrizedMessage() - Method in class org.javalite.validation.length.Exact
-
- getParametrizedMessage() - Method in interface org.javalite.validation.length.LengthOption
-
- getParametrizedMessage() - Method in class org.javalite.validation.length.Max
-
- getParametrizedMessage() - Method in class org.javalite.validation.length.Min
-
- getParametrizedMessage() - Method in class org.javalite.validation.length.Range
-
- 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
-
- getUrlEncoder() - Static method in class org.javalite.common.Base64
-
- getValue() - Method in class org.javalite.http.FormField
-
- greaterThan(double) - Method in class org.javalite.validation.NumericValidationBuilder
-
Specify a lower bound for a value, not inclusive.
- gsub(String, String, String) - Static method in class org.javalite.common.Inflector
-
Replaces a found pattern in a word and returns a transformed word.
- Range - Class in org.javalite.validation.length
-
The attribute length must be between the given minimum and maximum length (inclusive).
- RangeValidator - Class in org.javalite.validation
-
- RangeValidator(String, Number, Number) - Constructor for class org.javalite.validation.RangeValidator
-
- 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.
- recursiveDelete(Path) - Static method in class org.javalite.common.Util
-
Deletes a directory recursively with all its contents.
- redirect - Variable in class org.javalite.http.Request
-
- redirect(boolean) - Method in class org.javalite.http.Request
-
Configures this request to follow redirects.
- RegexpValidator - Class in org.javalite.validation
-
- RegexpValidator(String, String) - Constructor for class org.javalite.validation.RegexpValidator
-
- remove(Object) - Method in class org.javalite.validation.Errors
-
- removeValidator(Validator) - Method in class org.javalite.validation.ValidationSupport
-
- 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
-
- 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
-
- 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.
- setAllowNull(Boolean) - Method in class org.javalite.validation.NumericValidator
-
- setLocale(Locale) - Method in class org.javalite.validation.Errors
-
Sets a locale on this instance.
- setMax(Double) - Method in class org.javalite.validation.NumericValidator
-
- setMessage(String) - Method in interface org.javalite.validation.Validator
-
Sets an message on this validator.
- setMessage(String) - Method in class org.javalite.validation.ValidatorAdapter
-
- setMin(Double) - Method in class org.javalite.validation.NumericValidator
-
- setName(String) - Method in class org.javalite.http.FormField
-
- setOnlyInteger(boolean) - Method in class org.javalite.validation.NumericValidator
-
- 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
-
- 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
-
- size() - Method in class org.javalite.validation.Errors
-
- sourceClass() - Method in class org.javalite.conversion.ConverterAdapter
-
- sourceClass() - Method in class org.javalite.conversion.StringToSqlDateConverter
-
- sourceClass() - Method in class org.javalite.conversion.StringToTimestampConverter
-
- 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.
- StringToSqlDateConverter - Class in org.javalite.conversion
-
- StringToSqlDateConverter(String) - Constructor for class org.javalite.conversion.StringToSqlDateConverter
-
- StringToSqlDateConverter(DateFormat) - Constructor for class org.javalite.conversion.StringToSqlDateConverter
-
- StringToTimestampConverter - Class in org.javalite.conversion
-
- StringToTimestampConverter(String) - Constructor for class org.javalite.conversion.StringToTimestampConverter
-
- StringToTimestampConverter(DateFormat) - Constructor for class org.javalite.conversion.StringToTimestampConverter
-
- SystemOutAppender - Class in org.javalite.logging
-
Primitive appender, only for testing (tired fighting log4j for my output!).
- SystemOutAppender(String, Layout) - Constructor for class org.javalite.logging.SystemOutAppender
-
- 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.
- 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
-
- timestampFormat(String, String...) - Method in class org.javalite.validation.ValidationSupport
-
Registers timestamp converters (Date -> String -> java.sql.Timestamp) for specified model attributes.
- timestampFormat(DateFormat, String...) - Method in class org.javalite.validation.ValidationSupport
-
Registers timestamp converters (Date -> String -> java.sql.Timestamp) for specified model attributes.
- TimestampValidator - Class in org.javalite.validation
-
Validates presence and correct format of a string.
- TimestampValidator(String, String) - Constructor for class org.javalite.validation.TimestampValidator
-
- 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
-
- 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
-
- toJSON() - Method in class org.javalite.validation.Errors
-
- 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.
- toJsonString(Object, boolean) - 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.
- toSerializable(LogEvent) - Method in class org.javalite.logging.JsonLog4j2Layout
-
Formats a LogEvent.
- 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.
- toString() - Method in class org.javalite.validation.Errors
-
- 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
-