Skip navigation links
A C D E F G H I J K M N O P R S T U V W 

A

andCondition(CharSequence, Object) - Method in class org.ujorm.tools.JdbcBuilder
Add an condition for a valid argument joined by AND operator
andCondition(CharSequence, String, Object) - Method in class org.ujorm.tools.JdbcBuilder
Add an equals condition for a valid argument joined by AND operator
appendValue(Object) - Method in class org.ujorm.tools.SimpleValuePrinter
Append value
arguments - Variable in class org.ujorm.tools.JdbcBuilder
Seznam argumentů
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
 
column(CharSequence) - Method in class org.ujorm.tools.JdbcBuilder
Add new column
columnCounter - Variable in class org.ujorm.tools.JdbcBuilder
Column counter
columnInsert(CharSequence, Object) - Method in class org.ujorm.tools.JdbcBuilder
Set new value to column by template {@code name = ?
columnUpdate(CharSequence, Object) - Method in class org.ujorm.tools.JdbcBuilder
Set new value to column by template {@code name = ?
concat(JdbcBuilder) - Method in class org.ujorm.tools.JdbcBuilder
Concatenates the specified statement to the end of this statement.
condition(CharSequence, Object, Boolean) - Method in class org.ujorm.tools.JdbcBuilder
Add an condition for an argument with length
condition(CharSequence, String, Object, Boolean) - Method in class org.ujorm.tools.JdbcBuilder
Add an condition for an argument with length
conditionCounter - Variable in class org.ujorm.tools.JdbcBuilder
Condition counter
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

emptySql - Variable in class org.ujorm.tools.JdbcBuilder
The SQL buffer has assigned an character
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
executeUpdate(Connection) - Method in class org.ujorm.tools.JdbcBuilder
Create statement and call PreparedStatement.executeUpdate() .

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(CharSequence, 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
 
getArguments() - Method in class org.ujorm.tools.JdbcBuilder
Array of JDBC argumets
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
getSql() - Method in class org.ujorm.tools.JdbcBuilder
Returns a SQL text
getValue(Map<String, Object>) - Method in class org.ujorm.tools.MessageArg
Get a value from a map
getWriter() - Method in class org.ujorm.tools.SimpleValuePrinter
Standarad writter

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

insertMode - Variable in class org.ujorm.tools.JdbcBuilder
An insert sign for different rendering
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.
ITEM_SEPARATOR - Static variable in class org.ujorm.tools.JdbcBuilder
Separator of database columns

J

JdbcBuilder - Class in org.ujorm.tools
PrepareStatement builder support
JdbcBuilder() - Constructor for class org.ujorm.tools.JdbcBuilder
Default constructor
JdbcBuilder(StringBuilder) - Constructor for class org.ujorm.tools.JdbcBuilder
StringBuilder construcor

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

orCondition(CharSequence, Object) - Method in class org.ujorm.tools.JdbcBuilder
Add an condition for a valid argument joined by OR operator
orCondition(CharSequence, String, Object) - Method in class org.ujorm.tools.JdbcBuilder
Add an equals condition for a valid argument joined by OR operator
org.ujorm.tools - package org.ujorm.tools
 
originalKey - Variable in class org.ujorm.tools.CustomMap.DefaultMapKey
 
out - Variable in class org.ujorm.tools.SimpleValuePrinter
Writer

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.
prepareStatement(Connection) - Method in class org.ujorm.tools.JdbcBuilder
Build the PreparedStatement with arguments
put(K, V) - Method in class org.ujorm.tools.CustomMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.ujorm.tools.CustomMap
 

R

rawArguments(Object...) - Method in class org.ujorm.tools.JdbcBuilder
Add raw arguments for special use
rawWrite(CharSequence) - Method in class org.ujorm.tools.JdbcBuilder
Write argument with no space
remove(Object) - Method in class org.ujorm.tools.CustomMap
 

S

SEPARATOR - Static variable in class org.ujorm.tools.MsgFormatter
Separator
SimpleValuePrinter - Class in org.ujorm.tools
Print values to an output
SimpleValuePrinter(int) - Constructor for class org.ujorm.tools.SimpleValuePrinter
Constructor
SimpleValuePrinter(CharArrayWriter) - Constructor for class org.ujorm.tools.SimpleValuePrinter
Constructor
SimpleValuePrinter(String, String, CharArrayWriter) - Constructor for class org.ujorm.tools.SimpleValuePrinter
Constructor
size() - Method in class org.ujorm.tools.CustomMap
 
SPACE - Static variable in class org.ujorm.tools.JdbcBuilder
A value marker for SQL
sql - Variable in class org.ujorm.tools.JdbcBuilder
Opening SQL string

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.JdbcBuilder
Returns a SQL including values
toString() - Method in class org.ujorm.tools.MessageArg
Returns the name
toString() - Method in class org.ujorm.tools.SimpleValuePrinter
Writer result

U

uniqueValue(Class<T>, Connection) - Method in class org.ujorm.tools.JdbcBuilder
Return the first column value of a unique resultset, else returns null value

V

validState(boolean, Object...) - Static method in class org.ujorm.tools.Assert
If the value Checks if the argument is true.
value(Object) - Method in class org.ujorm.tools.JdbcBuilder
Add new value
VALUE_MARKER - Static variable in class org.ujorm.tools.JdbcBuilder
A value marker for SQL
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

write(CharSequence) - Method in class org.ujorm.tools.JdbcBuilder
If buffer is an empty, than the space is introduced
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 J K M N O P R S T U V W 
Skip navigation links

Copyright 2015, Pavel Ponec