Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
F
G
H
I
K
L
O
P
Q
R
S
T
U
V
W
A
abbreviate(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Abbreviate a specified string, by keeping only the first letter of each word.
addStandardEditingPopupMenu(JTextComponent[])
- Static method in class org.freeshell.zs.common.
SwingManipulator
Add a standard editing popup menu (Cut, Copy, Paste, Select All) to the specified text fields.
C
cancel()
- Method in class org.freeshell.zs.common.
Downloader
Cancel the download.
centerJustify(Object, int)
- Static method in class org.freeshell.zs.common.
StringManipulator
Center-justify the string representation of a given object, padding with leading and trailing spaces so that its length is at least the specified width.
D
Debug
- Class in
org.freeshell.zs.common
Perform debugging-related operations.
Debug()
- Constructor for class org.freeshell.zs.common.
Debug
deleteExtraWhitespace(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Delete extra whitespace in a specified string, by replacing contiguous whitespace characters with a single space.
deletePunctuation(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Delete punctuation in a specified string, by deleting all punctuation characters.
deleteWhitespace(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Delete whitespace in a specified string, by deleting all whitespace characters.
Downloader
- Class in
org.freeshell.zs.common
Download a remote resource.
Downloader(URL, Object)
- Constructor for class org.freeshell.zs.common.
Downloader
Constructor.
F
formattedDouble(double)
- Static method in class org.freeshell.zs.common.
StringManipulator
Return a formatted string representation of a given double number (format is locale-sensitive).
formattedLong(long)
- Static method in class org.freeshell.zs.common.
StringManipulator
Return a formatted string representation of a given long number (format is locale-sensitive).
G
get(String)
- Method in class org.freeshell.zs.common.
SimpleProperties
Get the property value corresponding to the specified key.
getAsString(String)
- Method in class org.freeshell.zs.common.
SimpleProperties
Get the property value (cast as a String) corresponding to the specified key.
getBoolean(String)
- Method in class org.freeshell.zs.common.
SimpleProperties
Get the property value (cast as a boolean) corresponding to the specified key.
getDownloadedLength()
- Method in class org.freeshell.zs.common.
Downloader
Get the number of bytes downloaded.
getExitCode()
- Method in exception org.freeshell.zs.common.
TerminatingException
Return the exit status code to be reported to the OS.
getFile(String)
- Method in class org.freeshell.zs.common.
SimpleProperties
Get the property value (cast as a File) corresponding to the specified key.
getInt(String)
- Method in class org.freeshell.zs.common.
SimpleProperties
Get the property value (cast as an int) corresponding to the specified key.
getLength()
- Method in class org.freeshell.zs.common.
Downloader
Get the length of the remote resource.
getLong(String)
- Method in class org.freeshell.zs.common.
SimpleProperties
Get the property value (cast as a long) corresponding to the specified key.
getPasswordJPasswordField(JPasswordField)
- Static method in class org.freeshell.zs.common.
SwingManipulator
Wrapper for the getPassword() method of a JPasswordField that always returns a char array.
getProgressPercent()
- Method in class org.freeshell.zs.common.
Downloader
Get the percentage describing the current progress.
getProgressString()
- Method in class org.freeshell.zs.common.
Downloader
Get a string describing the current progress.
getStackTraceString(Exception)
- Static method in class org.freeshell.zs.common.
Debug
Get a string representation of the stack trace for the specified exception.
getString(String)
- Method in class org.freeshell.zs.common.
SimpleProperties
Get the property value (cast as a String) corresponding to the specified key.
getSystemInformationString()
- Static method in class org.freeshell.zs.common.
Debug
Get a string representation of the system information (OS, JRE, JVM).
getSystemProperty(String)
- Static method in class org.freeshell.zs.common.
Debug
Get the specified system property, without throwing any exceptions.
getTextJTextField(JTextField)
- Static method in class org.freeshell.zs.common.
SwingManipulator
Wrapper for the getText() method of a JTextField that always returns a String.
H
HtmlManipulator
- Class in
org.freeshell.zs.common
Perform HTML-related operations.
HtmlManipulator()
- Constructor for class org.freeshell.zs.common.
HtmlManipulator
I
isCancelled()
- Method in class org.freeshell.zs.common.
Downloader
Is the download cancelled?
isCompleted()
- Method in class org.freeshell.zs.common.
Downloader
Is the download completed?
isDelimiter
- Variable in class org.freeshell.zs.common.
StringManipulator.Token
isProgressUpdated()
- Method in class org.freeshell.zs.common.
Downloader
Has there been an update in the progress? The progressUpdated flag is set to false before this method returns.
isRunning()
- Method in class org.freeshell.zs.common.
Downloader
Is the downloader running?
isStarted()
- Method in class org.freeshell.zs.common.
Downloader
Has the download started?
K
keySet()
- Method in class org.freeshell.zs.common.
SimpleProperties
Get the set of keys in this collection of properties.
L
leftJustify(Object, int)
- Static method in class org.freeshell.zs.common.
StringManipulator
Left-justify the string representation of a given object, padding with trailing spaces so that its length is at least the specified width.
leftTrim(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Trim away whitespace on the left.
O
org.freeshell.zs.common
- package org.freeshell.zs.common
org.freeshell.zs.mediasniper
- package org.freeshell.zs.mediasniper
P
p(Object)
- Static method in class org.freeshell.zs.common.
Debug
Print the string representation of the specified object to the standard error output stream.
parseKeyValueString(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Parse the specified "key:value" string.
pause()
- Method in class org.freeshell.zs.common.
Downloader
Pause the download.
pt(Object)
- Static method in class org.freeshell.zs.common.
Debug
Print the string representation of the specified object to the standard error output stream, with a timestamp.
Q
quoteHtml(String)
- Static method in class org.freeshell.zs.common.
HtmlManipulator
Quote a specified string as HTML, by replacing all special characters with their equivalent HTML entities.
R
repeat(Object, int)
- Static method in class org.freeshell.zs.common.
StringManipulator
Repeat the string representation of a given object, a specified number of times.
replaceHtmlEntities(String)
- Static method in class org.freeshell.zs.common.
HtmlManipulator
Replace HTML entities in a given string with their Unicode character representations.
resourceAsString(String)
- Static method in class org.freeshell.zs.common.
ResourceManipulator
Return the contents of the specified resource as a string.
ResourceManipulator
- Class in
org.freeshell.zs.common
Perform resource-related operations.
ResourceManipulator()
- Constructor for class org.freeshell.zs.common.
ResourceManipulator
resume()
- Method in class org.freeshell.zs.common.
Downloader
Resume the download.
reverse(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Reverse the string.
rightJustify(Object, int)
- Static method in class org.freeshell.zs.common.
StringManipulator
Right-justify the string representation of a given object, padding with leading spaces so that its length is at least the specified width.
rightTrim(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Trim away whitespace on the right.
run()
- Method in class org.freeshell.zs.common.
Downloader
Start downloading the remote resource.
S
set(String, Object)
- Method in class org.freeshell.zs.common.
SimpleProperties
Set the property value corresponding to the specified key.
setBoolean(String, boolean)
- Method in class org.freeshell.zs.common.
SimpleProperties
Set the property value (a boolean) corresponding to the specified key.
setFile(String, File)
- Method in class org.freeshell.zs.common.
SimpleProperties
Set the property value (a File) corresponding to the specified key.
setInt(String, int)
- Method in class org.freeshell.zs.common.
SimpleProperties
Set the property value (an int) corresponding to the specified key.
setLong(String, long)
- Method in class org.freeshell.zs.common.
SimpleProperties
Set the property value (a long) corresponding to the specified key.
setString(String, String)
- Method in class org.freeshell.zs.common.
SimpleProperties
Set the property value (a String) corresponding to the specified key.
setSystemProperty(String, String)
- Static method in class org.freeshell.zs.common.
Debug
Set the specified system property, without throwing any exceptions.
showErrorDialog(Component, String, String)
- Static method in class org.freeshell.zs.common.
SwingManipulator
Display a modal error dialog.
showInfoDialog(Component, String, String, String, int)
- Static method in class org.freeshell.zs.common.
SwingManipulator
Display a modal information dialog.
showOptionTextDialog(Component, String, String, int, String, int, int, Icon, Object[], int)
- Static method in class org.freeshell.zs.common.
SwingManipulator
Convenience method to display a JOptionPane option dialog with a label and text area.
showWarningDialog(Component, String, String)
- Static method in class org.freeshell.zs.common.
SwingManipulator
Display a modal warning dialog.
SimpleProperties
- Class in
org.freeshell.zs.common
Represent a collection of properties, each denoted by a key-value pair.
SimpleProperties()
- Constructor for class org.freeshell.zs.common.
SimpleProperties
Constructor.
SimpleProperties(SimpleProperties)
- Constructor for class org.freeshell.zs.common.
SimpleProperties
Constructor.
SimpleProperties(String)
- Constructor for class org.freeshell.zs.common.
SimpleProperties
Constructor.
sleep(long)
- Static method in class org.freeshell.zs.common.
Debug
Sleep for the specified number of milliseconds.
spaceOutWords(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Space out words in a specified string, by inserting a single space between concatenated words.
StringManipulator
- Class in
org.freeshell.zs.common
Perform string manipulation.
StringManipulator()
- Constructor for class org.freeshell.zs.common.
StringManipulator
StringManipulator.Token
- Class in
org.freeshell.zs.common
Represent a string token.
StringManipulator.Token(String, boolean)
- Constructor for class org.freeshell.zs.common.
StringManipulator.Token
substring(String, String, char, char)
- Static method in class org.freeshell.zs.common.
StringManipulator
Extract a substring from a given string, according to the specified format.
swapCase(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Swap the case of a specified string, by converting lower case characters to upper case and vice versa.
SwingManipulator
- Class in
org.freeshell.zs.common
Perform Swing-related operations.
SwingManipulator()
- Constructor for class org.freeshell.zs.common.
SwingManipulator
T
TerminatingException
- Exception in
org.freeshell.zs.common
Represent a runtime exception that terminates the program.
TerminatingException(String, Throwable, int)
- Constructor for exception org.freeshell.zs.common.
TerminatingException
Constructor.
TerminatingException(String)
- Constructor for exception org.freeshell.zs.common.
TerminatingException
Constructor.
tokenize(String, String, boolean)
- Static method in class org.freeshell.zs.common.
StringManipulator
Tokenize the given string, using the specified regex delimiter pattern.
toTitleCase(String)
- Static method in class org.freeshell.zs.common.
StringManipulator
Convert a specified string to title case, by capitalizing only the first letter of each word.
trimLeadingStrings(String, String[])
- Static method in class org.freeshell.zs.common.
StringManipulator
Return a modified version of the input string with the specified strings trimmed off from its head, if found.
trimStrings(String, String[])
- Static method in class org.freeshell.zs.common.
StringManipulator
Return a modified version of the input string with the specified strings trimmed off from its head and tail, if found.
trimTrailingStrings(String, String[])
- Static method in class org.freeshell.zs.common.
StringManipulator
Return a modified version of the input string with the specified strings trimmed off from its tail, if found.
U
updateLabel(JLabel, String)
- Static method in class org.freeshell.zs.common.
SwingManipulator
Update label.
updateProgressBar(JProgressBar, String, int)
- Static method in class org.freeshell.zs.common.
SwingManipulator
Update progress bar.
V
val
- Variable in class org.freeshell.zs.common.
StringManipulator.Token
W
waitUntilCompleted()
- Method in class org.freeshell.zs.common.
Downloader
Wait until the download is completed.
A
C
D
F
G
H
I
K
L
O
P
Q
R
S
T
U
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes