Skip navigation links
A C D F G H I M N O P S T V W 

A

Assert - Class in org.ujorm.tools
Assertion utils, where all method can throw the IllegalArgumentException exception only.

C

Check - Class in org.ujorm.tools
Common checker.
convertKey(Object) - Method in class org.ujorm.tools.MessageService
Convert value.

D

DEFAULT_MARK - Static variable in class org.ujorm.tools.MsgFormatter
Parameter mark
defaultLocale - Variable in class org.ujorm.tools.MessageService
Default locale

F

format(String, Map<String, Object>) - Method in class org.ujorm.tools.MessageService
Format a template message using named variables.
format(String, Map<String, Object>, Locale) - Method in class org.ujorm.tools.MessageService
Format a template message using named variables.
format(String, Object...) - Static method in class org.ujorm.tools.MsgFormatter
Format the message, see the next correct asserts:
  assertEquals("TEST"    , MsgFormatter.format("TE{}T", "S"));
  assertEquals("TE, S, T", MsgFormatter.format("TE", "S", "T"));
  assertEquals("TES{}"   , MsgFormatter.format("TE{}{}", "S"));
 
format(Object...) - Static method in class org.ujorm.tools.MsgFormatter
Format the message from Object array
format(String, Object...) - Static method in class org.ujorm.tools.ValueFormatter
Format the message, see the next correct asserts:
  assertEquals("TEST"    , MsgFormatter.format("TE{}T", "S"));
  assertEquals("TE, S, T", MsgFormatter.format("TE", "S", "T"));
  assertEquals("TES{}"   , MsgFormatter.format("TE{}{}", "S"));
 
formatMsg(String, Map<String, Object>) - Static method in class org.ujorm.tools.MessageService
Format a target message by a template with arguments
formatMsg(String, Object...) - Method in class org.ujorm.tools.MsgFormatter
Format the message, see the next correct asserts:
  assertEquals("TEST"    , MsgFormatter.format("TE{}T", "S"));
  assertEquals("TE, S, T", MsgFormatter.format("TE", "S", "T"));
  assertEquals("TES{}"   , MsgFormatter.format("TE{}{}", "S"));
 
formatMsg(Object...) - Method in class org.ujorm.tools.MsgFormatter
Format the message from Object array
formatSql(String, Object...) - Static method in class org.ujorm.tools.ValueFormatter
Format the SQL where makup character is '?'.

G

getFormat() - Method in class org.ujorm.tools.MessageArg
Get optional format of the argument
getName() - Method in class org.ujorm.tools.MessageArg
Get Name of argument
getSizeLimit() - Method in class org.ujorm.tools.ValueFormatter
Default lenhth is 32
getValue(Map<String, Object>) - Method in class org.ujorm.tools.MessageArg
Get a value from a map

H

hasLength(byte[], Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(char[], Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(Object[], Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(Collection<?>, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(Map<?, ?>, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(CharSequence, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
hasLength(byte[]) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(char[]) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(Object...) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(Collection<?>) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(Map<?, ?>) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.
hasLength(CharSequence) - Static method in class org.ujorm.tools.Check
Checks if the argument is not empty, nor null.

I

isEmpty(byte[], Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(char[], Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(Object[], Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(Collection<?>, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(Map<?, ?>, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(CharSequence, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not empty, nor null.
isEmpty(byte[]) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(char[]) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(Object...) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(Collection<?>) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(Map<?, ?>) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isEmpty(CharSequence) - Static method in class org.ujorm.tools.Check
Checks if the argument is empty or null.
isFalse(boolean) - Static method in class org.ujorm.tools.Assert
Checks if the argument is false.
isFalse(boolean, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is false.
isFalse(T, Predicate<T>, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not null and result of the the method Predicate.test() is false.
isFalseNullable(T, Predicate<T>, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument of the the method Predicate.test() is false.
isNull(Object) - Static method in class org.ujorm.tools.Assert
Checks if the argument is null.
isNull(Object, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is null.
isTrue(boolean) - Static method in class org.ujorm.tools.Assert
Checks if the argument is true.
isTrue(boolean, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is true.
isTrue(T, Predicate<T>, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the value is not null and result of the the method Predicate.test() is true.
isTrueNullable(T, Predicate<T>, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the value is result of the the method Predicate.test() is true.

M

map(Object...) - Method in class org.ujorm.tools.MessageService
Create a map from man pairs key-value
MessageArg<T> - Class in org.ujorm.tools
Message Argument
MessageArg(String) - Constructor for class org.ujorm.tools.MessageArg
Name constructor
MessageArg(String, String) - Constructor for class org.ujorm.tools.MessageArg
Common constructor
MessageService - Class in org.ujorm.tools
Message Service.
MessageService() - Constructor for class org.ujorm.tools.MessageService
Create new instance with the Locale.ENGLISH
MessageService(Locale) - Constructor for class org.ujorm.tools.MessageService
 
MsgFormatter - Class in org.ujorm.tools
Formatter of log messages where argument is located by the {} characters.
MsgFormatter() - Constructor for class org.ujorm.tools.MsgFormatter
Static methods are available only
MsgFormatter(String) - Constructor for class org.ujorm.tools.MsgFormatter
Static methods are available only

N

NO_MESSAGE - Static variable in class org.ujorm.tools.Assert
No messge constant
notNull(Object) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not null.
notNull(Object, Object...) - Static method in class org.ujorm.tools.Assert
Checks if the argument is not null.

O

org.ujorm.tools - package org.ujorm.tools
 

P

PARAM_BEG - Static variable in class org.ujorm.tools.MessageService
Two-character mark ("${") to introducing a template argument.
PARAM_END - Static variable in class org.ujorm.tools.MessageService
The mark ("}") to finishing a template argument.

S

SEPARATOR - Static variable in class org.ujorm.tools.MsgFormatter
Separator

T

template(Object...) - Method in class org.ujorm.tools.MessageService
Create a message template from argument pairs key-value
toString() - Method in class org.ujorm.tools.MessageArg
Returns the name

V

valueBorder - Variable in class org.ujorm.tools.ValueFormatter
Border of the byte array
ValueFormatter - Class in org.ujorm.tools
Formatter of log messages where argument is located by the {} characters.
ValueFormatter() - Constructor for class org.ujorm.tools.ValueFormatter
Static methods are available only
ValueFormatter(String, String) - Constructor for class org.ujorm.tools.ValueFormatter
Static methods are available only

W

writeByteArray(byte[], CharArrayWriter) - Method in class org.ujorm.tools.ValueFormatter
Write bytes as hexa
writeLongValue(CharSequence, CharArrayWriter) - Method in class org.ujorm.tools.ValueFormatter
You can call the method from a child class
writeValue(Object, CharArrayWriter, Locale) - Method in class org.ujorm.tools.MessageService
Write a value to the output buffer.
writeValue(Object, CharArrayWriter, boolean) - Method in class org.ujorm.tools.MsgFormatter
Print argument to the Writter with an optional format.
writeValue(Object, CharArrayWriter, boolean) - Method in class org.ujorm.tools.ValueFormatter
Print argument to the Writter with an optional format.
A C D F G H I M N O P S T V W 
Skip navigation links

Copyright 2015, Pavel Ponec