A B C D E F G H I J L M N O P Q R S T U W Z _

A

AllTests - class com.myjavatools.lib.AllTests.
 
AllTests(String) - Constructor for class com.myjavatools.lib.AllTests
 
adjustSizeByMooreLaw(int, int) - Static method in class com.myjavatools.lib.Files
 
appendBytesToFile(char[], String) - Static method in class com.myjavatools.lib.Files
Appends bytes to the end of a file
appendBytesToFile(byte[], String) - Static method in class com.myjavatools.lib.Files
Appends bytes to a file
appendToFile(CharSequence, String) - Static method in class com.myjavatools.lib.Files
Appends a char sequence to the end of a file
appendToFile(char[], String) - Static method in class com.myjavatools.lib.Files
Appends chars to the end of a file
appendToFile(byte[], String) - Static method in class com.myjavatools.lib.Files
Appends bytes to the end of a file
asMap(Object[]) - Static method in class com.myjavatools.lib.Objects
Deprecated.  
asProperties(String[]) - Static method in class com.myjavatools.lib.Strings
Create Properties from an array of key-value pairs
assertEquals(String, Object[], Object[]) - Static method in class com.myjavatools.lib.TestFiles
 
assertEquals(String, byte[], byte[]) - Static method in class com.myjavatools.lib.TestFiles
 
assertEquals(String, char[], char[]) - Static method in class com.myjavatools.lib.TestFiles
 
assertEquals(String, Object[], Object[]) - Static method in class com.myjavatools.lib.TestObjects
 
assertEquals(String, byte[], byte[]) - Static method in class com.myjavatools.lib.TestObjects
 
assertEquals(String, char[], char[]) - Static method in class com.myjavatools.lib.TestObjects
 
assertEquals(String, Object[], Object[]) - Static method in class com.myjavatools.lib.TestStrings
 
assertEquals(String, byte[], byte[]) - Static method in class com.myjavatools.lib.TestStrings
 
assertEquals(String, char[], char[]) - Static method in class com.myjavatools.lib.TestStrings
 

B

BigMap - interface com.myjavatools.lib.BigMap.
Title: My Java Tools Library.
bark(String) - Static method in class com.myjavatools.lib.Tools
Displays an error message

C

cat(Collection, Collection) - Static method in class com.myjavatools.lib.Objects
Concatenates two collections into one List
chdir(String) - Static method in class com.myjavatools.lib.Files
Changes current directory
clear() - Method in interface com.myjavatools.lib.Files.BufferingFilter
clears the filter buffer
close(Object[]) - Method in class com.myjavatools.lib.FormattedWriter
Writes the tail to formatted output and closes it
close() - Method in class com.myjavatools.lib.FormattedWriter
Writes the tail to formatted output and closes it
com.myjavatools.lib - package com.myjavatools.lib
The package contains utility tools that help solve ubiquitous problems while doing Java programming.
commandLineArg(String) - Static method in class com.myjavatools.lib.Tools
Wraps command line argument into quotes if it contains spaces
compare(File, File) - Static method in class com.myjavatools.lib.Files
Compare two files
compose(Map, Map) - Static method in class com.myjavatools.lib.Objects
composes two Maps (like functions, if you know what I mean)
copy(String, String, String) - Static method in class com.myjavatools.lib.Files
copies a file or a directory from one directory to another
copy(File, File, String) - Static method in class com.myjavatools.lib.Files
copy copies a file or a directory from one directory to another
copy(String, String) - Static method in class com.myjavatools.lib.Files
copy copies a file or a directory to another
copy(File, File) - Static method in class com.myjavatools.lib.Files
copy copies a file or a directory to another
countChar(CharSequence, char) - Static method in class com.myjavatools.lib.Strings
Counts the number of occurrences of char c in CharSequence s.
countLeadingSpaces(CharSequence) - Static method in class com.myjavatools.lib.Strings
Counts leading spaces in a char sequence
countTrailingSpaces(CharSequence) - Static method in class com.myjavatools.lib.Strings
Counts trailing spaces in a char sequence
crc32(byte[]) - Static method in class com.myjavatools.lib.Objects
Calculates crc32 on a byte array
crc32(byte[], int, int) - Static method in class com.myjavatools.lib.Objects
Calculates crc32 on a byte array
crc32(CharSequence) - Static method in class com.myjavatools.lib.Strings
Calculates crc32 on a char sequence
crcreport(byte[], int, int, int) - Static method in class com.myjavatools.lib.Strings
Returns a crc report on a byte array: a set of partial crc on chunks of data
crcreport(byte[], int) - Static method in class com.myjavatools.lib.Strings
Returns a crc report on a byte array: a set of partial crc on chunks of data

D

decode(InputStream, String) - Static method in class com.myjavatools.lib.Strings
Decodes a stream using specified encoding
decode(byte[], String) - Static method in class com.myjavatools.lib.Strings
Decodes an array of bytes using specified encoding
decodeJavaString(CharSequence) - Static method in class com.myjavatools.lib.Strings
Decodes (and unescapes) a Java string.
deleteFile(String) - Static method in class com.myjavatools.lib.Files
Deletes a file or a directory (with all its contents, they say it is dangerous)
deleteFile(File) - Static method in class com.myjavatools.lib.Files
Deletes a file or a directory (with all its contents, they say it is dangerous)
directoryFilter - Static variable in class com.myjavatools.lib.Files
directoryFilter is a FileFilter that accepts directories
dirname(File) - Static method in class com.myjavatools.lib.Files
Calculates directory path for a file (like in Perl)
dirname(String) - Static method in class com.myjavatools.lib.Files
Calculates directory path by file path (like in Perl)
downloadFile(URL, String) - Static method in class com.myjavatools.lib.Web
Downloads a file from a specified URL
downloadFile(String, String) - Static method in class com.myjavatools.lib.Web
Downloads a file from a specified URL

