Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABCL - Class in org.kissweb.lisp
-
Utility functions to make it easy to interface between Java and Lisp.
- ABCL() - Constructor for class org.kissweb.lisp.ABCL
- add(Supplier<Integer>) - Static method in class org.kissweb.CL.Questions
-
Add a question.
- addDays(int) - Method in class org.kissweb.DateTime
-
Add days to a DateTime object.
- addDays(int, int) - Static method in class org.kissweb.DateUtils
-
Add N days to a date.
- addMonths(int, int) - Static method in class org.kissweb.DateUtils
-
Add N months to a date.
- addPageTitleLine(String) - Method in class org.kissweb.Groff
-
Add an additional line to the page title.
- addParameter(String, String) - Method in class org.kissweb.URLBuilder
-
Add a parameter to the URL.
- addRecord() - Method in class org.kissweb.database.Record
-
Inserts a new row into the database by creating an executing an SQL statement.
- addRecordAutoInc() - Method in class org.kissweb.database.Record
-
Works like addRecord() except that it returns the value of the serial/primary key column that the database used for the new record.
- addToJSON(JSONObject) - Method in class org.kissweb.database.Record
-
Add columns of a Record to an existing JSON object.
- addYears(int, int) - Static method in class org.kissweb.DateUtils
-
Add N years to a date.
- allowWithoutAuthentication(String, String) - Static method in class org.kissweb.restServer.MainServlet
-
Be default, all web service methods are authenticated.
- append(String, byte[]) - Static method in class org.kissweb.FileUtils
-
Append byte array to file fileName.
- append(String, Byte[]) - Static method in class org.kissweb.FileUtils
-
Append byte array to file fileName.
- append(String, String) - Static method in class org.kissweb.FileUtils
-
Append String to file fileName.
- ArrayListInteger - Class in org.kissweb.database
-
Author: Blake McBride Date: 4/29/22
- ArrayListInteger() - Constructor for class org.kissweb.database.ArrayListInteger
- ArrayListLong - Class in org.kissweb.database
-
Author: Blake McBride Date: 4/29/22
- ArrayListLong() - Constructor for class org.kissweb.database.ArrayListLong
- ArrayListShort - Class in org.kissweb.database
-
Author: Blake McBride Date: 4/29/22
- ArrayListShort() - Constructor for class org.kissweb.database.ArrayListShort
- ArrayListString - Class in org.kissweb.database
-
Author: Blake McBride Date: 4/29/22
- ArrayListString() - Constructor for class org.kissweb.database.ArrayListString
- ArrayListType<T> - Class in org.kissweb.database
-
In Java, there is no real way to detect the difference between the empty array lists
ArrayList<Integer>
andArrayList<String>
. - ArrayListType() - Constructor for class org.kissweb.database.ArrayListType
- ArrayUtils - Class in org.kissweb
-
Utility methods to help deal with arrays.
- ArrayUtils() - Constructor for class org.kissweb.ArrayUtils
B
- Base64 - Class in org.kissweb
-
Utility methods to deal with Base64.
- Base64() - Constructor for class org.kissweb.Base64
- basicAuthenticate(HttpServletRequest, HttpServletResponse, String, String, String) - Static method in class org.kissweb.RestServerBase
-
Support for Basic Authentication.
- basicAuthenticationHeader(String, String) - Static method in class org.kissweb.RestClient
-
The following builds a JSON header that implements HTTP basic authentication.
- build() - Static method in class org.kissweb.builder.Tasks
-
Build the whole system
1. - build() - Method in class org.kissweb.URLBuilder
-
Return the final usable URL.
- build(String[], Class<?>) - Static method in class org.kissweb.builder.BuildUtils
- buildJava(String, String, BuildUtils.LocalDependencies, BuildUtils.ForeignDependencies, String) - Static method in class org.kissweb.builder.BuildUtils
- buildJavadoc(String, String, String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Build JavaDocs
- buildSystem() - Static method in class org.kissweb.builder.Tasks
-
Build the system into explodedDir
- BuildUtils - Class in org.kissweb.builder
- BuildUtils() - Constructor for class org.kissweb.builder.BuildUtils
- BuildUtils.LocalDependencies - Class in org.kissweb.builder
- buildWS(BuildUtils.LocalDependencies, BuildUtils.ForeignDependencies, String, String, String) - Static method in class org.kissweb.builder.BuildUtils
C
- calendar(long) - Static method in class org.kissweb.DateUtils
-
Convert a julian date back into a standard date.
- cancel() - Method in class org.kissweb.Cron
-
Stop further evocation of all cron jobs.
- cd(String) - Method in class org.kissweb.FTP
-
Change directory on remote system.
- centerStrip(String) - Static method in class org.kissweb.StringUtils
-
Strip the spaces on both ends of a string.
- changeTimeZone(String) - Method in class org.kissweb.DateTime
-
Changes the time zone associated with this DateTime object to the specified time zone and returns the modified DateTime object.
- characterToString(Character) - Static method in class org.kissweb.StringUtils
-
Convert
Character
toString
correctly handling nulls. - checkHeaders(String[]) - Method in class org.kissweb.DelimitedFileReader
-
Checks if the given column titles exist in the delimited file.
- CL - Class in org.kissweb
-
Command Line IO.
- CL() - Constructor for class org.kissweb.CL
- CL.Entry - Class in org.kissweb
- CL.Questions - Class in org.kissweb
- clean() - Static method in class org.kissweb.builder.Tasks
-
Remove:
-- all files that were built
Do not remove:
-- the downloaded jar files, tomcat
-- the IDE files - clear() - Method in class org.kissweb.database.Record
-
Erases all the column information associated with a
Record
instance. - CLExample - Class in org.kissweb
-
Class that demonstrates the use of the CL class.
- CLExample() - Constructor for class org.kissweb.CLExample
- close() - Method in class org.kissweb.database.Command
-
This closes the Command instance.
- close() - Method in class org.kissweb.database.Connection
-
This method closes a connection.
- close() - Method in class org.kissweb.database.Cursor
-
Close the entire cursor.
- close() - Method in class org.kissweb.database.Record
-
Closes any open prepared statements against this record.
- close() - Method in class org.kissweb.DelimitedFileReader
-
Close the CSV file.
- close() - Method in class org.kissweb.DelimitedFileWriter
-
Close the CSV file being created.
- close() - Method in class org.kissweb.FTP
-
Close the connection.
- column(double, String, int) - Method in class org.kissweb.Groff
-
Output a numeric double column
msk
is aString
consisting of the following characters: B = blank if zero C = add commas L = left justify number P = put parentheses around negative numbers Z = zero fill D = floating dollar sign U = uppercase letters in conversion R = add a percent sign to the end of the number - column(int, String) - Method in class org.kissweb.Groff
-
Output a numeric integer column
msk
is aString
consisting of the following characters: B = blank if zero C = add commas L = left justify number P = put parentheses around negative numbers Z = zero fill D = floating dollar sign U = uppercase letters in conversion R = add a percent sign to the end of the number - column(String) - Method in class org.kissweb.Groff
-
Output a column (title or body of table)
- columnExists(String) - Method in class org.kissweb.database.Record
-
Tests if a given column exists.
- columnWrap(String) - Method in class org.kissweb.Groff
-
Output a column that may wrap vertically.
- Command - Class in org.kissweb.database
-
This class represents a single statement or command against a database.
- commit() - Method in class org.kissweb.database.Connection
-
Commit all the operations to the database since the last commit().
- CompiledJavaService - Class in org.kissweb.restServer
-
Author: Blake McBride Date: 5/5/18
- CompiledJavaService() - Constructor for class org.kissweb.restServer.CompiledJavaService
- compileFile(String) - Static method in class org.kissweb.lisp.ABCL
- Connection - Class in org.kissweb.database
-
This class represents a connection to an SQL database.
- Connection(Connection) - Constructor for class org.kissweb.database.Connection
-
Create a Connection out of a pre-opened JDBC connection.
- Connection(Connection.ConnectionType, String) - Constructor for class org.kissweb.database.Connection
-
Form a new connection to an SQL database.
- Connection(Connection.ConnectionType, String, Integer, String) - Constructor for class org.kissweb.database.Connection
-
This is the main method of forming a new database connection when Windows authentication is used.
- Connection(Connection.ConnectionType, String, Integer, String, String, String) - Constructor for class org.kissweb.database.Connection
-
This is the main method of forming a new database connection.
- Connection.ConnectionType - Enum Class in org.kissweb.database
- constructor(String, String, Object...) - Static method in class org.kissweb.restServer.GroovyService
-
Execute a Groovy constructor.
- contextDestroyed(ServletContextEvent) - Method in class org.kissweb.restServer.StartupListener
-
This method gets called when the server is shut down.
- contextInitialized(ServletContextEvent) - Method in class org.kissweb.restServer.StartupListener
-
This is the first method that gets called.
- convertToCamelCase(String) - Static method in class org.kissweb.builder.BuildUtils
-
Convert a string from dashed notation to camel case notation.
- copy(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Copy file only if missing or earlier date.
- copy(String, String) - Static method in class org.kissweb.FileUtils
-
Copy file
- copy(Record) - Method in class org.kissweb.database.Record
-
Copy all columns from rec to 'this'
- copyCorresponding(Record) - Method in class org.kissweb.database.Record
-
Copy all columns from
fromRec
tothis
that have the same column names and types - copyForce(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Copy file regardless of file date
- copyRegex(String, String, String, String, boolean) - Static method in class org.kissweb.builder.BuildUtils
-
Copies all files that match a (Java!) regex from one directory to another excluding another (Java!) regex.
- copyTree(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Copy one directory tree to another
- copyTreeForce(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Copy one directory tree to another.
- copyTreeRegex(String, String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Copy one directory tree to another
The regular expression applies to file names and not directory names. - copyTreeRegex(String, String, String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Copy one directory tree to another The regular expression applies to file names and not directory names.
- copyTreeRegex(String, String, String, String, boolean) - Static method in class org.kissweb.builder.BuildUtils
-
Copy one directory tree to another
The regular expression applies to file names and not directory names. - createJar(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Create a JAR file
- createManifest(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Create a Java manifest file
- createReportFile(String, String) - Static method in class org.kissweb.FileUtils
-
Create a new file in a server accessible temp directory.
- Cron - Class in org.kissweb
-
System to auto-run Groovy files on a defined period as Unix cron does.
- Cron(String, Supplier<Object>, Consumer<Object>, Consumer<Object>) - Constructor for class org.kissweb.Cron
-
Start the cron process.
- Crypto - Class in org.kissweb
-
This class provides the ability to encrypt/decrypt strings and byte arrays with very strong (AES) encryption.
- Crypto() - Constructor for class org.kissweb.Crypto
- currentDateTimeFormatted() - Static method in class org.kissweb.DateTime
-
Return the current date and time as a string mm/dd/yyyy hh:mm AM/PM
- currentDateTimeFormatted(String) - Static method in class org.kissweb.DateTime
-
Returns a string representing the current date and/or time with a specified format.
- currentDateTimeFormatted(String, String) - Static method in class org.kissweb.DateTime
-
Returns a string representing the current date and/or time with a specified format and within a specified timezone.
- currentDateTimeFormattedTZ() - Static method in class org.kissweb.DateTime
-
Return the current date and time as a string mm/dd/yyyy hh:mm AM/PM cST
- Cursor - Class in org.kissweb.database
-
Instances of this class represent a row into a result set.
- cwd() - Static method in class org.kissweb.builder.BuildUtils
D
- dateColumn(int) - Method in class org.kissweb.Groff
-
Output an integer date column.
- dateColumn(Date) - Method in class org.kissweb.Groff
-
Output a Date date column.
- dateColumn2(int) - Method in class org.kissweb.Groff
-
Output an integer date column.
- DateTime - Class in org.kissweb
-
Class dealing with dates with times.
- DateTime(int, int) - Constructor for class org.kissweb.DateTime
-
Create a DateTime object from a date (YYYYMMDD) and time (HHMM)
- DateTime(int, int, String) - Constructor for class org.kissweb.DateTime
-
Create a DateTime object from a date (YYYYMMDD) and time (HHMM) in the specified time zone.
- DateTime(long) - Constructor for class org.kissweb.DateTime
-
Create a DateTime object from the number of milliseconds since 1970 (Epoch).
- DateTime(ZonedDateTime) - Constructor for class org.kissweb.DateTime
-
Create a DateTime object from a ZonedDateTime object
- DateTime(Date) - Constructor for class org.kissweb.DateTime
-
Create a DateTime from a Date object.
- DateTime(GregorianCalendar) - Constructor for class org.kissweb.DateTime
-
Initialize a new DateTime from a GregorianCalendar
- DateUtils - Class in org.kissweb
-
This class deals with dates in several formats including int, Date, Calendar, and LocalDate.
- DateUtils() - Constructor for class org.kissweb.DateUtils
- day(int) - Static method in class org.kissweb.DateUtils
-
Returns day portion of a date.
- dayOfWeek(int) - Static method in class org.kissweb.DateUtils
-
Returns the day of week number as follows:
0 = Sunday
1 = Monday
2 = Tuesday
3 = Wednesday
4 = Thursday
5 = Friday
6 = Saturday
-1 = Invalid date - dayOfWeekName(int) - Static method in class org.kissweb.DateUtils
-
Returns the full name of the week day.
- dayOfWeekName(Date) - Static method in class org.kissweb.DateUtils
-
Returns the full name of the week day.
- daysBetween(int, int) - Static method in class org.kissweb.DateUtils
-
Return the number of days between two dates.
- DB - Variable in class org.kissweb.restServer.ProcessServlet
- decode(String) - Static method in class org.kissweb.Base64
-
Base 64 decode
- decrypt(String, byte[]) - Static method in class org.kissweb.Crypto
-
Decrypt a byte array utilizing a slat and the default password.
- decrypt(String, String) - Static method in class org.kissweb.Crypto
-
Decrypt a string utilizing the passed in salt and the default password.
- decrypt(String, String, byte[]) - Static method in class org.kissweb.Crypto
-
Decrypt a byte array utilizing the passed in salt and password.
- decrypt(String, String, String) - Static method in class org.kissweb.Crypto
-
Decrypt a string utilizing the passed in salt and password.
- decryptWithRandomSalt(byte[]) - Static method in class org.kissweb.Crypto
- decryptWithRandomSalt(String) - Static method in class org.kissweb.Crypto
-
Decrypt a string that was encrypted with random salt using the default password.
- decryptWithRandomSalt(String, byte[]) - Static method in class org.kissweb.Crypto
- decryptWithRandomSalt(String, String) - Static method in class org.kissweb.Crypto
-
Decrypt a string that was encrypted with random salt using the provided password.
- delete() - Method in class org.kissweb.database.Record
-
Performs an SQL delete on the record.
- deletePackage(String) - Static method in class org.kissweb.lisp.ABCL
- DelimitedFileReader - Class in org.kissweb
-
Read and parse a CSV file.
- DelimitedFileReader(File) - Constructor for class org.kissweb.DelimitedFileReader
-
Open an existing CSV file with the default delimiter (,) and quote (") characters,
- DelimitedFileReader(File, char, char) - Constructor for class org.kissweb.DelimitedFileReader
-
Open an existing CSV file with the specified delimiter and quote character.
- DelimitedFileReader(String) - Constructor for class org.kissweb.DelimitedFileReader
-
Open an existing CSV file with the default delimiter (,) and quote (") characters,
- DelimitedFileReader(String, char, char) - Constructor for class org.kissweb.DelimitedFileReader
-
Open an existing CSV file with the specified delimiter and quote character.
- DelimitedFileWriter - Class in org.kissweb
-
Class dealing with the creation of standard comma delimited or CSV files.
- DelimitedFileWriter(String) - Constructor for class org.kissweb.DelimitedFileWriter
-
Create a standard CSV file using the standard delimiter (,) and quote (") characters.
- DelimitedFileWriter(String, boolean) - Constructor for class org.kissweb.DelimitedFileWriter
-
Create or append to a standard CSV file using the standard delimiter (,) and quote (") characters.
- DelimitedFileWriter(String, boolean, int) - Constructor for class org.kissweb.DelimitedFileWriter
-
Create or append to a standard CSV file using the standard delimiter (,) and quote (") characters.
- DelimitedFileWriter(String, boolean, int, char, char) - Constructor for class org.kissweb.DelimitedFileWriter
-
Create a new or append to an existing CSV file.
- DelimitedFileWriter(String, char) - Constructor for class org.kissweb.DelimitedFileWriter
-
Create a new CSV file us ing the specified delimiter character and the default quote character (").
- develop() - Static method in class org.kissweb.builder.Tasks
-
Build and run both the front-end and back-end
1. - developBackend() - Static method in class org.kissweb.builder.Tasks
-
Build and run the back-end only
1. - dontDeleteIntermediateFiles() - Method in class org.kissweb.Groff
-
Prevent the deletion of the intermediate files for debugging purposes.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class org.kissweb.restServer.MainServlet
- doubleEqual(double, double, double) - Static method in class org.kissweb.NumberUtils
-
Correctly compare two doubles.
- download(String, String, String) - Static method in class org.kissweb.builder.BuildUtils
- drawLine(float, float, float, float, float) - Method in class org.kissweb.PDF
-
Draw a line
- drawRect(float, float, float, float, float, int) - Method in class org.kissweb.PDF
-
Draw a rectangle
- drop(String, int) - Static method in class org.kissweb.StringUtils
-
An APL-like DROP function.
E
- EHN(String) - Static method in class org.kissweb.CL
-
Evaluate entered response.
- encode(byte[]) - Static method in class org.kissweb.Base64
-
Base64 encode
- encodeURLString(String) - Static method in class org.kissweb.URLBuilder
-
URL encode a string.
- encrypt(byte[]) - Static method in class org.kissweb.Crypto
-
Encrypt with the default password and no salt.
- encrypt(String) - Static method in class org.kissweb.Crypto
-
Encrypt using the default password and no salt.
- encrypt(String, byte[]) - Static method in class org.kissweb.Crypto
-
Encrypt a byte array utilizing a salt and the default password.
- encrypt(String, String) - Static method in class org.kissweb.Crypto
-
Encrypt a string utilizing the passed in salt and the default password.
- encrypt(String, String, byte[]) - Static method in class org.kissweb.Crypto
-
Encrypt a byte array utilizing the passed in salt and password.
- encrypt(String, String, String) - Static method in class org.kissweb.Crypto
-
Encrypt a string utilizing the passed in salt and password.
- encryptWithRandomSalt(byte[]) - Static method in class org.kissweb.Crypto
-
Encrypt with the default password and random salt.
- encryptWithRandomSalt(String) - Static method in class org.kissweb.Crypto
-
Encrypt using the default password and random salt.
- encryptWithRandomSalt(String, byte[]) - Static method in class org.kissweb.Crypto
-
Encrypt with the given password and random salt.
- encryptWithRandomSalt(String, String) - Static method in class org.kissweb.Crypto
-
Encrypt with a given password and random salt.
- END - Static variable in class org.kissweb.CL
- endDocument() - Method in class org.kissweb.PDF
-
End current page and end document
- endGraphics() - Method in class org.kissweb.PDF
-
End text mode and go into graphics mode.
- endRecord() - Method in class org.kissweb.DelimitedFileWriter
-
End the current row.
- endRow() - Method in class org.kissweb.Groff
-
Normally not needed.
- endTable() - Method in class org.kissweb.Groff
-
To be called at the end of the table
- endText() - Method in class org.kissweb.PDF
-
End text mode and go into graphics mode.
- endTitle() - Method in class org.kissweb.Groff
-
Mark the end of the title
- Entry(int, Supplier<Integer>) - Constructor for class org.kissweb.CL.Entry
- error(String) - Static method in class org.kissweb.CL
-
Display an error message and abort any command string processing.
- eval(String) - Static method in class org.kissweb.lisp.ABCL
- execute(String, Object...) - Method in class org.kissweb.database.Command
-
Execute non-select statement.
- execute(String, Object...) - Method in class org.kissweb.database.Connection
-
Execute an SQL statement provided in a string.
- executeImmediate(String) - Method in class org.kissweb.database.Connection
-
Executes the given SQL statement immediately (outside any transaction).
- executeLisp(String, String, Object...) - Static method in class org.kissweb.lisp.ABCL
- executeLispArray(String, String, Object[]) - Static method in class org.kissweb.lisp.ABCL
- executeLispFunction(Function, Object...) - Static method in class org.kissweb.lisp.ABCL
- exists(String) - Static method in class org.kissweb.builder.BuildUtils
- exists(String, Object...) - Method in class org.kissweb.database.Command
-
Returns
true
if there are any records matching the given SQL statement andfalse
otherwise. - exists(String, Object...) - Method in class org.kissweb.database.Connection
-
Returns
true
if there are any records matching the given SQL statement andfalse
otherwise.
F
- fetchAll() - Method in class org.kissweb.database.Cursor
-
Read in all of the records and close the cursor.
- fetchAll(int, int, String, Object...) - Method in class org.kissweb.database.Command
-
Fetch all (but no more than
max
) records and then close the Kiss cursor. - fetchAll(int, int, String, Object...) - Method in class org.kissweb.database.Connection
-
Group the result set into groups of records the size of
max
records in each group. - fetchAll(int, String, Object...) - Method in class org.kissweb.database.Command
-
Fetch all (but no more than
max
) records and then close the Kiss cursor. - fetchAll(int, String, Object...) - Method in class org.kissweb.database.Connection
-
Fetch all (but no more than max) of the records and close it.
- fetchAll(String, Object...) - Method in class org.kissweb.database.Command
-
Fetch all the records and close the Kiss cursor.
- fetchAll(String, Object...) - Method in class org.kissweb.database.Connection
-
Fetch all the records and close it.
- fetchAllJSON() - Method in class org.kissweb.database.Cursor
-
This method does the same thing as
fetchAll
except that it return a JSON array representing all of the records. - fetchAllJSON(int, int, String, Object...) - Method in class org.kissweb.database.Command
-
This method is the same as
fetchAll
except that it returns a JSON array of the records. - fetchAllJSON(int, int, String, Object...) - Method in class org.kissweb.database.Connection
-
Same as
fetchAll
except returns a JSON array. - fetchAllJSON(int, String, Object...) - Method in class org.kissweb.database.Command
-
This method is the same as
fetchAll
except that it returns a JSON array of the records. - fetchAllJSON(int, String, Object...) - Method in class org.kissweb.database.Connection
-
Same as
fetchAll
except returns a JSON array. - fetchAllJSON(String, Object...) - Method in class org.kissweb.database.Command
-
This method is the same as
fetchAll
except that it returns the list of records as a JSON array of JSON objects where each object represents a column. - fetchAllJSON(String, Object...) - Method in class org.kissweb.database.Connection
-
Same as
fetchAll
except returns a JSON array. - fetchCount(String, Object...) - Method in class org.kissweb.database.Connection
-
This method returns the total number of records that would be returned with a given select in an efficient manner.
- fetchOne() - Method in class org.kissweb.database.Cursor
-
Read in a single record and close the read cursor (no more records can be read).
- fetchOne(String, Object...) - Method in class org.kissweb.database.Command
-
Read in the first record and then close the Kiss cursor.
- fetchOne(String, Object...) - Method in class org.kissweb.database.Connection
-
Read in the first record and then close it.
- fetchOneJSON() - Method in class org.kissweb.database.Cursor
-
This method works exactly like
fetchOne
except that it return a JSON object representing the record. - fetchOneJSON(String, Object...) - Method in class org.kissweb.database.Command
-
This method is the same as
fetchOne
except that it returns a JSON object. - fetchOneJSON(String, Object...) - Method in class org.kissweb.database.Connection
-
Same as
fetchOne
except returns a JSON object. - fetchOneJSON(JSONObject) - Method in class org.kissweb.database.Cursor
-
This method works like
fetchOne
except that it adds the record columns to an existing JSON object passed in. - fetchOneJSON(JSONObject, String, Object...) - Method in class org.kissweb.database.Command
-
This method is the same as
fetchOne
except that it adds the columns to en existing JSON object. - fetchOneJSON(JSONObject, String, Object...) - Method in class org.kissweb.database.Connection
-
Same as
fetchOne
except adds the columns to an existing JSON object passed in. - FileUtils - Class in org.kissweb
-
Utilities to deal with files on the back-end.
- FileUtils() - Constructor for class org.kissweb.FileUtils
- fill(String, Map<String, String>) - Static method in class org.kissweb.JsonTemplate
-
Fill all occurrences of variables in the form ${VAR} with the values given in the map.
- fill(JSONObject, Map<String, String>) - Static method in class org.kissweb.JsonTemplate
-
Fill all occurrences of variables in the form ${VAR} with the values given in the map.
- findClosestMatch(Vector<String>, String) - Static method in class org.kissweb.StringUtils
-
Finds the string from the given vector of strings that most closely matches the input string.
- findLispFunction(String, String) - Static method in class org.kissweb.lisp.ABCL
- fixCase(String) - Static method in class org.kissweb.lisp.ABCL
- format() - Method in class org.kissweb.DateTime
-
Return the current date formatted as mm/dd/yyyy hh:mm AM/PM
- format(String) - Static method in class org.kissweb.XML
-
Format an XML String into a pretty formatted String.
- format(String, int) - Static method in class org.kissweb.DateUtils
-
Formats a date to a string according to a format specification.
- format(ZonedDateTime) - Static method in class org.kissweb.DateTime
-
Format a date passed into a string mm/dd/yyyy hh:mm AM/PM.
- format(ZonedDateTime, String) - Static method in class org.kissweb.DateTime
-
Format a date passed into a string according to a format specification.
- format(ZonedDateTime, String, String) - Static method in class org.kissweb.DateTime
-
Format a ZonedDateTime into a string using the given format string.
- format(Date) - Static method in class org.kissweb.DateTime
-
Format a date passed into a string mm/dd/yyyy hh:mm AM/PM
- format(Date, String) - Static method in class org.kissweb.DateTime
-
Format a date passed into a string formatted as determined by
fmt
- format(Date, String, String) - Static method in class org.kissweb.DateTime
-
Format a date passed into a string according to a format specification.
- format(Document) - Static method in class org.kissweb.XML
-
Format an XML Document into a pretty formatted String.
- Format(double, String, int, int) - Static method in class org.kissweb.NumberFormat
-
Numeric formatter.
- format2(int) - Static method in class org.kissweb.DateUtils
-
Format a date with a two digit year as "m/d/yy"
- format4(int) - Static method in class org.kissweb.DateUtils
-
Format a date with a four digit year as "m/d/yyyy"
- formatAMPM(int) - Static method in class org.kissweb.TimeUtils
-
Format time as hh:mm AM/PM
- Formatb(double, int, String, int, int) - Static method in class org.kissweb.NumberFormat
-
Numeric formatter.
- formatLong(int) - Static method in class org.kissweb.DateUtils
-
Format date as "Jan 3, 2018"
- formatLongWithWeekDay(int) - Static method in class org.kissweb.DateUtils
-
Format date as "Wed, Jan 3, 2018"
- formatMilitary(int) - Static method in class org.kissweb.TimeUtils
-
Format time as hh:mm (hours to 23)
- formatSQL(int) - Static method in class org.kissweb.DateUtils
-
Format a date as "YYYY-MM-DD"
- formatTZ(Date) - Static method in class org.kissweb.DateTime
-
Format a date passed into a string mm/dd/yyyy hh:mm AM/PM xST
- FrontendException - Exception in org.kissweb
-
This class is used to signify an error that is sent to the front-end but does not produce a back-end log.
- FrontendException(String) - Constructor for exception org.kissweb.FrontendException
- FTP - Class in org.kissweb
-
Transfer files to or from a remote FTP server.
- FTP(String, int, String, String) - Constructor for class org.kissweb.FTP
-
Form a new FTP connection.
- FTP(String, String, String) - Constructor for class org.kissweb.FTP
-
Form a new FTP connection.
G
- get(String) - Method in class org.kissweb.database.Cursor
-
Get the value of a column as an
Object
. - get(String) - Method in class org.kissweb.database.Record
-
Get the value of a column as an
Object
. - get(String) - Method in class org.kissweb.IniFile
-
Retrieves the string value of a key from the ini file from the
null
section. - get(String, String) - Method in class org.kissweb.FTP
-
Transfer a file from the remote server to the local machine.
- get(String, String) - Method in class org.kissweb.IniFile
-
Returns the value of a key from a specified section in the ini file.
- getAllColumns() - Method in class org.kissweb.database.Record
-
Returns a map of all the columns in the record.
- getAPIKey() - Static method in class org.kissweb.googleMapsAPI.GoogleAPIKey
-
Retrieves the global key for Google API.
- getApplicationPath() - Static method in class org.kissweb.restServer.MainServlet
-
Return the root of the application back-end source code.
- getBodyBinary(HttpServletRequest) - Static method in class org.kissweb.RestServerBase
-
Get the body of the request as a binary array.
- getBodyJson(HttpServletRequest) - Static method in class org.kissweb.RestServerBase
-
Get the body of the request as a JSON object.
- getBodyString(HttpServletRequest) - Static method in class org.kissweb.RestServerBase
-
Get the body of the request as a string.
- getBoolean(String) - Method in class org.kissweb.database.Record
-
Return the
Boolean
value of the named column. - getBoolean(String) - Method in class org.kissweb.IniFile
-
Retrieves the Boolean value of a key from the ini file from the
null
section. - getBoolean(String, String) - Method in class org.kissweb.IniFile
-
Retrieves the boolean value of a key from a specified section in the ini file.
- getBoolean(String, JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Boolean referenced by
path
. - getBoolean(JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Boolean referenced by
path
. - getByteArray(String) - Method in class org.kissweb.database.Cursor
-
Return the
byte[]
value of the named column. - getByteArray(String) - Method in class org.kissweb.database.Record
-
Return the
byte[]
value of the named column. - getChar(String) - Method in class org.kissweb.database.Cursor
-
Return the
Character
value of the named column. - getChar(String) - Method in class org.kissweb.database.Record
-
Return the
Character
value of the named column. - getChar(String) - Method in class org.kissweb.IniFile
-
Retrieves the Character value of a key from the ini file from the
null
section. - getChar(String, String) - Method in class org.kissweb.IniFile
-
Retrieves the first character of a key from a specified section in the ini file.
- getCharacter(String, JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Character referenced by
path
. - getCharacter(JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Character referenced by
path
. - getCityState() - Method in class org.kissweb.googleMapsAPI.GoogleReverseGeocode
- getColumnSize(String, String) - Method in class org.kissweb.database.Connection
-
Manly useful in CHAR or VARCHAR columns, this method returns the maximum size of the column.
- getConnection() - Method in class org.kissweb.database.Record
-
Returns the
Connection
instance associated to thisRecord
instance. - getConnectionType() - Static method in class org.kissweb.restServer.MainServlet
- getConstructor(Class<?>...) - Method in class org.kissweb.restServer.GroovyClass
- getContentStream() - Method in class org.kissweb.PDF
- getcwd() - Static method in class org.kissweb.builder.BuildUtils
- getDatabase() - Static method in class org.kissweb.restServer.MainServlet
- getDate() - Method in class org.kissweb.DateTime
-
Get a Date representation of the DateTime object.
- getDate(int) - Method in class org.kissweb.DelimitedFileReader
-
Return the date as an int at the indicated field number.
- getDate(String) - Method in class org.kissweb.DelimitedFileReader
-
Return the date as an int at the indicated field label.
- getDate(String, JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Integer date referenced by
path
. - getDate(JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Integer date referenced by
path
. - getDateAsInt(String) - Method in class org.kissweb.database.Cursor
-
Return the date in an int formatted as YYYYMMDD for the named column.
- getDateAsInt(String) - Method in class org.kissweb.database.Record
-
Return the date in an int formatted as YYYYMMDD for the named column.
- getDateInt(String) - Method in class org.kissweb.IniFile
-
Retrieves the integer value representing a date as YYYYMMDD of a key from the ini file from the
null
section. - getDateInt(String, String) - Method in class org.kissweb.IniFile
-
Retrieves the integer value of a date key from a specified section in the ini file.
- getDateOnly(String) - Method in class org.kissweb.database.Cursor
-
Return the
java.util.Date
value of the named column. - getDateOnly(String) - Method in class org.kissweb.database.Record
-
Return the
java.util.Date
value of the named column. - getDateTime(String) - Method in class org.kissweb.database.Cursor
-
Return the
java.util.Date
value of the named column. - getDateTime(String) - Method in class org.kissweb.database.Record
-
Return the
java.util.Date
value of the named column. - getDateTimeMS(String) - Method in class org.kissweb.database.Cursor
-
Return the date/time value as the number of milliseconds since 1970 UTC.
- getDateTimeMS(String) - Method in class org.kissweb.database.Record
-
Return the date/time value as the number of milliseconds since 1970 UTC.
- getDay() - Method in class org.kissweb.DateTime
-
Return the day of the month
- getDBType() - Method in class org.kissweb.database.Connection
-
Returns the database type.
- getDoc() - Method in class org.kissweb.PDF
- getDouble(int) - Method in class org.kissweb.DelimitedFileReader
-
Gets the double value of field number i.
- getDouble(String) - Method in class org.kissweb.database.Cursor
-
Return the
Double
value of the named column. - getDouble(String) - Method in class org.kissweb.database.Record
-
Return the
Double
value of the named column. - getDouble(String) - Method in class org.kissweb.DelimitedFileReader
-
Get the double value of the field indicated by fld.
- getDouble(String) - Method in class org.kissweb.IniFile
-
Retrieves the Double value of a key from the ini file from the
null
section. - getDouble(String, String) - Method in class org.kissweb.IniFile
-
Retrieves the double value of a key from a specified section in the ini file.
- getDouble(String, JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Double referenced by
path
. - getDouble(JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Double referenced by
path
. - getDriverName(Connection.ConnectionType) - Static method in class org.kissweb.database.Connection
-
Return the name of the driver used for the specified database type.
- getEnvironment(String) - Static method in class org.kissweb.restServer.MainServlet
-
Retrieve an application-specific value previously set with
putEnvironment
- getExtension(String) - Static method in class org.kissweb.FileUtils
-
Obtain the file name extension.
- getFieldCount() - Method in class org.kissweb.DelimitedFileWriter
-
Returns the number of columns output already on the current row.
- getFilename() - Method in class org.kissweb.IniFile
-
Returns the filename of the ini file.
- getFloat(String) - Method in class org.kissweb.database.Cursor
-
Return the
Float
value of the named column. - getFloat(String) - Method in class org.kissweb.database.Record
-
Return the
Float
value of the named column. - getGroffFileName() - Method in class org.kissweb.Groff
-
For debugging.
- getHost() - Static method in class org.kissweb.restServer.MainServlet
- getHour() - Method in class org.kissweb.DateTime
-
Return the hour portion of a DateTime
- getHTTPPath(File) - Static method in class org.kissweb.FileUtils
-
Takes a previously obtained File and returns what path the front-end should use to access the file.
- getHTTPPath(String) - Static method in class org.kissweb.FileUtils
-
Takes a path to a file and returns what path the front-end should use to access the file.
- getInt(int) - Method in class org.kissweb.DelimitedFileReader
-
Return the int at the indicated field number.
- getInt(String) - Method in class org.kissweb.database.Cursor
-
Return the
Integer
value of the named column. - getInt(String) - Method in class org.kissweb.database.Record
-
Return the
Integer
value of the named column. - getInt(String) - Method in class org.kissweb.DelimitedFileReader
-
Return the int at the field with the indicated label.
- getInt(String) - Method in class org.kissweb.IniFile
-
Retrieves the Integer value of a key from the ini file from the
null
section. - getInt(String, String) - Method in class org.kissweb.IniFile
-
Retrieves the integer value of a key from a specified section in the ini file.
- getIntDate() - Method in class org.kissweb.DateTime
-
Get date in an int format YYYYMMDD
- getInteger(String, JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Integer referenced by
path
. - getInteger(JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Integer referenced by
path
. - getIntTime() - Method in class org.kissweb.DateTime
-
Return an integer representation of the date portion.
- getJavaPathOnWindows() - Static method in class org.kissweb.builder.BuildUtils
- getJSONArray(String, JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the JSONArray referenced by
path
. - getJSONArray(JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the JSONArray referenced by
path
. - getLastAccessDate() - Method in class org.kissweb.restServer.UserData
- getLispRelease() - Static method in class org.kissweb.lisp.ABCL
- getLong(String) - Method in class org.kissweb.database.Cursor
-
Return the
Long
value of the named column. - getLong(String) - Method in class org.kissweb.database.Record
-
Return the
Long
value of the named column. - getLong(String, JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Long referenced by
path
. - getLong(JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the Long referenced by
path
. - getMakeRestServiceArgs() - Static method in class org.kissweb.lisp.ABCL
- getMakeWebServiceArgs() - Static method in class org.kissweb.lisp.ABCL
- getMethod(boolean, String, String, String, Object...) - Static method in class org.kissweb.restServer.GroovyService
-
This method is used to obtain a class or instance method from a groovy class.
- getMethod(String, Class<?>...) - Method in class org.kissweb.restServer.GroovyClass
- getMethod(String, String, String, Object...) - Static method in class org.kissweb.restServer.GroovyService
-
This method is used to obtain a method from a groovy class.
- getMilliseconds() - Method in class org.kissweb.DateTime
-
Returns number of milliseconds since 1970 UTC.
- getMimeType(String) - Static method in class org.kissweb.FileUtils
-
Returns the MIME type based on the file name's extension.
- getMinute() - Method in class org.kissweb.DateTime
-
Return the minute portion of a DateTime
- getMonth() - Method in class org.kissweb.DateTime
-
Return the month portion of a DateTime
- getObject(String, JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the sub-object referenced by
path
. - getObject(JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the sub-object referenced by
path
. - getPage() - Method in class org.kissweb.PDF
- getPage(int) - Method in class org.kissweb.PDF
-
Get an existing page.
- getPassword() - Static method in class org.kissweb.restServer.MainServlet
- getPassword() - Method in class org.kissweb.restServer.UserData
- getPort() - Static method in class org.kissweb.restServer.MainServlet
- getPrimaryColumnName(String) - Method in class org.kissweb.database.Connection
-
Return the name of the column that is the table's primary key.
- getPrimaryColumns(String) - Method in class org.kissweb.database.Connection
-
Returns a list of column names that make up the primary key.
- getRealFileName() - Method in class org.kissweb.Groff
-
The file name returned elsewhere is one convenient for web applications.
- getRealPath() - Method in class org.kissweb.restServer.ProcessServlet
-
Get the absolute path of the root of the back-end application.
- getRecord() - Method in class org.kissweb.database.Cursor
-
Returns the
Record
instance representing the current row. - getRemoteAddr() - Method in class org.kissweb.restServer.ProcessServlet
-
Returns the IP address of the client.
- getRequest() - Method in class org.kissweb.restServer.ProcessServlet
-
Returns the HttpServletRequest.
- getResponseCode() - Method in class org.kissweb.RestClient
-
The HTTP response code
- getResponseString() - Method in class org.kissweb.RestClient
-
Returns the response string.
- getRootPath() - Static method in class org.kissweb.restServer.MainServlet
-
Get the root path of the entire application.
- getRow() - Method in class org.kissweb.DelimitedFileReader
-
Return the original row / line last read.
- getSeconds() - Method in class org.kissweb.DateTime
-
Returns number of seconds since 1970 UTC.
- getServletContext() - Method in class org.kissweb.restServer.ProcessServlet
-
Returns the ServletContext.
- getShort(String) - Method in class org.kissweb.database.Cursor
-
Return the
Short
value of the named column. - getShort(String) - Method in class org.kissweb.database.Record
-
Return the
Short
value of the named column. - getSQLConnection() - Method in class org.kissweb.database.Connection
-
Return the underlying java.sql.Connection associated with this Connection.
- getString(int) - Method in class org.kissweb.DelimitedFileReader
-
Return the String at the indicated field number.
- getString(String) - Method in class org.kissweb.database.Cursor
-
Return the
String
value of the named column. - getString(String) - Method in class org.kissweb.database.Record
-
Return the
String
value of the named column. - getString(String) - Method in class org.kissweb.DelimitedFileReader
-
Return the String at the field with the indicated label.
- getString(String, JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the String referenced by
path
. - getString(JSONObject, String) - Static method in class org.kissweb.JsonPath
-
Traverse an object returning the String referenced by
path
. - getTableName() - Method in class org.kissweb.database.Cursor
-
Returns the name of the table associated with the select associated with this cursor.
- getTableName() - Method in class org.kissweb.database.Record
-
Returns the name of the table associated to this
Record
instance. - getTime(String) - Method in class org.kissweb.database.Cursor
-
Return the
long
value of the named column. - getTime(String) - Method in class org.kissweb.database.Record
-
Return the
long
value of the named column. - getTimeInt(String) - Method in class org.kissweb.IniFile
-
Retrieves the integer value representing a date as HHMM of a key from the ini file from the
null
section. - getTimeInt(String, String) - Method in class org.kissweb.IniFile
-
Retrieves the integer value of a time key from a specified section in the ini file.
- getTimezone(double, double) - Static method in class org.kissweb.googleMapsAPI.GoogleTimeZone
-
Perform a timezone query.
- getTimezone(String) - Static method in class org.kissweb.googleMapsAPI.GoogleTimeZone
-
Perform a timezone query based on an address.
- getTimezone(String, String, String, String, String) - Static method in class org.kissweb.googleMapsAPI.GoogleTimeZone
-
Perform a timezone query based on an address broken into its parts.
- getTomcatPath() - Static method in class org.kissweb.builder.BuildUtils
- getUploadBufferedInputStream(int) - Method in class org.kissweb.restServer.ProcessServlet
-
In file upload scenarios, this method returns a BufferedInputStream associated with file number i.
- getUploadBytes(int) - Method in class org.kissweb.restServer.ProcessServlet
-
In a file upload scenario, this method returns a byte array of the data that was uploaded.
- getUploadFileCount() - Method in class org.kissweb.restServer.ProcessServlet
-
Return the number of files being uploaded.
- getUploadFileName(int) - Method in class org.kissweb.restServer.ProcessServlet
-
Returns the name of the file being uploaded.
- getUploadFileType(int) - Method in class org.kissweb.restServer.ProcessServlet
-
Returns the file extension of a given file upload.
- getUser() - Static method in class org.kissweb.restServer.MainServlet
- getUserData() - Method in class org.kissweb.restServer.ProcessServlet
-
Get all user data.
- getUserData(String) - Method in class org.kissweb.restServer.ProcessServlet
-
Get a specific user data element.
- getUserData(String) - Method in class org.kissweb.restServer.UserData
- getUserId() - Method in class org.kissweb.restServer.UserData
- getUsername() - Method in class org.kissweb.restServer.UserData
- getUuid() - Method in class org.kissweb.restServer.UserData
- getValidAPIKey() - Static method in class org.kissweb.googleMapsAPI.GoogleAPIKey
-
Retrieves the global key for Google API.
- getYear() - Method in class org.kissweb.DateTime
-
Get the year portion of a DateTime
- getZonedDateTime() - Method in class org.kissweb.DateTime
-
Return the ZoneDateTime object
- getZonedDateTime(String) - Method in class org.kissweb.database.Record
-
Return the
ZonedDateTime
value of the named column. - GoogleAPIKey - Class in org.kissweb.googleMapsAPI
-
Class used to store the global key for Google API.
- GoogleAPIKey() - Constructor for class org.kissweb.googleMapsAPI.GoogleAPIKey
- GoogleDistance - Class in org.kissweb.googleMapsAPI
-
This class gets the distance in miles between two addresses through a Google service.
- GoogleDistance(String, String) - Constructor for class org.kissweb.googleMapsAPI.GoogleDistance
-
Performs the actual query through Google.
- GoogleReverseGeocode - Class in org.kissweb.googleMapsAPI
-
This class converts a latitude/longitude into a city and state.
- GoogleReverseGeocode(double, double) - Constructor for class org.kissweb.googleMapsAPI.GoogleReverseGeocode
-
Performs the actual query through Google.
- GoogleTimeZone - Class in org.kissweb.googleMapsAPI
-
This class returns the timezone ID associated with a latitude/longitude.
- GoogleTimeZone() - Constructor for class org.kissweb.googleMapsAPI.GoogleTimeZone
- grid() - Method in class org.kissweb.PDF
- Groff - Class in org.kissweb
-
Class to interface with the groff typesetting system.
- Groff(String, String, boolean) - Constructor for class org.kissweb.Groff
-
Initialize a new report.
- GroovyClass - Class in org.kissweb.restServer
- GroovyClass(boolean, String) - Constructor for class org.kissweb.restServer.GroovyClass
-
Load a groovy source file.
- GroovyService - Class in org.kissweb.restServer
-
Author: Blake McBride Date: 5/5/18
- GroovyService() - Constructor for class org.kissweb.restServer.GroovyService
- GroovyUtils - Class in org.kissweb
-
Miscellaneous Groovy utilities
- GroovyUtils() - Constructor for class org.kissweb.GroovyUtils
- gunzip(String, String, int) - Static method in class org.kissweb.builder.BuildUtils
-
gunzip and untar a .gz file into the specified directory
H
- hasDatabase() - Static method in class org.kissweb.restServer.MainServlet
- hasHeader(String) - Method in class org.kissweb.DelimitedFileReader
-
Checks if the given column header exists in the delimited file.
- HELP - Static variable in class org.kissweb.CL
- hour(int) - Static method in class org.kissweb.TimeUtils
-
Return the hour portion of a time HHMM
- htmlToText(String) - Static method in class org.kissweb.StringUtils
-
Converts HTML text to plain text.
I
- ideclean() - Static method in class org.kissweb.builder.Tasks
-
Remove:
-- all files that were built
-- the downloaded jar files, tomcat
-- the IDE files - imageOut(float, float, float, byte[]) - Method in class org.kissweb.PDF
-
Output scaled image to PDF.
- imageOut(float, float, float, float, byte[]) - Method in class org.kissweb.PDF
-
Output image to defined square on the page.
- imageOut(float, float, float, String) - Method in class org.kissweb.PDF
-
Output image file to PDF
Positioning starts at upper left corner of paper. - imageOutHeight(float, float, float, String) - Method in class org.kissweb.PDF
-
Outputs an image with a specific height to the PDF document retaining the image aspect ratio.
- imageOutWidth(float, float, float, String) - Method in class org.kissweb.PDF
-
Outputs an image with a specific width to the PDF document retaining the image aspect ratio.
- IniFile - Class in org.kissweb
-
Class to deal with ini files.
- IniFile() - Constructor for class org.kissweb.IniFile
-
Create a new ini file in memory.
- IniFile(String) - Constructor for class org.kissweb.IniFile
-
Create a new ini file in memory that will be saved to the specified file.
- init() - Static method in class org.kissweb.lisp.ABCL
- inputCharacter(String, String) - Static method in class org.kissweb.CL
-
Prompt user for a character input.
- inputDate(int, int, String) - Static method in class org.kissweb.CL
-
Prompt user for a date input.
- inputList(String, String) - Static method in class org.kissweb.CL
-
Prompt user for a string input among a list of choices.
- inputNumber(double, double, int, String) - Static method in class org.kissweb.CL
-
Prompt user for a numeric input.
- inputString(int, int, String) - Static method in class org.kissweb.CL
-
Prompt user for a string input.
- invoke(boolean, String, String, Object, Object...) - Static method in class org.kissweb.restServer.GroovyClass
- invoke(String, Object, Object...) - Method in class org.kissweb.restServer.GroovyClass
- isBinaryContentType(String) - Static method in class org.kissweb.RestServerBase
-
Determines if the given HTTP header ContentType is binary.
- isEmpty(String) - Static method in class org.kissweb.StringUtils
-
String null or empty test.
- isFreeBSD - Static variable in class org.kissweb.builder.BuildUtils
- isFreeBSD - Static variable in class org.kissweb.restServer.MainServlet
- isHaiku - Static variable in class org.kissweb.builder.BuildUtils
- isHaiku - Static variable in class org.kissweb.restServer.MainServlet
- isLinux - Static variable in class org.kissweb.builder.BuildUtils
- isLinux - Static variable in class org.kissweb.restServer.MainServlet
- isMacOS - Static variable in class org.kissweb.builder.BuildUtils
- isMacOS - Static variable in class org.kissweb.restServer.MainServlet
- isNext() - Method in class org.kissweb.database.Cursor
-
This method advances the row pointer and returns
true
if there is a next record. - isSunOS - Static variable in class org.kissweb.builder.BuildUtils
- isSunOS - Static variable in class org.kissweb.restServer.MainServlet
- isTextContentType(String) - Static method in class org.kissweb.RestServerBase
-
Determines if the given HTTP header ContentType is text.
- isUnderIDE() - Static method in class org.kissweb.restServer.MainServlet
-
Returns
true
if in development mode. - isValidNumber(String) - Static method in class org.kissweb.NumberUtils
-
Is string a valid number?
- isWindows - Static variable in class org.kissweb.builder.BuildUtils
- isWindows - Static variable in class org.kissweb.restServer.MainServlet
J
- jar() - Static method in class org.kissweb.builder.Tasks
-
Build Kiss.jar
This is a JAR file that can be used in other apps as a utility library. - javac(BuildUtils.LocalDependencies, BuildUtils.ForeignDependencies, String, String, String, String) - Static method in class org.kissweb.builder.BuildUtils
- javadoc() - Static method in class org.kissweb.builder.Tasks
-
build the javdoc files
- JavaObjectToLispObject(Object) - Static method in class org.kissweb.lisp.ABCL
- join(String[], String) - Static method in class org.kissweb.StringUtils
-
Join rows or a String array into a String separated by a delimiter.
- jsonCall(String, String) - Method in class org.kissweb.RestClient
-
Call a REST service sending nothing and returning a JSON object.
- jsonCall(String, String, String, JSONObject) - Method in class org.kissweb.RestClient
-
Call a REST service sending a string and returning a JSON object.
- jsonCall(String, String, JSONArray, JSONObject) - Method in class org.kissweb.RestClient
-
Call a REST service sending a JSON array and returning a JSON object.
- jsonCall(String, String, JSONObject, JSONObject) - Method in class org.kissweb.RestClient
-
Call a REST service sending a JSON object and returning a JSON object.
- JsonPath - Class in org.kissweb
-
This class provides a variety of features on top of the functionality provided by org.json.
- JsonPath() - Constructor for class org.kissweb.JsonPath
- JsonTemplate - Class in org.kissweb
-
This class replaces occurrences of ${NAME} with values obtained from a supplied map.
- JsonTemplate() - Constructor for class org.kissweb.JsonTemplate
- julian(int) - Static method in class org.kissweb.DateUtils
-
Convert a date into the number of days since a certain date (julian date)
K
- killProcess(Process) - Static method in class org.kissweb.builder.BuildUtils
- kisscmd() - Static method in class org.kissweb.builder.Tasks
-
This creates a command-line executable jar file that runs the org.kissweb.Main class.
- KissGP() - Static method in class org.kissweb.builder.Tasks
-
Create an executable JAR that includes Kiss, Groovy, and the PostgreSQL driver.
L
- landscape() - Method in class org.kissweb.PDF
- leftStrip(String) - Static method in class org.kissweb.StringUtils
-
Strip the spaces at the beginning of a string.
- libs() - Static method in class org.kissweb.builder.Tasks
-
Download needed foreign libraries
- LispObjectToJavaObject(LispObject) - Static method in class org.kissweb.lisp.ABCL
- listTasks() - Static method in class org.kissweb.builder.Tasks
-
Display a list of valid tasks.
- load(String) - Static method in class org.kissweb.IniFile
-
Load an ini file from a disk file.
- load(String) - Static method in class org.kissweb.lisp.ABCL
- loadPackage(String, String) - Static method in class org.kissweb.lisp.ABCL
- LocalDependencies() - Constructor for class org.kissweb.builder.BuildUtils.LocalDependencies
- LogException - Exception in org.kissweb
-
This class is used to signify an error that deserves a log but not a backtrace.
- LogException(String) - Constructor for exception org.kissweb.LogException
M
- main(String[]) - Static method in class org.kissweb.builder.Tasks
-
Main entry point for the build system.
- main(String[]) - Static method in class org.kissweb.CLExample
- main(String[]) - Static method in class org.kissweb.Crypto
- main(String[]) - Static method in class org.kissweb.database.Test
- main(String[]) - Static method in class org.kissweb.DateTime
- main(String[]) - Static method in class org.kissweb.DateUtils
- main(String[]) - Static method in class org.kissweb.DelimitedFileReader
- main(String[]) - Static method in class org.kissweb.FTP
- main(String[]) - Static method in class org.kissweb.IniFile
-
This test program can be run from the command-line as follows:
java -cp work/Kiss.jar org.kissweb.IniFile
- main(String[]) - Static method in class org.kissweb.JsonPath
- main(String[]) - Static method in class org.kissweb.JsonTemplate
- main(String[]) - Static method in class org.kissweb.Main
- main(String[]) - Static method in class org.kissweb.NumberFormat
-
Test function.
- main(String[]) - Static method in class org.kissweb.NumberUtils
- main(String[]) - Static method in class org.kissweb.PDF
- main(String[]) - Static method in class org.kissweb.TimeUtils
- main(String[]) - Static method in class Test
- Main - Class in org.kissweb
-
This class is only used for command-line execution of Kiss.
- Main() - Constructor for class org.kissweb.Main
- MainServlet - Class in org.kissweb.restServer
-
Author: Blake McBride Date: 5/4/18 This is the main entry point for asynchronous server requests used by Kiss.
- MainServlet() - Constructor for class org.kissweb.restServer.MainServlet
- makeConnectionString(Connection.ConnectionType, String, Integer, String, String, String) - Static method in class org.kissweb.database.Connection
-
Create a connection string appropriate for the indicated database type.
- makeExecutable(String) - Static method in class org.kissweb.builder.BuildUtils
-
Set a file to executable
- meters() - Method in class org.kissweb.googleMapsAPI.GoogleDistance
-
Return the estimated travel distance in meters.
- MicrosoftServer - Enum constant in enum class org.kissweb.database.Connection.ConnectionType
- mightBeBase64(String) - Static method in class org.kissweb.Base64
-
Checks if a given string is a valid Base64 string.
- mightBeBinary(String) - Static method in class org.kissweb.Base64
-
Determines whether the given content might be binary.
- miles() - Method in class org.kissweb.googleMapsAPI.GoogleDistance
-
Returns the distance in miles between two addresses.
- minutes() - Method in class org.kissweb.googleMapsAPI.GoogleDistance
-
Return the estimated travel time in minutes.
-1 is returned on error. - minutes(int) - Static method in class org.kissweb.TimeUtils
-
Return the minute portion of a time HHMM
- mkdir(String) - Static method in class org.kissweb.builder.BuildUtils
-
Creates a directory including any missing parent directories.
- month(int) - Static method in class org.kissweb.DateUtils
-
Returns month portion of a date.
- monthOfYearName(int) - Static method in class org.kissweb.DateUtils
-
Returns the full name of the month of the year.
- move(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Move a file from one location to another.
- moveToStart() - Method in class org.kissweb.DelimitedFileReader
-
Move the record pointer back to the beginning of the CSV file.
- movmem(char[], int, char[], int, int) - Static method in class org.kissweb.StringUtils
-
Moves characters from one array to another.
- MySQL - Enum constant in enum class org.kissweb.database.Connection.ConnectionType
N
- needLines(int) - Method in class org.kissweb.Groff
-
Force a new page if there isn't at least
n
lines available on the current page. - newCommand() - Method in class org.kissweb.database.Connection
-
This is the main way of creating a new Command instance.
- newPage() - Method in class org.kissweb.PDF
-
End current page and start a new page
- newRecord(String) - Method in class org.kissweb.database.Connection
-
This is the primary method of creating a new row in a table.
- newTemplate(String, String, boolean) - Static method in class org.kissweb.Groff
-
Initialize a new MM template.
- newUser(String, String, Object) - Static method in class org.kissweb.restServer.UserCache
- next() - Method in class org.kissweb.database.Cursor
-
This method is used to advance the row pointer first and then return the (next)
Record
instance representing the next row. - NEXT - Static variable in class org.kissweb.CL
- nextDate() - Method in class org.kissweb.DelimitedFileReader
-
Returns the int date at the next sequential field.
- nextDouble() - Method in class org.kissweb.DelimitedFileReader
-
Returns the next String field.
- nextInt() - Method in class org.kissweb.DelimitedFileReader
-
Returns the next int field.
- nextLine() - Method in class org.kissweb.DelimitedFileReader
-
Read and parse the next row in the CSV file.
- nextString() - Method in class org.kissweb.DelimitedFileReader
-
Returns the next String field.
- noAutoPageHeader() - Method in class org.kissweb.Groff
-
Do not auto-generate the page title, or if already printed, stop.
- NOTHING - Static variable in class org.kissweb.CL
- now() - Static method in class org.kissweb.DateTime
-
Create a new DateTime object that represents the current date/time.
- now() - Static method in class org.kissweb.TimeUtils
-
Returns the current time of day in the format HHMM since midnight.
- now(String) - Static method in class org.kissweb.DateTime
-
Create a new DateTime object that represents the current date/time in the specified time zone.
- now(String) - Static method in class org.kissweb.TimeUtils
-
Returns the current time in a given timezone in the format HHMM since midnight.
- NumberFormat - Class in org.kissweb
-
Advanced method for formatting numbers.
- NumberFormat() - Constructor for class org.kissweb.NumberFormat
- NumberUtils - Class in org.kissweb
-
Author: Blake McBride Date: 10/24/20
- NumberUtils() - Constructor for class org.kissweb.NumberUtils
O
- Oracle - Enum constant in enum class org.kissweb.database.Connection.ConnectionType
- org.kissweb - package org.kissweb
-
This package provides most of the general-purpose application usable API.
- org.kissweb.builder - package org.kissweb.builder
-
This package provides the bld utility.
- org.kissweb.database - package org.kissweb.database
-
This package provides a convenient means of accessing SQL tables.
- org.kissweb.googleMapsAPI - package org.kissweb.googleMapsAPI
-
This package provides an interface to the Google mapping API.
- org.kissweb.lisp - package org.kissweb.lisp
-
This package provides the interface to the lisp language binding.
- org.kissweb.restServer - package org.kissweb.restServer
-
This package provides the REST server used by KISS.
- out(String) - Method in class org.kissweb.Groff
-
Write a line to the groff input file.
- outBold(String) - Method in class org.kissweb.Groff
-
Output a line in bold text.
- outPSPIC(String, String) - Method in class org.kissweb.Groff
-
Output a Postscript image.
P
- packageDone(String) - Static method in class org.kissweb.lisp.ABCL
- packageUnload(String) - Static method in class org.kissweb.lisp.ABCL
- parse(String) - Static method in class org.kissweb.DateUtils
-
Parses a string containing a date formatted as follows into an integer representation of that date.
- parse(String) - Static method in class org.kissweb.TimeUtils
-
Parse a string into an int representing a time in the form HHMM.
- parse(String) - Static method in class org.kissweb.XML
-
Parse an XML string into an XML Document.
- parseDouble(String) - Static method in class org.kissweb.NumberUtils
-
Parse a String into a double.
- parseInt(String) - Static method in class org.kissweb.NumberUtils
-
Parse a String into an int.
- parseLong(String) - Static method in class org.kissweb.NumberUtils
-
Parse a String into a long.
- PDF - Class in org.kissweb
-
This class creates PDF files with text, images, and line graphics.
- PDF(String) - Constructor for class org.kissweb.PDF
-
Begin a new PDF file
- PDF(String, String) - Constructor for class org.kissweb.PDF
-
Begin a new PDF file with an existing PDF file as its starting point.
- performService(String, String, String, JSONObject) - Method in class org.kissweb.RestClient
-
Performs the web service call.
- portrait() - Method in class org.kissweb.PDF
- PostgreSQL - Enum constant in enum class org.kissweb.database.Connection.ConnectionType
- PREVIOUS - Static variable in class org.kissweb.CL
- printError(String) - Static method in class org.kissweb.builder.BuildUtils
- println(String) - Static method in class org.kissweb.builder.BuildUtils
- println(String) - Static method in class org.kissweb.CL
-
Print a line of output terminating with a new line.
- printlnIfVerbose(String) - Static method in class org.kissweb.builder.BuildUtils
- printStackTrace(Throwable) - Static method in class org.kissweb.lisp.ABCL
- process() - Method in class org.kissweb.Groff
-
Process the groff/tbl/mm input, produce the PDF output file, and return the path to the PDF file.
- process(float) - Method in class org.kissweb.Groff
-
Process the groff/tbl/mm input, produce the PDF output file, and return the path to the PDF file.
- ProcessServlet - Class in org.kissweb.restServer
-
Author: Blake McBride Date: 11/26/19
- put(String) - Method in class org.kissweb.FTP
-
Transfer a file to a remote system.
- put(String, boolean) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into the ini file in the
null
section. - put(String, char) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into the ini file in the
null
section. - put(String, double) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into the ini file in the
null
section. - put(String, int) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into the ini file in the
null
section. - put(String, long) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into the ini file in the
null
section. - put(String, String) - Method in class org.kissweb.FTP
-
Transfer a local file to the remote system.
- put(String, String) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into the ini file in the
null
section. - put(String, String, boolean) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into a specified section of the ini file.
- put(String, String, char) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into a specified section of the ini file.
- put(String, String, double) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into a specified section of the ini file.
- put(String, String, int) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into a specified section of the ini file.
- put(String, String, long) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into a specified section of the ini file.
- put(String, String, String) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into a specified section of the ini file.
- put(String, String, Date) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into a specified section of the ini file.
- put(String, Date) - Method in class org.kissweb.IniFile
-
Puts a key-value pair into the ini file in the
null
section. - putEnvironment(String, Object) - Static method in class org.kissweb.restServer.MainServlet
-
Add an application-specific key / value pair.
- putUserData(String, Object) - Method in class org.kissweb.restServer.UserData
Q
- query(int, int, String, Object...) - Method in class org.kissweb.database.Command
-
Execute a select statement returning a Kiss Cursor (not a database cursor) that may be used to obtain each subsequent row.
- query(int, int, String, Object...) - Method in class org.kissweb.database.Connection
-
Execute a select statement returning a Kiss Cursor (not a database cursor) that may be used to obtain each subsequent row.
- query(int, String, Object...) - Method in class org.kissweb.database.Command
-
Execute a select statement returning a Kiss Cursor (not a database cursor) that may be used to obtain each subsequent row.
- query(int, String, Object...) - Method in class org.kissweb.database.Connection
-
Execute a select statement returning a Kiss Cursor (not a database cursor) that may be used to obtain each subsequent row.
- query(String, Object...) - Method in class org.kissweb.database.Command
-
Execute a select statement returning a Kiss Cursor (not a database cursor) that may be used to obtain each subsequent row.
- query(String, Object...) - Method in class org.kissweb.database.Connection
-
Execute a select statement returning a Kiss Cursor (not a database cursor) that may be used to obtain each subsequent row.
- Questions() - Constructor for class org.kissweb.CL.Questions
R
- readAllBytes(BufferedInputStream) - Static method in class org.kissweb.FileUtils
-
Read all bytes from a
BufferedInputStream
and return a byte array with the data. - readChar() - Static method in class org.kissweb.builder.BuildUtils
- readFile(String) - Static method in class org.kissweb.FileUtils
-
Read the entire contents of a file into a String.
- readFileBytes(String) - Static method in class org.kissweb.FileUtils
-
Read the entire contents of a file into a byte array.
- readHeader() - Method in class org.kissweb.DelimitedFileReader
-
Read the first row and map column title names to indexes.
- realclean() - Static method in class org.kissweb.builder.Tasks
-
Remove:
-- all files that were built
-- the downloaded jar files, tomcat
Do not remove:
-- the IDE files - Record - Class in org.kissweb.database
-
Instances of this class represent a single row in a table or a row in a result set.
- removeFromCache(String) - Static method in class org.kissweb.builder.BuildUtils
- removeKey(String) - Method in class org.kissweb.IniFile
-
Removes the key-value pair associated with the given key from the ini file in the
null
section. - removeKey(String, String) - Method in class org.kissweb.IniFile
-
Removes the specified key/value pair from the specified section of the ini file.
- removeValue(String) - Method in class org.kissweb.IniFile
-
Removes the value associated with the given key from the ini file in the
null
section. - removeValue(String, String) - Method in class org.kissweb.IniFile
-
Removes the specified key from the specified section of the ini file.
- reset() - Static method in class org.kissweb.lisp.ABCL
- RestClient - Class in org.kissweb
-
Provides the ability to act as a client to an external REST server.
- RestClient() - Constructor for class org.kissweb.RestClient
- RestServerBase - Class in org.kissweb
-
This class provides the base functionality for creating non-Kiss REST servers.
- RestServerBase() - Constructor for class org.kissweb.RestServerBase
- returnBinary(byte[]) - Method in class org.kissweb.restServer.ProcessServlet
-
Return binary data to the front-end.
- rightStrip(String) - Static method in class org.kissweb.StringUtils
-
Strip the spaces of the end of a string.
- rm(String) - Static method in class org.kissweb.builder.BuildUtils
-
Remove a file or empty directory
- rmdir(String) - Static method in class org.kissweb.builder.BuildUtils
-
Remove a file or empty directory
- rmRegex(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Delete all files in a directory that match a (Java!) regex.
- rmTree(String) - Static method in class org.kissweb.builder.BuildUtils
-
Remove a file or entire directory tree
- rollback() - Method in class org.kissweb.database.Connection
-
Rollback, erase, or forget all the operations since the last commit.
- round(double, int) - Static method in class org.kissweb.NumberUtils
-
Round a number to the nearest p decimal places.
- roundDown(double, int) - Static method in class org.kissweb.NumberUtils
-
Round a number down to the nearest p decimal places.
- roundUp(double, int) - Static method in class org.kissweb.NumberUtils
-
Round a number up to the nearest p decimal places.
- run() - Static method in class org.kissweb.CL.Questions
-
Run through the list of questions.
- run() - Method in class org.kissweb.restServer.ProcessServlet
- run(boolean, boolean, boolean, boolean, String, String) - Static method in class org.kissweb.builder.BuildUtils
-
This is the main driving method for all external procedure calls.
- run(boolean, String, String, String, Object, Object...) - Static method in class org.kissweb.restServer.GroovyService
-
This method allows calls to Groovy microservices.
- run(Method, Object, Object...) - Static method in class org.kissweb.restServer.GroovyService
-
This method is used to run a method on a groovy class.
- run(String, String, String, Object, Object...) - Static method in class org.kissweb.restServer.GroovyService
-
This method is used to execute a microservice.
- runBackground(String) - Static method in class org.kissweb.builder.BuildUtils
-
Run a command in the underlying OS in the background.
- runGroovyCode(String) - Static method in class org.kissweb.GroovyUtils
-
Executes the given Groovy code and returns the result.
- runGroovyCode(String, Map<String, Object>) - Static method in class org.kissweb.GroovyUtils
-
Executes the given Groovy code with the specified arguments and returns the result.
- runShell(String) - Static method in class org.kissweb.builder.BuildUtils
-
Run a command in the underlying OS shell in the foreground.
- runShell(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Run a command in the underlying OS shell in the foreground.
- runWait(boolean, String) - Static method in class org.kissweb.builder.BuildUtils
-
Run a command in the underlying OS in the foreground.
- runWait(boolean, String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Run a command in the underlying OS in the foreground.
S
- save() - Method in class org.kissweb.IniFile
-
Save the in-memory ini file to file it was read from.
- save(String) - Method in class org.kissweb.IniFile
-
Save the in-memory ini file to the specified file.
- saveUploadFile(int) - Method in class org.kissweb.restServer.ProcessServlet
-
Reads upload file "n", saves it to a temporary file, and returns the path to that file.
- saveUploadFile(int, String) - Method in class org.kissweb.restServer.ProcessServlet
-
Reads upload file "n", saves it to the file name passed in, and returns the file name passed in
- set(String, Object) - Method in class org.kissweb.database.Cursor
-
Set the value of a column in the current record.
- set(String, Object) - Method in class org.kissweb.database.Record
-
Set the value of a column in the record.
- setAPIKey(String) - Static method in class org.kissweb.googleMapsAPI.GoogleAPIKey
-
Sets the global key for Google API.
- setApplicationPath(String) - Static method in class org.kissweb.restServer.MainServlet
-
Set the application path when it is determined outside of Kiss.
- setConnectionType(Connection.ConnectionType) - Static method in class org.kissweb.restServer.MainServlet
- setDatabase(String) - Static method in class org.kissweb.restServer.MainServlet
- setDateFormat(String) - Method in class org.kissweb.DelimitedFileWriter
-
Set the format of date output.
- setDateOnly(String, int) - Method in class org.kissweb.database.Cursor
-
Set the date portion of the Date only (no time info) value of a column in the record.
- setDateOnly(String, int) - Method in class org.kissweb.database.Record
-
Set the date portion of the Date only (no time info) value of a column in the record.
- setDateOnly(String, Date) - Method in class org.kissweb.database.Cursor
-
Set the date portion of the Date only (no time info) value of a column in the record.
- setDateOnly(String, Date) - Method in class org.kissweb.database.Record
-
Set the date portion of the Date only (no time info) value of a column in the record.
- setDateTime(String, long) - Method in class org.kissweb.database.Cursor
-
Set the date and time value of a column in the record.
- setDateTime(String, long) - Method in class org.kissweb.database.Record
-
Set the date and time value of a column in the record.
- setDateTime(String, ZonedDateTime) - Method in class org.kissweb.database.Record
-
Set the date and time value of a column in the record.
- setDateTime(String, Date) - Method in class org.kissweb.database.Cursor
-
Set the date and time value of a column in the record.
- setDateTime(String, Date) - Method in class org.kissweb.database.Record
-
Set the date and time value of a column in the record.
- setDebugFileName(String) - Method in class org.kissweb.RestClient
-
Set a file for debug output.
- setDefaultPassword(String) - Static method in class org.kissweb.Crypto
-
Set the default password.
- setDeleteCallback(BiConsumer<String, Object>) - Method in class org.kissweb.database.Connection
-
Sets the connection-wide delete callback method.
- setFieldCountCheck(int) - Method in class org.kissweb.DelimitedFileReader
-
Optional method used to set the expected number of fields in each row.
- setFont(PDFont, float) - Method in class org.kissweb.PDF
-
Set font style and size
- setFooter(String, String) - Method in class org.kissweb.Groff
-
Ability to customize what shows on the bottom of each page.
- setHost(String) - Static method in class org.kissweb.restServer.MainServlet
- setInactiveUserMaxSeconds(int) - Static method in class org.kissweb.restServer.UserCache
- setLastAccessDate(LocalDateTime) - Method in class org.kissweb.restServer.UserData
- setLispRelease(int) - Static method in class org.kissweb.lisp.ABCL
- setMaxWorkerThreads(int) - Static method in class org.kissweb.restServer.MainServlet
- setPageSize(PDRectangle) - Method in class org.kissweb.PDF
- setPassword(String) - Static method in class org.kissweb.restServer.MainServlet
- setPort(int) - Static method in class org.kissweb.restServer.MainServlet
- setProxy(String, int) - Method in class org.kissweb.RestClient
- setResponse(HttpServletResponse, String, byte[]) - Static method in class org.kissweb.RestServerBase
-
Set the response to a string.
- setResponse(HttpServletResponse, String, String) - Static method in class org.kissweb.RestServerBase
-
Set the response to a string.
- setResponse(HttpServletResponse, JSONObject) - Static method in class org.kissweb.RestServerBase
-
Set the response to a JSON object.
- setRootPath(String) - Static method in class org.kissweb.restServer.MainServlet
-
Manually set root path if needed.
- setRuntime(String) - Method in class org.kissweb.Groff
-
Manually set the run date string.
- setTime(String, long) - Method in class org.kissweb.database.Cursor
-
Set the time value in milliseconds
- setTime(String, long) - Method in class org.kissweb.database.Record
-
Set the time value in milliseconds
- setTLSKey(String, String, String) - Method in class org.kissweb.RestClient
-
Set a TLS key.
- setupTomcat() - Static method in class org.kissweb.builder.Tasks
-
Unpack and install tomcat
- setUser(String) - Static method in class org.kissweb.restServer.MainServlet
- setVariable(String, String) - Method in class org.kissweb.Groff
-
Used to assign values to template variables.
- setWaitMinutes(long) - Method in class org.kissweb.Groff
-
Set the number of minutes to wait for groff to finish.
- size() - Method in class org.kissweb.database.Cursor
-
Returns the number of records in the cursor.
- size() - Method in class org.kissweb.DelimitedFileReader
-
Returns the number of columns / fields in the current row / record.
- skipLine() - Method in class org.kissweb.DelimitedFileReader
-
Skip the next line in the CSV file.
- split(String, String) - Static method in class org.kissweb.StringUtils
-
Splits a string into an array of substrings based on a specified delimiter character.
- sprintf(String, Object...) - Static method in class org.kissweb.StringUtils
-
C-like sprintf method.
- SQLite - Enum constant in enum class org.kissweb.database.Connection.ConnectionType
- startGraphics() - Method in class org.kissweb.PDF
-
End text mode and go into graphics mode.
- startTable(String) - Method in class org.kissweb.Groff
-
Mark the start of a table.
- startText() - Method in class org.kissweb.PDF
-
Start output of text.
- StartupListener - Class in org.kissweb.restServer
-
Author: Blake McBride Date: 4/17/20
- StartupListener() - Constructor for class org.kissweb.restServer.StartupListener
- stringToCharacter(String) - Static method in class org.kissweb.StringUtils
-
Convert
String
toCharacter
correctly handling nulls and zero length strings. - StringUtils - Class in org.kissweb
-
This class contains many methods used to manipulate
String
s. - StringUtils() - Constructor for class org.kissweb.StringUtils
- strLength(char[]) - Static method in class org.kissweb.StringUtils
- substring(String, int, int) - Static method in class org.kissweb.StringUtils
-
This method provides the ability to get a substring of a string by providing a starting location and a length.
T
- tableExists(String) - Method in class org.kissweb.database.Connection
-
Tests to see if a specified table exists.
- tail(String) - Static method in class org.kissweb.builder.BuildUtils
-
Works like Unix "tail -F" command.
- take(char[], int) - Static method in class org.kissweb.StringUtils
- take(String, int) - Static method in class org.kissweb.StringUtils
-
An APL-like TAKE function.
- Tasks - Class in org.kissweb.builder
-
This class contains the tasks that are executed by the build system.
- Tasks() - Constructor for class org.kissweb.builder.Tasks
- Test - Class in org.kissweb.database
-
User: Blake McBride Date: 9/30/16
- Test - Class in Unnamed Package
- Test() - Constructor for class org.kissweb.database.Test
- Test() - Constructor for class Test
- textOut(int, int, String) - Method in class org.kissweb.PDF
-
Output txt at line y, column x Lines and column numbers take font into account so, for example, typically letter paper would give 66 lines and 80 columns.
- textOutpx(float, float, String) - Method in class org.kissweb.PDF
-
Output txt at dot position y, dot position x
- TimeUtils - Class in org.kissweb
-
TimeUtils class.
- TimeUtils() - Constructor for class org.kissweb.TimeUtils
- toAscii(String) - Static method in class org.kissweb.StringUtils
-
Converts a string to ASCII by replacing non-ASCII characters with their ASCII approximations and removing other non-ASCII characters.
- toCalendar(int) - Static method in class org.kissweb.DateUtils
-
convert from an
int
date to aCalendar
date. - toCalendar(int, int, int) - Static method in class org.kissweb.DateUtils
-
Create a
Calendar
from a year, month, and day. - toCalendar(LocalDate) - Static method in class org.kissweb.DateUtils
-
Convert from a
LocalDate
date to aCalendar
date. - toCalendar(Date) - Static method in class org.kissweb.DateUtils
-
Convert from a
Date
date to aCalendar
date. - toDate(int) - Static method in class org.kissweb.database.Connection
-
Utility method to convert an integer date into an SQL Timestamp.
- toDate(int) - Static method in class org.kissweb.DateUtils
-
convert from an
int
date to aDate
date. - toDate(int, int, int) - Static method in class org.kissweb.DateUtils
-
Create a
Date
from a year, month, and day. - toDate(LocalDate) - Static method in class org.kissweb.DateUtils
-
convert from an
LocalDate
date to aDate
date. - toDate(Calendar) - Static method in class org.kissweb.DateUtils
-
convert from an
Calendar
date to aDate
date. - toDate(Date) - Static method in class org.kissweb.database.Connection
-
Utility method to convert a Java Date into an SQL Date.
- today() - Static method in class org.kissweb.DateUtils
-
Returns the current date as an integer formatted as YYYYMMDD.
- today(String) - Static method in class org.kissweb.DateUtils
-
Returns the current date in the specified time zone as an integer formatted as YYYYMMDD.
- todayCalendar() - Static method in class org.kissweb.DateUtils
-
Return today's date as a
Calendar
instance. - todayDate() - Static method in class org.kissweb.DateUtils
-
Return today's date as a
Date
instance. - todayLocalDate() - Static method in class org.kissweb.DateUtils
-
Return today's date as a
LocalDate
instance. - toInt(int, int, int) - Static method in class org.kissweb.DateUtils
-
Create an
int
date from a year, month, and day. - toInt(LocalDate) - Static method in class org.kissweb.DateUtils
-
convert from a
LocalDate
instance to anint
date. - toInt(Calendar) - Static method in class org.kissweb.DateUtils
-
convert from a
Calendar
instance to anint
date. - toInt(Date) - Static method in class org.kissweb.DateUtils
-
convert from a
Date
instance to anint
date. - toJson(String) - Static method in class org.kissweb.JsonPath
-
This takes a JSON string or a file name (containing JSON) and returns a JSON object.
- toJSON() - Method in class org.kissweb.database.Record
-
Convert a record into a JSON object.
- toJSONArray(List<Record>) - Static method in class org.kissweb.database.Record
-
Utility method to convert a list of Record's into a JSON array of JSON objects.
- toLocalDate(int) - Static method in class org.kissweb.DateUtils
-
convert from an
int
date to aLocalDate
date. - toLocalDate(int, int, int) - Static method in class org.kissweb.DateUtils
-
Create a
LocalDate
from a year, month, and day. - toLocalDate(Calendar) - Static method in class org.kissweb.DateUtils
-
Convert from a
Calendar
date to aLocalDate
- toLocalDate(Date) - Static method in class org.kissweb.DateUtils
-
Convert from a
Date
date to aLocalDate
date. - toPrimitiveByteArray(Byte[]) - Static method in class org.kissweb.ArrayUtils
-
Converts a Byte array to a byte array.
- toTimestamp(int) - Static method in class org.kissweb.database.Connection
-
Utility method to convert an integer date into an SQL Timestamp.
- toTimestamp(Date) - Static method in class org.kissweb.database.Connection
-
Utility method to convert a Java Date into an SQL Timestamp.
- touch(String) - Static method in class org.kissweb.builder.BuildUtils
- touch(String, long) - Static method in class org.kissweb.builder.BuildUtils
- toWrapperByteArray(byte[]) - Static method in class org.kissweb.ArrayUtils
-
Converts a byte array to a Byte array.
- trunk(double) - Static method in class org.kissweb.NumberUtils
-
Truncate the decimal part of a number.
U
- unitTests() - Static method in class org.kissweb.builder.Tasks
-
Build the system for unit testing.
- unJar(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Unpack a JAR file.
- unJarAllLibs(String, BuildUtils.LocalDependencies, BuildUtils.ForeignDependencies) - Static method in class org.kissweb.builder.BuildUtils
- update() - Method in class org.kissweb.database.Record
-
Performs an SQL update on the record.
- URLBuilder - Class in org.kissweb
-
A class used to process URL escape sequences.
- URLBuilder(String) - Constructor for class org.kissweb.URLBuilder
-
Create a URLBuilder passing it the full URL minus any URL parameters.
- UserCache - Class in org.kissweb.restServer
-
This class manages all the users currently logged into the system.
- UserCache() - Constructor for class org.kissweb.restServer.UserCache
- UserData - Class in org.kissweb.restServer
-
Instances of this class keep information about a particular user.
V
- VALUE - Static variable in class org.kissweb.CL
- valueOf(String) - Static method in enum class org.kissweb.database.Connection.ConnectionType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.kissweb.database.Connection.ConnectionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- war() - Static method in class org.kissweb.builder.Tasks
-
Build the system and create the deployable WAR file.
- write(String, byte[]) - Static method in class org.kissweb.FileUtils
-
Write byte array to file fileName.
- write(String, Byte[]) - Static method in class org.kissweb.FileUtils
-
Write byte array to file fileName.
- write(String, String) - Static method in class org.kissweb.FileUtils
-
Write String to file fileName.
- writeArgsToFile(ArrayList<File>) - Static method in class org.kissweb.builder.BuildUtils
-
Create a command line input file (used in Windows)
- writeDate(int) - Method in class org.kissweb.DelimitedFileWriter
-
Output a numeric date in the default format.
- writeDocArgsToFile(ArrayList<File>, ArrayList<File>) - Static method in class org.kissweb.builder.BuildUtils
- writeField(char) - Method in class org.kissweb.DelimitedFileWriter
-
Output a single character field.
- writeField(double) - Method in class org.kissweb.DelimitedFileWriter
-
Output a floating point number with a maximum of two decimal places.
- writeField(int) - Method in class org.kissweb.DelimitedFileWriter
-
Output an integer column.
- writeField(int, String) - Method in class org.kissweb.DelimitedFileWriter
-
Write a String field limiting the size of the String.
- writeField(String) - Method in class org.kissweb.DelimitedFileWriter
-
Write a String field correctly dealing with embedded quotes and delimiters
- writeFieldUpperCase(String) - Method in class org.kissweb.DelimitedFileWriter
-
Write a String field forcing the string to uppercase and a quoted output.
- writeNoZero(int) - Method in class org.kissweb.DelimitedFileWriter
-
Output an integer field using an empty field if the number is zero.
- writeToFile(String, String) - Static method in class org.kissweb.builder.BuildUtils
-
Writes a string to file if it doesn't already exist.
X
- XML - Class in org.kissweb
-
Utility methods for dealing with XML.
- XML() - Constructor for class org.kissweb.XML
- xmlCall(String, String) - Method in class org.kissweb.RestClient
-
Call a REST service sending nothing and returning an XML document.
- xmlCall(String, String, String, JSONObject) - Method in class org.kissweb.RestClient
-
Call a REST service sending a String but returning an XML document.
Y
A B C D E F G H I J K L M N O P Q R S T U V W X YAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form