- GenericFileParser - Class in org.nanoj.util.file
-
- GenericFileParser() - Constructor for class org.nanoj.util.file.GenericFileParser
-
Constructor
- GenericFileParser(String) - Constructor for class org.nanoj.util.file.GenericFileParser
-
Constructor
- get(String) - Method in class org.nanoj.util.http.HttpClient
-
- get(URL) - Method in class org.nanoj.util.http.HttpClient
-
- getAsString() - Method in class org.nanoj.util.http.HttpClientRequestBody
-
- getBodyContent() - Method in class org.nanoj.util.http.HttpClientResponse
-
Returns the content of the response body
- getCommentString() - Method in class org.nanoj.util.file.GenericFileParser
-
Returns the comment string
- getConfigFollowRedirects() - Static method in class org.nanoj.util.http.HttpClient
-
Returns the global "Follow Redirects" configuration
- getContentEncoding() - Method in class org.nanoj.util.http.HttpClientResponse
-
Returns the value of the "content-encoding" header field.
- getContentLength() - Method in class org.nanoj.util.http.HttpClientResponse
-
Returns the value of the "content-length" header field.
- getContentType() - Method in class org.nanoj.util.http.HttpClientResponse
-
Returns the value of the "content-type" header field.
- getCurrentDatabase() - Static method in class org.nanoj.util.tinydb.TinyDatabase
-
Returns the current database
- getDatabaseFolder() - Method in class org.nanoj.util.tinydb.TinyDatabase
-
Returns the database filesystem folder (where the tables are saved as files)
- getDay(Date) - Static method in class org.nanoj.util.DateUtil
-
Returns the day of the month for the given date
- getErrors() - Method in class org.nanoj.util.beanmapper.BeanMapper
-
- getErrors() - Method in class org.nanoj.util.beanmapper.PropertyErrorCollector
-
Returns the list of errors (or null if no error )
- getFieldByName(Class<?>, String) - Static method in class org.nanoj.util.introspection.BeanIntrospector
-
Returns the field identified by the given name
- getFollowRedirects() - Method in class org.nanoj.util.http.HttpClient
-
- getGetters(Object) - Static method in class org.nanoj.util.introspection.BeanIntrospector
-
Returns all the getters for the given bean class ( methods starting with "get" except "getClass" )
- getHeader(String) - Method in class org.nanoj.util.http.HttpClientResponse
-
Returns an unmodifiable List of Strings that represents the corresponding header field values.
- getHeaderMap() - Method in class org.nanoj.util.http.HttpClientResponse
-
Returns all the header fields ( including the http status ) stored in an unmodifiable Map
The Map keys are Strings that represent the response-header field names.
- getKeyClass() - Method in class org.nanoj.util.tinydb.TinyTable
-
Returns the class of the keys for this table
- getLogger(Class<?>) - Static method in class org.nanoj.util.ConsoleLoggerProvider
-
Returns a logger for the given class with the default "INFO" level
- getLogger(Class<?>, Level) - Static method in class org.nanoj.util.ConsoleLoggerProvider
-
Returns a logger for the given class with the given level
- getMethod() - Method in class org.nanoj.util.introspection.BeanGetter
-
- getMethod() - Method in class org.nanoj.util.introspection.BeanSetter
-
- getMethods(Object) - Static method in class org.nanoj.util.introspection.BeanIntrospector
-
Returns all the methods of the given bean class
- getMonth(Date) - Static method in class org.nanoj.util.DateUtil
-
Returns the month of the given date
- getPropertyName() - Method in class org.nanoj.util.introspection.BeanGetter
-
- getPropertyName() - Method in class org.nanoj.util.introspection.BeanSetter
-
- getPropertyType() - Method in class org.nanoj.util.introspection.BeanSetter
-
- getRecordClass() - Method in class org.nanoj.util.tinydb.TinyTable
-
Returns the class of the records stored in this table
- getResult() - Method in class org.nanoj.util.file.GenericFileParser
-
Returns the result of the file parsing
- getReturnType() - Method in class org.nanoj.util.introspection.BeanGetter
-
- getSeparatorChar() - Method in class org.nanoj.util.file.CSVFileParser
-
Returns the separator character
- getSetters(Object) - Static method in class org.nanoj.util.introspection.BeanIntrospector
-
Returns all the setters for the given bean class ( methods starting with "set" )
- getSqlDate(int, int, int) - Static method in class org.nanoj.util.DateUtil
-
Returns a java.sql.Date instance for the given day, month and year
- getStatusCode() - Method in class org.nanoj.util.http.HttpClientResponse
-
Returns the status code from an HTTP response message : 200 ( OK ), 404 ( Not Found ), etc
- getStatusMessage() - Method in class org.nanoj.util.http.HttpClientResponse
-
Returns the HTTP response message if any : "OK", "Not Found", "Unauthorized", etc
- getTable(String) - Method in class org.nanoj.util.tinydb.TinyDatabase
-
Returns the table object for the given table name
If the table doesn't exist an exception is thrown
The table returned is ready to use (its records are loaded)
- getTable(String, boolean) - Method in class org.nanoj.util.tinydb.TinyDatabase
-
Returns the table object for the given table name (or null if the table is unknown and 'mustExist' flag = 'false')
If a table is returned, it is ready to use (its records are loaded)
- getTableFile() - Method in class org.nanoj.util.tinydb.TinyTable
-
Returns the filename of this table (filesystem file path)
- getTableName() - Method in class org.nanoj.util.tinydb.TinyTable
-
Returns the logical name of this table
- getTableNames() - Method in class org.nanoj.util.tinydb.TinyDatabase
-
Returns all the table names registered in the database dictionary
- getTypedValue(Class<T>, String) - Method in class org.nanoj.util.beanmapper.BeanMapper
-
Returns the typed value instance after conversion from the given string value
- getUtilDate(int, int, int) - Static method in class org.nanoj.util.DateUtil
-
Returns a standard java.util.Date instance for the given day, month and year
- getYear(Date) - Static method in class org.nanoj.util.DateUtil
-
Returns the year of the given date
- JsonBeanTranslator - Class in org.nanoj.util.beanwriter
-
JSON implementation for BeanWriter
- JsonBeanTranslator() - Constructor for class org.nanoj.util.beanwriter.JsonBeanTranslator
-
Creates a new JSON translator
By default the output will not be formated
- JsonBeanTranslator(boolean) - Constructor for class org.nanoj.util.beanwriter.JsonBeanTranslator
-
Creates a new JSON translator
- jsonBool(boolean) - Static method in class org.nanoj.util.beanwriter.util.JsonUtil
-
Returns JSON literal value the given boolean value
- jsonBool(Boolean) - Static method in class org.nanoj.util.beanwriter.util.JsonUtil
-
Returns JSON literal value the given boolean object
- jsonDate(Date) - Static method in class org.nanoj.util.beanwriter.util.JsonUtil
-
There's no predefined format for Date objects in JSON
Here, just use a string in ISO format
- jsonNumber(Number) - Static method in class org.nanoj.util.beanwriter.util.JsonUtil
-
Returns JSON literal value for 'Number' instances (Byte, Short, Integer, Long, Float, Double, BigInteger, BigDecimal)
- jsonObjectValue(Object) - Static method in class org.nanoj.util.beanwriter.util.JsonUtil
-
Returns the JSON value of the given object
The supported objects are : String, Number, Boolean, Date (util/sql), Time, Timestamp, Character, StringBuffer
- jsonString(String) - Static method in class org.nanoj.util.beanwriter.util.JsonUtil
-
Convert "Standard Java String" to "JSON String value"
A String value in JSON is just the string itself between quotes,
with special characters protection ( \x )
- JsonUtil - Class in org.nanoj.util.beanwriter.util
-
Utility class for JSON operations ( set of static methods )