E

ESCAPED - Static variable in class com.myjavatools.lib.Strings
Characters used in escapes "\\\"\'nrtfb"
ESCAPEE - Static variable in class com.myjavatools.lib.Strings
Characters that should be escaped in Java or C code "\\\"\'\n\r\t\f\b"
encode(CharSequence, String) - Static method in class com.myjavatools.lib.Strings
Encodes a char sequence using specified encoding
extractValue(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
Extracts value from a char sequence of format NAME="VALUE"

F

FIND_ALL - Static variable in class com.myjavatools.lib.Files
 
FIND_DIRECTORY - Static variable in class com.myjavatools.lib.Files
 
FIND_FILE - Static variable in class com.myjavatools.lib.Files
 
Files - class com.myjavatools.lib.Files.
 
Files() - Constructor for class com.myjavatools.lib.Files
 
Files.BufferingFilter - interface com.myjavatools.lib.Files.BufferingFilter.
Description: Buffering filter stores some data, and these data can be later retrieved.
Files.ByteFilter - interface com.myjavatools.lib.Files.ByteFilter.
Description: The interface is used to define filters for filtering data in pipes.
FormattedWriter - class com.myjavatools.lib.FormattedWriter.
 
FormattedWriter(Writer, String) - Constructor for class com.myjavatools.lib.FormattedWriter
Creates a writer that formats its output according to the format specified
FormattedWriter(Writer, String, String, String) - Constructor for class com.myjavatools.lib.FormattedWriter
Creates a writer that formats its output according to head, body and tail formats specified
FormattedWriter(OutputStream, String) - Constructor for class com.myjavatools.lib.FormattedWriter
Creates a writer that formats its output according to the format specified
FormattedWriter(OutputStream, String, String, String) - Constructor for class com.myjavatools.lib.FormattedWriter
Creates a writer that formats its output according to head, body and tail formats specified
fatalError(boolean, String) - Static method in class com.myjavatools.lib.Tools
Reports a fatal error to sderr and exits, upon a condition
fatalError(String) - Static method in class com.myjavatools.lib.Tools
Reports a fatal error to sderr and exits
fatalError(Exception) - Static method in class com.myjavatools.lib.Tools
Reports a fatal exception to sderr and exits
fatalError(String, Exception) - Static method in class com.myjavatools.lib.Tools
Reports an error message and an exception to sderr and exits
filename(String) - Static method in class com.myjavatools.lib.Files
Calculates filename by file path (like in Perl)
fill(char, int) - Static method in class com.myjavatools.lib.Strings
Fills a string with a character
filter(byte[], int) - Method in interface com.myjavatools.lib.Files.ByteFilter
filters data coming from input
find(File, Pattern) - Static method in class com.myjavatools.lib.Files
Lists recursively files and directories with name matching a regexp
find(String, Pattern) - Static method in class com.myjavatools.lib.Files
Lists recursively files and directories with name matching a regexp
find(String, String) - Static method in class com.myjavatools.lib.Files
Lists recursively files and directories with name matching a regexp
findDiff(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
Finds index of the first difference between two char sequences
findLatest(String, String, int) - Static method in class com.myjavatools.lib.Files
Finds latest file or directory or one of these which name matches a pattern
findLatest(String, String) - Static method in class com.myjavatools.lib.Files
Finds latest file or directory which name matches a pattern
findLatestDirectory(String, String) - Static method in class com.myjavatools.lib.Files
Finds latest directory which name matches a pattern
findLatestFile(String, String) - Static method in class com.myjavatools.lib.Files
Finds latest file which name matches a pattern
format(String, Object) - Static method in class com.myjavatools.lib.Strings
Formats string with one parameter
format(String, Object, Object) - Static method in class com.myjavatools.lib.Strings
Formats string with two parameters
format(String, Object, Object, Object) - Static method in class com.myjavatools.lib.Strings
Formats string with three parameters
freeMemory() - Static method in class com.myjavatools.lib.Tools
Collects garbage, reports back

G

gc() - Static method in class com.myjavatools.lib.Tools
Collects garbage, reports back
get(Object, Object) - Method in interface com.myjavatools.lib.BigMap
 
get(Object, Object, Object) - Method in interface com.myjavatools.lib.BigMap
 
get(Object, Object, Object, Object) - Method in interface com.myjavatools.lib.BigMap
 
get(Object[]) - Method in interface com.myjavatools.lib.BigMap
 
getBody() - Method in class com.myjavatools.lib.FormattedWriter
Gets body format string
getBuffer() - Method in interface com.myjavatools.lib.Files.BufferingFilter
gets data stored as a result of filtering; no assumption regarding the nature of the data.
getBytes() - Method in class com.myjavatools.lib.ZipInput
retrieves the contents of current ZipEntry data
getChars(String) - Method in class com.myjavatools.lib.ZipInput
gets the contents of current ZipEntry data as characters
getCharsetByEncoding(String) - Static method in class com.myjavatools.lib.Web
Deprecated. should use java.nio.Charset
getCommandOutput(String) - Static method in class com.myjavatools.lib.Tools
returns as string the output of a command
getEncodingByCharset(String) - Static method in class com.myjavatools.lib.Web
Deprecated. should use java.nio.Charset
getEntry() - Method in class com.myjavatools.lib.ZipInput
gets current ZipEntry
getEntryName() - Method in class com.myjavatools.lib.ZipInput
gets the name of current ZipEntry
getEntrySize() - Method in class com.myjavatools.lib.ZipInput
gets the size of current entry data
getEntryTime() - Method in class com.myjavatools.lib.ZipInput
gets timestamp of current zip entry
getFullPath(File) - Static method in class com.myjavatools.lib.Files
Calculates full path of a file
getFullPath(String) - Static method in class com.myjavatools.lib.Files
Calculates full path of a file by its path
getHead() - Method in class com.myjavatools.lib.FormattedWriter
Gets head format string
getHtmlCharset(CharSequence) - Static method in class com.myjavatools.lib.Web
Detects charset from html contents
getHtmlEncoding(CharSequence) - Static method in class com.myjavatools.lib.Web
Deprecated. should use java.nio.Charset
getList(int) - Static method in class com.myjavatools.lib.Objects
List factory
getMap() - Static method in class com.myjavatools.lib.Objects
Map factory
getMap(int) - Static method in class com.myjavatools.lib.Objects
Map factory
getPackageName(String, String) - Static method in class com.myjavatools.lib.Files
Calculates a java package name by directory name and base directory name
getSet(int) - Static method in class com.myjavatools.lib.Objects
Set factory
getTail() - Method in class com.myjavatools.lib.FormattedWriter
gets tail format string
getUrlInputStream(URL) - Static method in class com.myjavatools.lib.Web
gets an input stream for a given url
getXmlCharset(CharSequence) - Static method in class com.myjavatools.lib.Web
Detects charset from xml contents
getXmlEncoding(CharSequence) - Static method in class com.myjavatools.lib.Web
Deprecated. should use java.nio.Charset
getcwd() - Static method in class com.myjavatools.lib.Files
Gets current directory path
grep(CharSequence[], CharSequence) - Static method in class com.myjavatools.lib.Strings
Perl operation grep.
grep(CharSequence[], Pattern) - Static method in class com.myjavatools.lib.Strings
Perl operation grep.

H

hasAlpha(CharSequence) - Static method in class com.myjavatools.lib.Strings
Checks whether a CharSequence contains any latin letters.
hexDump(byte[]) - Static method in class com.myjavatools.lib.Strings
Hexadecimal dump of a byte array.
hexDump(char[]) - Static method in class com.myjavatools.lib.Strings
Hexadecimal dump of a char array Produces neatly arranged lines of bot hex and ascii representation of bytes from the array.
hexDump(CharSequence) - Static method in class com.myjavatools.lib.Strings
Hexadecimal dump of a CharSequence Produces neatly arranged lines of bot hex and ascii representation of bytes from the array.
htmlEncode(CharSequence) - Static method in class com.myjavatools.lib.Strings
encodes a CharSequence into an HTML-acceptable format

I

indexOf(Object, Object[]) - Static method in class com.myjavatools.lib.Objects
Gets the index of the first element of an array that equals to specified object
indexOf(Object, Object[], int) - Static method in class com.myjavatools.lib.Objects
Gets the index of the next element of an array that equals to specified object
indexOf(Object, List) - Static method in class com.myjavatools.lib.Objects
Gets the index of the first element of an list that equals to specified object
indexOf(Object, List, int) - Static method in class com.myjavatools.lib.Objects
Gets the index of the next element of a list that equals to specified object
indexOf(CharSequence, char, int) - Static method in class com.myjavatools.lib.Strings
CharSequence version of indexOf
indexOf(CharSequence, char) - Static method in class com.myjavatools.lib.Strings
CharSequence version of indexOf
indexOf(CharSequence, CharSequence, int) - Static method in class com.myjavatools.lib.Strings
CharSequence version of indexOf
indexOf(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
CharSequence version of indexOf
inform(String) - Static method in class com.myjavatools.lib.Tools
Displays an informative message
install(Class, String, File) - Static method in class com.myjavatools.lib.Files
installs files from a resource archive Reads a specified resource for aspecified class, unzips it to a specified directory
install(Class, String, String) - Static method in class com.myjavatools.lib.Files
installs files from a resource archive Reads a specified resource for aspecified class, unzips it to a specified directory
inverse(Map) - Static method in class com.myjavatools.lib.Objects
Inverses a Map
isAlmostEmpty(CharSequence) - Static method in class com.myjavatools.lib.Strings
Checks whether a CharSequence does not contain anything except whitespaces and the like.
isAlpha(char) - Static method in class com.myjavatools.lib.Strings
Deprecated. use Character.isJavaIdentifierStart(char)

Examples:
  • isAlpha('a'), isAlpha('O'), isAlpha('I'), isAlpha('l') return true;
  • isAlpha('+'), isAlpha('0'), isAlpha('|'), isAlpha('1') return false.
  • isEmpty(Object) - Static method in class com.myjavatools.lib.Objects
    In a "creative" way checks whether a string or a container is empty.
    isEntryDirectory() - Method in class com.myjavatools.lib.ZipInput
    checks whether current ZipEntry is a directory
    isTrue(String) - Method in class com.myjavatools.lib.Strings
    Extracts logical value from a string
    isVowel(char) - Static method in class com.myjavatools.lib.Strings
    Checks whether a character is a latin vowel.

    J

    join(CharSequence, Collection) - Static method in class com.myjavatools.lib.Strings
    Perl operation join.
    join(CharSequence, Object[]) - Static method in class com.myjavatools.lib.Strings
    Perl operation join.

    L

    lastIndexOf(CharSequence, char) - Static method in class com.myjavatools.lib.Strings
    CharSequence version of lastIndexOf
    lastModified(File) - Static method in class com.myjavatools.lib.Files
    Gets file modification date/time as a string
    listSubdirectories(File) - Static method in class com.myjavatools.lib.Files
    Lists subdirectories of a directory

    M

    makeFile(String, String, boolean) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String, String) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String[], boolean) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String[]) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String, boolean) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(String) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(File, boolean) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFile(File) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    makeFileWriter(String, String) - Static method in class com.myjavatools.lib.Files
    Creates or opens a file for output.
    map(Map, Object[]) - Static method in class com.myjavatools.lib.Objects
    Maps an array using Map.
    map(Map, List) - Static method in class com.myjavatools.lib.Objects
    Maps a List using Map.
    map(Map, Collection) - Static method in class com.myjavatools.lib.Objects
    Maps a Collection using Map.
    map(Map, Object[], Object) - Static method in class com.myjavatools.lib.Objects
    Maps an array using Map, with a default value.
    map(Map, Object[], Object[]) - Static method in class com.myjavatools.lib.Objects
    Maps an array using Map, with default values.

    N

    needsEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Checks whether a character needs encoding in Java
    needsEncoding(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Checks whether a CharSequence needs encoding in Java
    next() - Method in class com.myjavatools.lib.ZipInput
    moves to next ZipEntry

    O

    Objects - class com.myjavatools.lib.Objects.
     
    oneOf(Object, Object) - Static method in class com.myjavatools.lib.Strings
    Chooses a string representation of a non-empty object out of two objects.
    oneOf(Object, Object, Object) - Static method in class com.myjavatools.lib.Strings
    Chooses a string representation of a non-empty object out of three objects.
    oneOf(Object, Object, Object, Object) - Static method in class com.myjavatools.lib.Strings
    Chooses a string representation of a non-empty object out of three objects.
    open(Object[]) - Method in class com.myjavatools.lib.FormattedWriter
    Opens formatted output
    open(Object) - Method in class com.myjavatools.lib.FormattedWriter
    Opens formatted output
    open() - Method in class com.myjavatools.lib.FormattedWriter
    Opens formatted output, no arguments for head format

    P

    pack(byte[]) - Static method in class com.myjavatools.lib.Strings
    Packs bytes into a string
    path(String, String) - Static method in class com.myjavatools.lib.Files
    Having a directory and file path (relative or absolute) calculates full path
    pipe(InputStream, OutputStream, boolean, Files.ByteFilter) - Static method in class com.myjavatools.lib.Files
    pipes data from input stream to output stream, possibly pumping them through the filter (if any)
    pipe(InputStream, OutputStream, boolean) - Static method in class com.myjavatools.lib.Files
    pipes data from input stream to output stream
    pipe(Reader, Writer) - Static method in class com.myjavatools.lib.Files
    pipes data from input stream to output stream
    put(Object, Object, Object) - Method in interface com.myjavatools.lib.BigMap
     
    put(Object, Object, Object, Object) - Method in interface com.myjavatools.lib.BigMap
     
    put(Object, Object, Object, Object, Object) - Method in interface com.myjavatools.lib.BigMap
     
    put(Object[]) - Method in interface com.myjavatools.lib.BigMap
     

    Q

    quote(String) - Static method in class com.myjavatools.lib.Web
    surrounds a string with single quotes (apostrophes), which is convenient for generating Javascript code, but just senseless otherwise.

    R

    readBytesFromFile(String) - Static method in class com.myjavatools.lib.Files
    Reads the whole input stream into a byte array
    readBytesFromStream(InputStream) - Static method in class com.myjavatools.lib.Files
    Reads the whole input stream into a byte array
    readBytesFromStream(InputStream, int) - Static method in class com.myjavatools.lib.Files
     
    readString(Reader) - Static method in class com.myjavatools.lib.Files
     
    readStringFromFile(File) - Static method in class com.myjavatools.lib.Files
    Reads the whole file into a string
    readStringFromFile(File, String) - Static method in class com.myjavatools.lib.Files
    Reads the whole file into a string
    readStringFromFile(String) - Static method in class com.myjavatools.lib.Files
    Reads the whole file into a string
    reallocate(Map) - Static method in class com.myjavatools.lib.Objects
    Reallocates Map to a new HashMap, to improve hash map access.
    relPath(String, String) - Static method in class com.myjavatools.lib.Files
    Calculates relative path
    replace(CharSequence, CharSequence, CharSequence, boolean) - Static method in class com.myjavatools.lib.Strings
    Replaces a subsequence in a char sequence with another subsequence
    runCommand(String) - Static method in class com.myjavatools.lib.Tools
    Runs a command in current directory
    runCommand(String, String) - Static method in class com.myjavatools.lib.Tools
    Runs a command in specified directory
    runCommand(String, PrintStream, PrintStream) - Static method in class com.myjavatools.lib.Tools
    Runs a command in current directory
    runCommand(String, String, PrintStream, PrintStream) - Static method in class com.myjavatools.lib.Tools
    Runs a command in specified directory
    runCommand(String, InputStream, PrintStream, PrintStream) - Static method in class com.myjavatools.lib.Tools
    Runs a command in current directory
    runCommand(String, String, InputStream, PrintStream, PrintStream) - Static method in class com.myjavatools.lib.Tools
    Runs a command in specified directory
    runCommand(String, String, Reader, PrintWriter, PrintWriter) - Static method in class com.myjavatools.lib.Tools
    Runs a command in specified directory

    S

    Strings - class com.myjavatools.lib.Strings.
     
    sendMail(String, String, String, String) - Static method in class com.myjavatools.lib.Web
    sendMail sends emails.
    sgmlEntity(char) - Static method in class com.myjavatools.lib.Strings
    Encodes a character by SGML rules It can be a hex representation
    split(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
    Perl operation split.
    splitPath(String) - Static method in class com.myjavatools.lib.Files
    Splits a path into directory name and file name
    startsWith(CharSequence, CharSequence) - Static method in class com.myjavatools.lib.Strings
    CharSequence version of startsWith
    suite() - Static method in class com.myjavatools.lib.AllTests
     
    synchronize(File, File, String) - Static method in class com.myjavatools.lib.Files
    synchronizes two directories, left/what and right/what
    synchronize(File, File) - Static method in class com.myjavatools.lib.Files
    synchronizes two directories

    T

    TestFiles - class com.myjavatools.lib.TestFiles.
     
    TestFiles(String) - Constructor for class com.myjavatools.lib.TestFiles
     
    TestObjects - class com.myjavatools.lib.TestObjects.
     
    TestObjects(String) - Constructor for class com.myjavatools.lib.TestObjects
     
    TestStrings - class com.myjavatools.lib.TestStrings.
     
    TestStrings(String) - Constructor for class com.myjavatools.lib.TestStrings
     
    TestTools - class com.myjavatools.lib.TestTools.
     
    TestTools(String) - Constructor for class com.myjavatools.lib.TestTools
     
    TestWeb - class com.myjavatools.lib.TestWeb.
     
    TestWeb(String) - Constructor for class com.myjavatools.lib.TestWeb
     
    Tools - class com.myjavatools.lib.Tools.
     
    testAdjustSizeByMooreLaw() - Method in class com.myjavatools.lib.TestFiles
     
    testAsMap() - Method in class com.myjavatools.lib.TestObjects
     
    testAsProperties() - Method in class com.myjavatools.lib.TestStrings
     
    testBark() - Method in class com.myjavatools.lib.TestTools
     
    testCat1() - Method in class com.myjavatools.lib.TestObjects
     
    testCat2() - Method in class com.myjavatools.lib.TestObjects
     
    testCat3() - Method in class com.myjavatools.lib.TestObjects
     
    testCommandLineArg() - Method in class com.myjavatools.lib.TestTools
     
    testCompose() - Method in class com.myjavatools.lib.TestObjects
     
    testCopy1() - Method in class com.myjavatools.lib.TestFiles
     
    testCopy2() - Method in class com.myjavatools.lib.TestFiles
     
    testCopyAndCompare() - Method in class com.myjavatools.lib.TestFiles
     
    testCopyCompare() - Method in class com.myjavatools.lib.TestFiles
     
    testCountChar() - Method in class com.myjavatools.lib.TestStrings
     
    testCountLeadingSpaces() - Method in class com.myjavatools.lib.TestStrings
     
    testCountTrailingSpaces() - Method in class com.myjavatools.lib.TestStrings
     
    testCrc32() - Method in class com.myjavatools.lib.TestObjects
     
    testCrc32() - Method in class com.myjavatools.lib.TestStrings
     
    testCrc321() - Method in class com.myjavatools.lib.TestObjects
     
    testDecode() - Method in class com.myjavatools.lib.TestStrings
     
    testDecodeJavaString() - Method in class com.myjavatools.lib.TestStrings
     
    testDirname_1() - Method in class com.myjavatools.lib.TestFiles
     
    testDirname_2() - Method in class com.myjavatools.lib.TestFiles
     
    testDirname_3() - Method in class com.myjavatools.lib.TestFiles
     
    testEncode() - Method in class com.myjavatools.lib.TestStrings
     
    testExtractValue1() - Method in class com.myjavatools.lib.TestStrings
     
    testExtractValue2() - Method in class com.myjavatools.lib.TestStrings
     
    testFilename() - Method in class com.myjavatools.lib.TestFiles
     
    testFill() - Method in class com.myjavatools.lib.TestStrings
     
    testFind() - Method in class com.myjavatools.lib.TestFiles
     
    testFind1() - Method in class com.myjavatools.lib.TestFiles
     
    testFind2() - Method in class com.myjavatools.lib.TestFiles
     
    testFormat1() - Method in class com.myjavatools.lib.TestStrings
     
    testFormat2() - Method in class com.myjavatools.lib.TestStrings
     
    testFormat3() - Method in class com.myjavatools.lib.TestStrings
     
    testGetHtmlCharset() - Method in class com.myjavatools.lib.TestWeb
     
    testGetHtmlEncoding() - Method in class com.myjavatools.lib.TestWeb
     
    testGetPackage() - Method in class com.myjavatools.lib.TestFiles
     
    testGetXmlCharset() - Method in class com.myjavatools.lib.TestWeb
     
    testGetXmlEncoding() - Method in class com.myjavatools.lib.TestWeb
     
    testGrep() - Method in class com.myjavatools.lib.TestStrings
     
    testGrep1() - Method in class com.myjavatools.lib.TestStrings
     
    testHasAlpha() - Method in class com.myjavatools.lib.TestStrings
     
    testHexDump() - Method in class com.myjavatools.lib.TestStrings
     
    testHexDump1() - Method in class com.myjavatools.lib.TestStrings
     
    testHexDump2() - Method in class com.myjavatools.lib.TestStrings
     
    testHtmlEncode() - Method in class com.myjavatools.lib.TestStrings
     
    testIndexOf() - Method in class com.myjavatools.lib.TestObjects
     
    testIndexOf1() - Method in class com.myjavatools.lib.TestObjects
     
    testIndexOf1() - Method in class com.myjavatools.lib.TestStrings
     
    testIndexOf2() - Method in class com.myjavatools.lib.TestObjects
     
    testIndexOf2() - Method in class com.myjavatools.lib.TestStrings
     
    testIndexOf3() - Method in class com.myjavatools.lib.TestStrings
     
    testIndexOf4() - Method in class com.myjavatools.lib.TestStrings
     
    testInform() - Method in class com.myjavatools.lib.TestTools
     
    testInverse() - Method in class com.myjavatools.lib.TestObjects
     
    testIsAlmostEmpty() - Method in class com.myjavatools.lib.TestStrings
     
    testIsAlpha() - Method in class com.myjavatools.lib.TestStrings
     
    testIsEmpty() - Method in class com.myjavatools.lib.TestObjects
     
    testIsVowel() - Method in class com.myjavatools.lib.TestStrings
     
    testJoin() - Method in class com.myjavatools.lib.TestStrings
     
    testJoin1() - Method in class com.myjavatools.lib.TestStrings
     
    testJoin2() - Method in class com.myjavatools.lib.TestStrings
     
    testLastIndexOf() - Method in class com.myjavatools.lib.TestStrings
     
    testLastModified() - Method in class com.myjavatools.lib.TestFiles
     
    testMap() - Method in class com.myjavatools.lib.TestObjects
     
    testMap1() - Method in class com.myjavatools.lib.TestObjects
     
    testMap2() - Method in class com.myjavatools.lib.TestObjects
     
    testMap3() - Method in class com.myjavatools.lib.TestObjects
     
    testMap4() - Method in class com.myjavatools.lib.TestObjects
     
    testNeedsEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testNeedsEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testOneOf2() - Method in class com.myjavatools.lib.TestStrings
     
    testOneOf3() - Method in class com.myjavatools.lib.TestStrings
     
    testOneOf4() - Method in class com.myjavatools.lib.TestStrings
     
    testPack() - Method in class com.myjavatools.lib.TestStrings
     
    testPath_1() - Method in class com.myjavatools.lib.TestFiles
     
    testPath_2() - Method in class com.myjavatools.lib.TestFiles
     
    testPath_3() - Method in class com.myjavatools.lib.TestFiles
     
    testPipe() - Method in class com.myjavatools.lib.TestFiles
     
    testPipe1() - Method in class com.myjavatools.lib.TestFiles
     
    testReadBytesFromFile() - Method in class com.myjavatools.lib.TestFiles
     
    testReadBytesFromStream() - Method in class com.myjavatools.lib.TestFiles
     
    testReadStringFromFile() - Method in class com.myjavatools.lib.TestFiles
     
    testRelPath_1() - Method in class com.myjavatools.lib.TestFiles
     
    testRelPath_2() - Method in class com.myjavatools.lib.TestFiles
     
    testRelPath_3() - Method in class com.myjavatools.lib.TestFiles
     
    testReplace() - Method in class com.myjavatools.lib.TestStrings
     
    testRunCommand1_1() - Method in class com.myjavatools.lib.TestTools
     
    testRunCommand1_2() - Method in class com.myjavatools.lib.TestTools
     
    testRunCommand2_1() - Method in class com.myjavatools.lib.TestTools
     
    testSgmlEntity() - Method in class com.myjavatools.lib.TestStrings
     
    testSplit() - Method in class com.myjavatools.lib.TestStrings
     
    testSplitPath_1() - Method in class com.myjavatools.lib.TestFiles
     
    testSplitPath_2() - Method in class com.myjavatools.lib.TestFiles
     
    testSplitPath_3() - Method in class com.myjavatools.lib.TestFiles
     
    testSynchronize() - Method in class com.myjavatools.lib.TestFiles
     
    testTextHeight() - Method in class com.myjavatools.lib.TestStrings
     
    testTextWidth() - Method in class com.myjavatools.lib.TestStrings
     
    testToBytes() - Method in class com.myjavatools.lib.TestObjects
     
    testToBytes1() - Method in class com.myjavatools.lib.TestObjects
     
    testToCEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToCEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToChars() - Method in class com.myjavatools.lib.TestObjects
     
    testToHex() - Method in class com.myjavatools.lib.TestStrings
     
    testToHex1() - Method in class com.myjavatools.lib.TestStrings
     
    testToHex2() - Method in class com.myjavatools.lib.TestStrings
     
    testToHex3() - Method in class com.myjavatools.lib.TestStrings
     
    testToHex4() - Method in class com.myjavatools.lib.TestStrings
     
    testToHexReadable() - Method in class com.myjavatools.lib.TestStrings
     
    testToHexReadable1() - Method in class com.myjavatools.lib.TestStrings
     
    testToHexReadable2() - Method in class com.myjavatools.lib.TestStrings
     
    testToHexReadable3() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding2() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding3() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding4() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaEncoding5() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaHexEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaHexEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToJavaOctalEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToMap1() - Method in class com.myjavatools.lib.TestObjects
     
    testToMap2() - Method in class com.myjavatools.lib.TestObjects
     
    testToPropertiesEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToPropertiesEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToReadable() - Method in class com.myjavatools.lib.TestStrings
     
    testToReadable1() - Method in class com.myjavatools.lib.TestStrings
     
    testToSgmlEncoding() - Method in class com.myjavatools.lib.TestStrings
     
    testToSgmlEncoding1() - Method in class com.myjavatools.lib.TestStrings
     
    testToString() - Method in class com.myjavatools.lib.TestStrings
     
    testToStrings() - Method in class com.myjavatools.lib.TestStrings
     
    testUnion1() - Method in class com.myjavatools.lib.TestObjects
     
    testUnion2() - Method in class com.myjavatools.lib.TestObjects
     
    testUnion3() - Method in class com.myjavatools.lib.TestObjects
     
    testUnpack() - Method in class com.myjavatools.lib.TestStrings
     
    testUnzip() - Method in class com.myjavatools.lib.TestStrings
     
    testUnzip1() - Method in class com.myjavatools.lib.TestStrings
     
    testUrlEncode() - Method in class com.myjavatools.lib.TestWeb
     
    testWhether() - Method in class com.myjavatools.lib.TestTools
     
    testWordCount() - Method in class com.myjavatools.lib.TestStrings
     
    testZip() - Method in class com.myjavatools.lib.TestStrings
     
    testZip2bytes() - Method in class com.myjavatools.lib.TestStrings
     
    testZip8bit() - Method in class com.myjavatools.lib.TestStrings
     
    textHeight(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Calculates how many lines the text contains.
    textWidth(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Calculates how many horizontal lines will the text take in a textarea.
    toBoolean(String, boolean) - Method in class com.myjavatools.lib.Strings
    Extracts Boolean value from a string
    toBytes(char[]) - Static method in class com.myjavatools.lib.Objects
    Converts char array to byte array (per-element casting)
    toBytes(long) - Static method in class com.myjavatools.lib.Objects
    Converts long to byte array (lower bytes first)
    toCEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its C encoding (hex or escaped or intact)
    toCEncoding(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to its C encoding
    toChars(byte[]) - Static method in class com.myjavatools.lib.Objects
    Converts byte array to char array (per-element casting)
    toHex(byte) - Static method in class com.myjavatools.lib.Strings
    Converts a byte to hex string.
    toHex(int) - Static method in class com.myjavatools.lib.Strings
    Converts an integer to hex string.
    toHex(char, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a char to hex string
    toHex(char) - Static method in class com.myjavatools.lib.Strings
    Converts a char to hex string
    toHex(CharSequence, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to hex string (character by character)
    toHexReadable(char[]) - Static method in class com.myjavatools.lib.Strings
    Converts an array of chars to a readable hexadecimal form
    toHexReadable(byte[], int, int) - Static method in class com.myjavatools.lib.Strings
    Converts an array of chars to a readable hexadecimal form
    toHexReadable(byte[]) - Static method in class com.myjavatools.lib.Strings
    Converts an array of bytes to a readable hexadecimal form
    toHexReadable(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to a readable hexadecimal string
    toJavaEncoding(char, boolean, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java encoding (hex or escaped or intact)
    toJavaEncoding(char, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java encoding (hex or escaped or intact)
    toJavaEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java encoding (hex or escaped or intact)
    toJavaEncoding(CharSequence, boolean, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to its Java encoding (hex or escaped or intact, per char)
    toJavaEncoding(CharSequence, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to its Java encoding (hex or escaped or intact, per char)
    toJavaEncoding(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to its Java encoding (hex or escaped or intact, per char)
    toJavaHexEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java hex encoding format: \\uxxxx
    toJavaHexEncoding(char, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java hex encoding format: \\uxxxx
    toJavaOctalEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its Java octal encoding format: \\o[o][o]
    toMap(Object, Object) - Static method in class com.myjavatools.lib.Objects
    makes a singleton Map from a key-value pair
    toMap(Object, Object, Object, Object) - Static method in class com.myjavatools.lib.Objects
    makes a Map from two key-value pairs
    toMap(Object, Object, Object, Object, Object, Object) - Static method in class com.myjavatools.lib.Objects
    makes a Map from three key-value pairs
    toMap(Object[]) - Static method in class com.myjavatools.lib.Objects
    makes a Map from key-value pairs
    toPropertiesEncoding(char, boolean) - Static method in class com.myjavatools.lib.Strings
    Converts a character to how it should be represented in properties files
    toPropertiesEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to how it should be represented in properties files
    toReadable(char[], int, int) - Static method in class com.myjavatools.lib.Strings
    Converts a char array to a readable string.
    toReadable(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Converts a CharSequence to a readable string.
    toSet(Object[]) - Static method in class com.myjavatools.lib.Objects
    makes a Set from an array of objects
    toSgmlEncoding(char) - Static method in class com.myjavatools.lib.Strings
    Converts a character to its SGML numeric encoding
    toSgmlEncoding(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Encodes a CharSequence by SGML rules (using predefined entities and numeric character encodings when necessary)
    toString(Throwable) - Static method in class com.myjavatools.lib.Strings
    Stringifies a Throwable, together with is stack trace.
    toStrings(Object) - Static method in class com.myjavatools.lib.Strings
    Converts an array to string array, per element
    toWebReadable(String) - Static method in class com.myjavatools.lib.Web
    converts a string into something that could be literally placed into a web page, that is, replaces CR with CRLF (to be polite with browser's 'view source'), replaces all '<' with "<", and html-encodes (&#dddd;) characters above low-ascii.

    U

    union(Collection, Collection) - Static method in class com.myjavatools.lib.Objects
    Creates set union of two collections
    unpack(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Unpacks bytes packed in the char sequence
    unzip(ZipInputStream, File) - Static method in class com.myjavatools.lib.Files
    unzips an input stream to a specified folder
    unzip(InputStream) - Static method in class com.myjavatools.lib.Strings
    Unzips a stream.
    unzip(byte[]) - Static method in class com.myjavatools.lib.Strings
    Unzips an array of bytes.
    unzip(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Unzips a char sequence Does this: CharSequence -> High Unicode bytes -> unzip -> bytes -> UTF8 -> String
    url(String, Collection) - Static method in class com.myjavatools.lib.Web
    produces a GET request string for a uri and a collection of parameters
    url(String, String, String) - Static method in class com.myjavatools.lib.Web
    produces a GET request string for a uri and a request parameter
    url(String, String, String, String, String) - Static method in class com.myjavatools.lib.Web
    produces a GET request string for a uri and two request parameters
    url(String, String, String, String, String, String, String) - Static method in class com.myjavatools.lib.Web
    produces a GET request string for a uri and three request parameters
    url(String, String, String, String, String, String, String, String, String) - Static method in class com.myjavatools.lib.Web
    produces a GET request string for a uri and four request parameters
    url(String, String, String, String, String, String, String, String, String, String, String) - Static method in class com.myjavatools.lib.Web
    produces a GET request string for a uri and five request parameters
    url(String, String, String, String, String, String, String, String, String, String, String, String, String) - Static method in class com.myjavatools.lib.Web
    produces a GET request string for a uri and six request parameters
    urlEncode(String, String) - Static method in class com.myjavatools.lib.Web
    converts a name-value pair into an element of url string

    W

    Web - class com.myjavatools.lib.Web.
     
    Web() - Constructor for class com.myjavatools.lib.Web
     
    whether(String) - Static method in class com.myjavatools.lib.Tools
    Displays a message and receives user's choice (yes/no)
    wordCount(CharSequence) - Static method in class com.myjavatools.lib.Strings
    Calculates the number of words in the CharSequence.
    write(Object[]) - Method in class com.myjavatools.lib.FormattedWriter
    Writes a body string to formatted output
    write(String) - Method in class com.myjavatools.lib.FormattedWriter
    Writes an arbitrary string to (generally speaking) formatted output
    write(Writer, CharSequence) - Static method in class com.myjavatools.lib.Strings
    Writes CharSequence to Writer (Hello, Sun! Ever heard of CharSequence class?)
    writeBytesToFile(byte[], String) - Static method in class com.myjavatools.lib.Files
    Writes bytes to a file
    writeToFile(CharSequence, String) - Static method in class com.myjavatools.lib.Files
    Creates a file and writes a char sequence into it
    writeToFile(char[], String) - Static method in class com.myjavatools.lib.Files
    Creates a file and writes chars into it
    writeToFile(byte[], String) - Static method in class com.myjavatools.lib.Files
    Creates a file and writes bytes into it
    writeToFile(InputStream, String) - Static method in class com.myjavatools.lib.Files
    Creates a file and copies into it bytes from an input stream

    Z

    ZipInput - class com.myjavatools.lib.ZipInput.
    Title: MyJavaTools: ZippedInput
    ZipInput(InputStream) - Constructor for class com.myjavatools.lib.ZipInput
    initializes ZipInput with InputStream
    ZipInput(byte[]) - Constructor for class com.myjavatools.lib.ZipInput
    initializes ZipInput with data
    ZipInput(char[]) - Constructor for class com.myjavatools.lib.ZipInput
    initializes ZipInput with data
    zip(CharSequence) - Static method in class com.myjavatools.lib.Strings
    zips a char sequence to a string.
    zip2bytes(CharSequence) - Static method in class com.myjavatools.lib.Strings
    zip (like in zip files) a string producing an array of bytes
    zip8bit(CharSequence) - Static method in class com.myjavatools.lib.Strings
    zips a char sequence to a string of lower-byte chars.

    _

    _FALSE_ - Static variable in class com.myjavatools.lib.Strings
     
    _TRUE_ - Static variable in class com.myjavatools.lib.Strings
    Three "fuzzy logical" values, _TRUE_, _FALSE_, _UNDEF_ ("Intuitionistic" would be a more correct scientific term for these).
    _UNDEF_ - Static variable in class com.myjavatools.lib.Strings
     

    A B C D E F G H I J L M N O P Q R S T U W Z _