Skip navigation links
A C D E F G H I K M N O P R 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.
clear() - Method in class org.ujorm.tools.CustomMap
 
containsKey(Object) - Method in class org.ujorm.tools.CustomMap
 
containsValue(Object) - Method in class org.ujorm.tools.CustomMap
 
convertKey(Object) - Method in class org.ujorm.tools.MessageService
Convert value.
CustomMap<K,V> - Class in org.ujorm.tools
Implementation of the Map interface where methods hash() and equals() can be customized for all the Map.
CustomMap() - Constructor for class org.ujorm.tools.CustomMap
The same mapper as a HashMap
CustomMap(Function<K, MapKeyProxy<K>>) - Constructor for class org.ujorm.tools.CustomMap
Mapper with a required equals and hasCode maker
CustomMap(HashMap<MapKeyProxy<K>, V>, Function<K, MapKeyProxy<K>>) - Constructor for class org.ujorm.tools.CustomMap
Full configuration mapper
CustomMap.DefaultMapKey<K> - Class in org.ujorm.tools
A default implementation of the Map with customized hash() and equals() functions.

D

DEFAULT_MARK - Static variable in class org.ujorm.tools.MsgFormatter
Parameter mark
defaultLocale - Variable in class org.ujorm.tools.MessageService
Default locale
DefaultMapKey(K) - Constructor for class org.ujorm.tools.CustomMap.DefaultMapKey
 

E

entrySet() - Method in class org.ujorm.tools.CustomMap
Deprecated.
Method is not implemented yet.
equals(Object) - Method in class org.ujorm.tools.CustomMap.DefaultMapKey
 
equals(Object) - Method in interface org.ujorm.tools.MapKeyProxy
Make equals

F

firstItem(T, T...) - Static method in class org.ujorm.tools.Check
Method returns true if the first item equals the value
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

get(Object) - Method in class org.ujorm.tools.CustomMap
 
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
getOriginal() - Method in class org.ujorm.tools.CustomMap.DefaultMapKey
Get original key
getOriginal() - Method in interface org.ujorm.tools.MapKeyProxy
Get the original key
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

hashCode() - Method in class org.ujorm.tools.CustomMap.DefaultMapKey
 
hashCode() - Method in interface org.ujorm.tools.MapKeyProxy
Calculate hash code
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.
isEmpty() - Method in class org.ujorm.tools.CustomMap
 
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.

K

keySet() - Method in class org.ujorm.tools.CustomMap
 
keySetProxy() - Method in class org.ujorm.tools.CustomMap
Returns a set fo the proxy key

M

map(Object...) - Method in class org.ujorm.tools.MessageService
Create a map from man pairs key-value
MapKeyProxy<K> - Interface in org.ujorm.tools
Implementation of the Map with customize hash and equals functions.
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
 
originalKey - Variable in class org.ujorm.tools.CustomMap.DefaultMapKey
 

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.
put(K, V) - Method in class org.ujorm.tools.CustomMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.ujorm.tools.CustomMap
 

R

remove(Object) - Method in class org.ujorm.tools.CustomMap
 

S

SEPARATOR - Static variable in class org.ujorm.tools.MsgFormatter
Separator
size() - Method in class org.ujorm.tools.CustomMap
 

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.CustomMap.DefaultMapKey
 
toString() - Method in class org.ujorm.tools.MessageArg
Returns the name

V

validState(boolean, Object...) - Static method in class org.ujorm.tools.Assert
If the value Checks if the argument is true.
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
values() - Method in class org.ujorm.tools.CustomMap
 

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 E F G H I K M N O P R S T V W 
Skip navigation links

Copyright 2015, Pavel Ponec