Index
All Classes and Interfaces|All Packages|Serialized Form
A
- active - Variable in class eu.svjatoslav.commons.string.tokenizer.Terminator
- addTerminator(Terminator) - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- addTerminator(Terminator.TerminationStrategy, String) - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- addTerminator(Terminator.TerminationStrategy, String, String) - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- append(String) - Method in class eu.svjatoslav.commons.string.String2
- append(String, int) - Method in class eu.svjatoslav.commons.string.String2
- appendWithSeparator(String, String) - Method in class eu.svjatoslav.commons.string.String2
B
- BitInputStream - Class in eu.svjatoslav.commons.data
-
Read individual bits from the input stream.
- BitInputStream(InputStream) - Constructor for class eu.svjatoslav.commons.data.BitInputStream
- BitOutputStream - Class in eu.svjatoslav.commons.data
-
Write individual bits to the output stream.
- BitOutputStream(OutputStream) - Constructor for class eu.svjatoslav.commons.data.BitOutputStream
- byteArrayToHex(byte[]) - Static method in class eu.svjatoslav.commons.data.HexConverter
-
Converts a byte array to hexadecimal string.
C
- clear() - Method in class eu.svjatoslav.commons.string.String2
- CommonPathResolver - Class in eu.svjatoslav.commons.file
- CommonPathResolver() - Constructor for class eu.svjatoslav.commons.file.CommonPathResolver
- consumeIfNextToken(String) - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- contains(String, int) - Method in class eu.svjatoslav.commons.string.String2
D
- deleteRecursively(File) - Static method in class eu.svjatoslav.commons.file.IOHelper
-
Deletes files and directories recursively.
- DROP - Enum constant in enum class eu.svjatoslav.commons.string.tokenizer.Terminator.TerminationStrategy
-
While tokens that are marked by Terminator are identified, they are dropped and not returned for consumption.
E
- enforceLength(int) - Method in class eu.svjatoslav.commons.string.String2
- enlistRemainingTokens() - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
-
For debugging
- eu.svjatoslav.commons.data - package eu.svjatoslav.commons.data
- eu.svjatoslav.commons.file - package eu.svjatoslav.commons.file
- eu.svjatoslav.commons.gui.dialog - package eu.svjatoslav.commons.gui.dialog
- eu.svjatoslav.commons.string - package eu.svjatoslav.commons.string
- eu.svjatoslav.commons.string.tokenizer - package eu.svjatoslav.commons.string.tokenizer
- ExceptionDialog - Class in eu.svjatoslav.commons.gui.dialog
-
Helper class to show graphical exception dialog.
- ExceptionDialog(Exception) - Constructor for class eu.svjatoslav.commons.gui.dialog.ExceptionDialog
- expectAndConsumeNextStringToken(String) - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- expectAndConsumeNextTerminatorToken(Terminator) - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
F
- FilePathParser - Class in eu.svjatoslav.commons.file
- FilePathParser() - Constructor for class eu.svjatoslav.commons.file.FilePathParser
- findTerminatorMatch() - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- finishByte() - Method in class eu.svjatoslav.commons.data.BitOutputStream
-
Finish writing the last byte.
G
- getFileContents(File) - Static method in class eu.svjatoslav.commons.file.IOHelper
- getFileContentsAsString(File) - Static method in class eu.svjatoslav.commons.file.IOHelper
-
Expects file content to be in UTF-8 encoding.
- getFileExtension(File) - Static method in class eu.svjatoslav.commons.file.FilePathParser
-
Returns file extension.
- getFileExtension(String) - Static method in class eu.svjatoslav.commons.file.FilePathParser
-
Returns file extension.
- getFileNameWithoutExtension(File) - Static method in class eu.svjatoslav.commons.file.FilePathParser
-
Returns file name without extension.
- getFileNameWithoutExtension(String) - Static method in class eu.svjatoslav.commons.file.FilePathParser
-
Returns file name without extension.
- getFileSizeDescription(long) - Static method in class eu.svjatoslav.commons.file.FilePathParser
-
Returns file size description.
- getGroups(String, String) - Static method in class eu.svjatoslav.commons.string.String2
- getHomeDirectory() - Static method in class eu.svjatoslav.commons.file.CommonPathResolver
-
Returns current user's home directory.
- getLength() - Method in class eu.svjatoslav.commons.string.String2
- getNextToken() - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- getRegExpGroups() - Method in class eu.svjatoslav.commons.string.tokenizer.TokenizerMatch
- getSubString(int, int) - Method in class eu.svjatoslav.commons.string.String2
- getTokenizer() - Method in class eu.svjatoslav.commons.string.tokenizer.TokenizerMatch
- GlobMatcher - Class in eu.svjatoslav.commons.string
-
GlobMatcher - class for matching strings against wildcard expressions.
- GlobMatcher() - Constructor for class eu.svjatoslav.commons.string.GlobMatcher
- group - Variable in class eu.svjatoslav.commons.string.tokenizer.Terminator
H
- hasMoreContent() - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- hasPrefix(String) - Method in class eu.svjatoslav.commons.string.String2
-
Check if the string has a prefix.
- hasSuffix(String) - Method in class eu.svjatoslav.commons.string.String2
-
Check if the string has a suffix.
- HexConverter - Class in eu.svjatoslav.commons.data
- HexConverter() - Constructor for class eu.svjatoslav.commons.data.HexConverter
I
- InvalidSyntaxException - Exception in eu.svjatoslav.commons.string.tokenizer
- InvalidSyntaxException(String) - Constructor for exception eu.svjatoslav.commons.string.tokenizer.InvalidSyntaxException
- IOHelper - Class in eu.svjatoslav.commons.file
- IOHelper() - Constructor for class eu.svjatoslav.commons.file.IOHelper
- isEmpty() - Method in class eu.svjatoslav.commons.string.String2
- isGroup(String) - Method in class eu.svjatoslav.commons.string.tokenizer.TokenizerMatch
M
- main(String[]) - Static method in class eu.svjatoslav.commons.gui.dialog.ExceptionDialog
-
This method is for testing
- match(String, int) - Method in class eu.svjatoslav.commons.string.tokenizer.Terminator
- match(String, String) - Static method in class eu.svjatoslav.commons.string.GlobMatcher
-
Test input string against wildcard expression.
- matcher - Variable in class eu.svjatoslav.commons.string.tokenizer.TokenizerMatch
O
- overwriteFileIfContentDiffers(File, byte[]) - Static method in class eu.svjatoslav.commons.file.IOHelper
-
Compares new file content with old file content.
P
- pattern - Variable in class eu.svjatoslav.commons.string.tokenizer.Terminator
- peekExpectNoneOf(String...) - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- peekIsOneOf(String...) - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- peekNextToken() - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- prepend(String) - Method in class eu.svjatoslav.commons.string.String2
- PRESERVE - Enum constant in enum class eu.svjatoslav.commons.string.tokenizer.Terminator.TerminationStrategy
-
Preserve token that is identified within Terminator and return it for processing.
R
- readBits(int) - Method in class eu.svjatoslav.commons.data.BitInputStream
-
Read bits from the input stream.
- repeat(int) - Method in class eu.svjatoslav.commons.string.String2
S
- saveToFile(File, byte[]) - Static method in class eu.svjatoslav.commons.file.IOHelper
- saveToFile(File, String) - Static method in class eu.svjatoslav.commons.file.IOHelper
- setSource(String) - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- showException(Exception) - Method in class eu.svjatoslav.commons.gui.dialog.ExceptionDialog
- skipUntilDataEnd() - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- storeBits(int, int) - Method in class eu.svjatoslav.commons.data.BitOutputStream
-
Write bits to the output stream.
- String2 - Class in eu.svjatoslav.commons.string
- String2() - Constructor for class eu.svjatoslav.commons.string.String2
- String2(String) - Constructor for class eu.svjatoslav.commons.string.String2
T
- termination - Variable in class eu.svjatoslav.commons.string.tokenizer.Terminator
- terminator - Variable in class eu.svjatoslav.commons.string.tokenizer.TokenizerMatch
-
Terminator
that matched current token - Terminator - Class in eu.svjatoslav.commons.string.tokenizer
- Terminator(Terminator.TerminationStrategy, String, String) - Constructor for class eu.svjatoslav.commons.string.tokenizer.Terminator
- Terminator.TerminationStrategy - Enum Class in eu.svjatoslav.commons.string.tokenizer
- token - Variable in class eu.svjatoslav.commons.string.tokenizer.TokenizerMatch
- Tokenizer - Class in eu.svjatoslav.commons.string.tokenizer
- Tokenizer() - Constructor for class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- Tokenizer(String) - Constructor for class eu.svjatoslav.commons.string.tokenizer.Tokenizer
- TokenizerMatch - Class in eu.svjatoslav.commons.string.tokenizer
- TokenizerMatch(String, Terminator, Matcher, Tokenizer) - Constructor for class eu.svjatoslav.commons.string.tokenizer.TokenizerMatch
- toString() - Method in class eu.svjatoslav.commons.string.String2
- toString() - Method in class eu.svjatoslav.commons.string.tokenizer.Terminator
- toString() - Method in class eu.svjatoslav.commons.string.tokenizer.TokenizerMatch
- trimPrefix(int) - Method in class eu.svjatoslav.commons.string.String2
-
Cut given amount of characters from the left of the string.
- trimPrefixIfExists(String) - Method in class eu.svjatoslav.commons.string.String2
- trimSuffix(int) - Method in class eu.svjatoslav.commons.string.String2
- trimSuffixIfExists(String) - Method in class eu.svjatoslav.commons.string.String2
U
- unreadToken() - Method in class eu.svjatoslav.commons.string.tokenizer.Tokenizer
V
- valueOf(String) - Static method in enum class eu.svjatoslav.commons.string.tokenizer.Terminator.TerminationStrategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class eu.svjatoslav.commons.string.tokenizer.Terminator.TerminationStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form