| Package | Description |
|---|---|
| com.alee.api |
This package contains basic APIs provided by 'core' module.
|
| com.alee.api.clone | |
| com.alee.api.clone.unknownresolver | |
| com.alee.api.duplicate | |
| com.alee.api.jdk | |
| com.alee.api.matcher | |
| com.alee.api.merge | |
| com.alee.api.merge.clonepolicy | |
| com.alee.api.merge.nullresolver | |
| com.alee.api.ui | |
| com.alee.api.version | |
| com.alee.graphics.image.gif | |
| com.alee.managers.language | |
| com.alee.managers.language.data | |
| com.alee.managers.task | |
| com.alee.utils |
This package contains various utility and utility-related classes provided by 'core' module.
|
| com.alee.utils.collection | |
| com.alee.utils.filefilter | |
| com.alee.utils.general | |
| com.alee.utils.jar | |
| com.alee.utils.map | |
| com.alee.utils.parsing | |
| com.alee.utils.swing | |
| com.alee.utils.system | |
| com.alee.utils.xml |
| Modifier and Type | Method and Description |
|---|---|
String |
Identifiable.getId()
Returns unique object identifier.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Clone.clone(T object)
Returns clone of the specified object.
|
<T> T |
RecursiveClone.clone(T object,
int depth)
Returns clone of the specified object.
|
Object |
UnknownResolver.resolve(RecursiveClone clone,
Object object)
Returns clone result for object of unknown type.
|
Object |
AbstractRecursiveClone.retrieve(Object object) |
Object |
RecursiveClone.retrieve(Object object)
Returns object clone if it is already available,
null otherwise. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Clone.clone(T object)
Returns clone of the specified object.
|
<T> T |
RecursiveClone.clone(T object,
int depth)
Returns clone of the specified object.
|
void |
AbstractRecursiveClone.store(Object object,
Object clone) |
void |
RecursiveClone.store(Object object,
Object clone)
Stores reference to object clone.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ExceptionUnknownResolver.resolve(RecursiveClone clone,
Object object) |
Object |
SkippingUnknownResolver.resolve(RecursiveClone clone,
Object object) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
AbstractDuplicateResolver.firstDuplicate(Collection collection)
Returns first
Collection duplicates if it has any, null if it has none. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Objects.equals(Object object,
Object... compareWith)
Returns whether the first Object equals to any Object from the specified array.
|
static boolean |
Objects.equals(Object object,
Object... compareWith)
Returns whether the first Object equals to any Object from the specified array.
|
static boolean |
Objects.equals(Object object,
Object compareWith)
Returns whether the first Object equals to second one.
|
static boolean |
Objects.equals(Object object,
Object compareWith)
Returns whether the first Object equals to second one.
|
static int |
Objects.hash(Object... values)
Generates a hash code for a sequence of input values.
|
static boolean |
Objects.notEquals(Object object,
Object... compareWith)
Returns whether the first Object is not equals to any Object from the specified array.
|
static boolean |
Objects.notEquals(Object object,
Object... compareWith)
Returns whether the first Object is not equals to any Object from the specified array.
|
static boolean |
Objects.notEquals(Object object,
Object compareWith)
Returns whether the first Object is not equals to the second one.
|
static boolean |
Objects.notEquals(Object object,
Object compareWith)
Returns whether the first Object is not equals to the second one.
|
static <T> T |
Objects.requireNonNull(T object)
|
static <T> T |
Objects.requireNonNull(T object,
String message)
|
static <T> T |
Objects.requireNonNull(T object,
Supplier<RuntimeException> exceptionSupplier)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Matcher.match(Object first,
Object second)
Compares two objects and returns whether they match or not.
|
boolean |
Matcher.match(Object first,
Object second)
Compares two objects and returns whether they match or not.
|
boolean |
AbstractMatcher.match(Object first,
Object second) |
boolean |
AbstractMatcher.match(Object first,
Object second) |
protected boolean |
IdentifiableMatcher.matchImpl(Object first,
Object second) |
protected boolean |
IdentifiableMatcher.matchImpl(Object first,
Object second) |
protected boolean |
EqualMatcher.matchImpl(Object first,
Object second) |
protected boolean |
EqualMatcher.matchImpl(Object first,
Object second) |
protected boolean |
SkippingMatcher.matchImpl(Object first,
Object second) |
protected boolean |
SkippingMatcher.matchImpl(Object first,
Object second) |
protected abstract boolean |
AbstractMatcher.matchImpl(T first,
V second)
Compares two objects and returns whether they match or not.
|
protected abstract boolean |
AbstractMatcher.matchImpl(T first,
V second)
Compares two objects and returns whether they match or not.
|
boolean |
Matcher.supports(Object object)
Returns whether or not this
Matcher supports provided object. |
boolean |
IdentifiableMatcher.supports(Object object)
todo 1.
|
boolean |
EqualMatcher.supports(Object object) |
boolean |
SkippingMatcher.supports(Object object) |
| Modifier and Type | Method and Description |
|---|---|
Object |
ClonePolicy.clone(Object source)
Returns source object or cloned object, depending on implementation.
|
<T> T |
RecursiveMerge.merge(Class type,
Object base,
Object merged,
int depth)
Performs merge result of the two provided objects and returns resulting object.
|
<T> T |
Merge.merge(Collection<?> objects)
Performs merge of all provided objects and returns resulting object.
|
<T> T |
Merge.merge(Object base,
Object merged)
Performs merge of the two provided objects and returns resulting object.
|
<T> T |
Merge.merge(Object base,
Object merged,
Object... more)
Performs merge of all provided objects and returns resulting object.
|
Object |
RecursiveMerge.overwrite(Object base,
Object merged)
Returns overwrite operation resulting object.
|
Object |
NullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged)
Returns one of the specified objects.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ClonePolicy.clone(Object source)
Returns source object or cloned object, depending on implementation.
|
<T> T |
RecursiveMerge.merge(Class type,
Object base,
Object merged,
int depth)
Performs merge result of the two provided objects and returns resulting object.
|
<T> T |
RecursiveMerge.merge(Class type,
Object base,
Object merged,
int depth)
Performs merge result of the two provided objects and returns resulting object.
|
<T> T |
Merge.merge(Object base,
Object merged)
Performs merge of the two provided objects and returns resulting object.
|
<T> T |
Merge.merge(Object base,
Object merged)
Performs merge of the two provided objects and returns resulting object.
|
<T> T |
Merge.merge(Object base,
Object merged,
Object... more)
Performs merge of all provided objects and returns resulting object.
|
<T> T |
Merge.merge(Object base,
Object merged,
Object... more)
Performs merge of all provided objects and returns resulting object.
|
Object |
RecursiveMerge.overwrite(Object base,
Object merged)
Returns overwrite operation resulting object.
|
Object |
RecursiveMerge.overwrite(Object base,
Object merged)
Returns overwrite operation resulting object.
|
Object |
NullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged)
Returns one of the specified objects.
|
Object |
NullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged)
Returns one of the specified objects.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
PerformClonePolicy.clone(Object source) |
Object |
SkipClonePolicy.clone(Object source) |
| Modifier and Type | Method and Description |
|---|---|
Object |
PerformClonePolicy.clone(Object source) |
Object |
SkipClonePolicy.clone(Object source) |
| Modifier and Type | Method and Description |
|---|---|
Object |
OverwritingNullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged) |
Object |
ExceptionNullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged) |
Object |
SkippingNullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged) |
| Modifier and Type | Method and Description |
|---|---|
Object |
OverwritingNullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged) |
Object |
OverwritingNullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged) |
Object |
ExceptionNullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged) |
Object |
ExceptionNullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged) |
Object |
SkippingNullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged) |
Object |
SkippingNullResolver.resolve(RecursiveMerge merge,
Object object,
Object merged) |
| Modifier and Type | Method and Description |
|---|---|
Color |
ForegroundBridge.getForeground(P parameters)
Returns foreground
Color based on provided RenderingParameters. |
Icon |
IconBridge.getIcon(P parameters)
Returns
Icon based on provided RenderingParameters. |
String |
TextBridge.getText(P parameters)
Returns text based on provided
RenderingParameters. |
| Constructor and Description |
|---|
Version(Class cls)
Constrcuts new
Version. |
Version(Package pkg)
Constrcuts new
Version. |
Version(String name,
String version)
Constrcuts new
Version. |
Version(String name,
String version)
Constrcuts new
Version. |
| Modifier and Type | Field and Description |
|---|---|
protected Thread |
GifIcon.gifAnimator
|
| Modifier and Type | Method and Description |
|---|---|
Record |
Language.getRecord(String key)
Returns
Record for the specified language key. |
Text |
Language.getText(String key)
|
Text |
Language.getText(String key,
String state)
|
Value |
Language.getValue(String key)
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
LM.contains(String key)
Returns whether or not specified language key exists in default
Language. |
boolean |
Language.contains(String key)
Returns whether or not specified language key exists in this
Language. |
static boolean |
LM.containsText(String key)
Returns whether or not at least single
Text exists for specified language key. |
boolean |
Language.containsText(String key)
Returns whether or not at least single
Text exists for specified language key. |
static boolean |
LM.containsText(String key,
String state)
Returns whether or not at least single
Text exists for specified language key and state. |
static boolean |
LM.containsText(String key,
String state)
Returns whether or not at least single
Text exists for specified language key and state. |
boolean |
Language.containsText(String key,
String state)
Returns whether or not at least single
Text exists for specified language key and state. |
boolean |
Language.containsText(String key,
String state)
Returns whether or not at least single
Text exists for specified language key and state. |
boolean |
Language.equals(Object language) |
static String |
LM.get(String key,
Object... data)
Returns text for the specified language key from this
Language. |
String |
Language.get(String key,
Object... data)
Returns text for the specified language key from this
Language. |
static int |
LM.getMnemonic(String key)
Returns mnemonic for the specified language key from this
Language. |
int |
Language.getMnemonic(String key)
Returns mnemonic for the specified language key from this
Language. |
static int |
LM.getMnemonic(String key,
String state)
Returns mnemonic for the specified language key from this
Language. |
static int |
LM.getMnemonic(String key,
String state)
Returns mnemonic for the specified language key from this
Language. |
int |
Language.getMnemonic(String key,
String state)
Returns mnemonic for the specified language key from this
Language. |
int |
Language.getMnemonic(String key,
String state)
Returns mnemonic for the specified language key from this
Language. |
Record |
Language.getRecord(String key)
Returns
Record for the specified language key. |
static String |
LM.getState(String key,
String state,
Object... data)
Returns text for the specified language key and state from this
Language. |
static String |
LM.getState(String key,
String state,
Object... data)
Returns text for the specified language key and state from this
Language. |
String |
Language.getState(String key,
String state,
Object... data)
Returns text for the specified language key and state from this
Language. |
String |
Language.getState(String key,
String state,
Object... data)
Returns text for the specified language key and state from this
Language. |
Text |
Language.getText(String key)
|
Text |
Language.getText(String key,
String state)
|
Text |
Language.getText(String key,
String state)
|
Value |
Language.getValue(String key)
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Locale> |
Dictionary.collectSupportedLocales(List<Locale> locales)
|
String |
Dictionary.getName()
Returns
Dictionary name. |
String |
Dictionary.getPrefix()
Returns
Dictionary prefix. |
Record |
Dictionary.getRecord(String key,
Locale locale)
Returns
Record for the specified language key. |
String |
Text.getState()
Returns state this translation is used for.
|
Text |
Value.getText()
Returns
Text for default state. |
Text |
Value.getText(String state)
Returns
Text for the specified state. |
TranslationInformation |
Dictionary.getTranslation(Locale locale)
Returns
TranslationInformation for the specified Locale. |
Value |
Record.getValue(Locale locale)
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Locale> |
Dictionary.collectSupportedLocales(List<Locale> locales)
|
boolean |
Dictionary.equals(Object obj) |
Text |
Value.getText(String state)
Returns
Text for the specified state. |
void |
Dictionary.setDictionaries(List<Dictionary> dictionaries)
|
void |
Dictionary.setName(String name)
Sets
Dictionary name. |
void |
Dictionary.setPrefix(String prefix)
Sets
Dictionary prefix. |
void |
Dictionary.setRecords(List<Record> records)
|
void |
Text.setState(String state)
Sets state this translation is used for.
|
void |
Dictionary.setTranslations(List<TranslationInformation> translations)
Sets
List of TranslationInformations for this dictionary. |
| Constructor and Description |
|---|
Dictionary(String prefix)
Constructs new
Dictionary. |
Dictionary(String prefix,
String name)
Constructs new
Dictionary. |
Dictionary(String prefix,
String name)
Constructs new
Dictionary. |
Text(String text,
String state)
Constructs new
Text with the specified state and translation text. |
Text(String text,
String state,
int mnemonic)
Constructs new
Text with the specified state and translation text. |
| Modifier and Type | Field and Description |
|---|---|
protected ExecutorService |
TaskGroup.executorService
ExecutorService used for executing tasks. |
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
TextUtils.arrayToString(String separator,
Function<T,String> textProvider,
Filter<T> filter,
T... array)
Returns single text combined from array of elements using specified separator.
|
static <T> String |
TextUtils.arrayToString(String separator,
Function<T,String> textProvider,
T... array)
Returns single text combined from array of elements using specified separator.
|
static <T> String |
TextUtils.arrayToString(String separator,
T... array)
Returns single text combined from array of elements using specified separator.
|
static <T> String |
TextUtils.arrayToString(T... array)
Returns single text combined from array of elements using default separator.
|
static String |
EncryptionUtils.base64decode(String text)
Returns text decoded with base64.
|
static String |
EncryptionUtils.base64encode(String text)
Returns text encoded with base64.
|
static <T> T |
ReflectUtils.callMethod(Object object,
String methodName,
Object... arguments)
Calls object's method with the specified name and arguments.
|
static <T> T |
ReflectUtils.callMethodSafely(Object object,
String methodName,
Object... arguments)
Returns result given by called method.
|
static <T> String |
TextUtils.collectionToString(Collection<T> collection)
Returns single text combined from
Collection of elements using default separator. |
static <T> String |
TextUtils.collectionToString(Collection<T> collection,
String separator)
Returns single text combined from
Collection of elements using specified separator. |
static <T> String |
TextUtils.collectionToString(Collection<T> collection,
String separator,
Function<T,String> textProvider)
Returns single text combined from
Collection of elements using specified separator. |
static <T> String |
TextUtils.collectionToString(Collection<T> collection,
String separator,
Function<T,String> textProvider,
Filter<T> filter)
Returns single text combined from
Collection of elements using specified separator. |
static <T> ArrayList<T> |
CollectionUtils.copy(Collection<T> collection)
Returns
ArrayList that is a copy of the specified Collection. |
static BufferedImage |
ImageUtils.decodeImage(String imageData)
Returns
BufferedImage decoded from Base64 string. |
static String |
EncryptionUtils.decrypt(String text)
Returns text decoded using base64 and decrypted through xor.
|
static String |
ImageUtils.encodeImage(BufferedImage image)
Returns image data encoded in Base64 string.
|
static String |
EncryptionUtils.encrypt(String text)
Returns text encrypted through xor and encoded using base64.
|
static String |
EncryptionUtils.encrypt(String text,
String key)
Returns text encrypted through xor and encoded using base64.
|
static <E extends Enum<E>> |
TextUtils.enumArrayToString(E... enumArray)
Converts array of enumeration constants into string with list of enumeration constants and returns it.
|
static <E extends Enum<E>> |
TextUtils.enumArrayToString(String separator,
E... enumArray)
Converts array of enumeration constants into string with list of enumeration constants and returns it.
|
static <E extends Enum<E>> |
TextUtils.enumListToString(List<E> enumList)
Converts list of enumeration constants into string with list of enumeration constants and returns it.
|
static <E extends Enum<E>> |
TextUtils.enumListToString(List<E> enumList,
String separator)
Converts list of enumeration constants into string with list of enumeration constants and returns it.
|
static Rectangle |
CoreSwingUtils.getBoundsInWindow(Component component)
Returns component bounds inside its window.
|
static <T> Class<T> |
ReflectUtils.getClassSafely(String canonicalName)
Returns class for the specified canonical name.
|
static Rectangle |
GeometryUtils.getContainingRect(List<Point> points)
Returns rectangle containing all specified points.
|
static Rectangle |
GeometryUtils.getContainingRect(Point... points)
Returns rectangle containing all specified points.
|
static Rectangle |
GeometryUtils.getContainingRect(Rectangle... rectangles)
Returns rectangle containing all specified rectangles.
|
static Rectangle |
GeometryUtils.getContainingRect(Rectangle r1,
Rectangle r2)
Returns rectangle containing two others.
|
static AWTEvent |
CoreSwingUtils.getCurrentEvent()
Returns current
EventQueue AWTEvent. |
static File |
FileUtils.getDesktop()
Returns desktop directory if one can be found.
|
static String |
FileUtils.getDesktopPath()
Returns desktop directory path if one can be found.
|
static Field |
ReflectUtils.getFieldSafely(Class classType,
String fieldName)
Returns specified class field.
|
static Icon |
FileUtils.getFileIcon(File file)
Returns system file icon.
|
static Icon |
FileUtils.getFileIcon(File file,
boolean large)
Returns either large or small system file icon.
|
static Icon |
FileUtils.getIconResource(Class nearClass,
String resource)
Returns resource icon.
|
static Icon |
FileUtils.getIconResource(Class nearClass,
String resource,
float opacity)
Returns resource icon with the specified opacity.
|
static File |
FileUtils.getJarLocationFile(Class jarClass)
Returns JAR location File for the specified class.
|
static URL |
FileUtils.getJarLocationURL(Class jarClass)
Returns JAR location URL for the specified class.
|
static Long |
TimeUtils.getLastNanoTime()
Returns either last pinned nanotime or last request nanotime.
|
static Long |
TimeUtils.getLastTime()
Returns either last pinned time or last request time.
|
static File |
FileUtils.getParent(File file)
Returns parent
File. |
static Long |
TimeUtils.getPinnedNanoTime()
Returns last pinned nanotime.
|
static Long |
TimeUtils.getPinnedTime()
Returns last pinned time.
|
static JRootPane |
CoreSwingUtils.getRootPane(Component component)
Returns root pane for the specified component or
null if it doesn't exist. |
static Icon |
FileUtils.getStandardFileIcon(boolean large,
String extension,
float opacity)
Returns either large or small icon for the specified extension from a standard icons set.
|
static Icon |
FileUtils.getStandardFileIcon(File file,
boolean large)
Returns either large or small file icon from a standard icons set.
|
static Icon |
FileUtils.getStandardFileIcon(File file,
boolean large,
boolean enabled)
Returns either large or small file icon from a standard icons set.
|
static String |
SystemUtils.getStringFromClipboard()
Returns string clipboard content.
|
static FileFilter |
FileUtils.getSwingFileFilter(AbstractFileFilter fileFilter)
Returns actual Swing file filter from the specified filter.
|
static File |
FileUtils.getSystemRoot()
Returns first available file system root.
|
static Component |
CoreSwingUtils.getTopComponentAt(Component component,
int x,
int y)
Returns top component inside the specified container component at the specified point.
|
static Component |
CoreSwingUtils.getTopComponentAt(Component component,
Point point)
Returns top component inside the specified container component at the specified point.
|
static File |
FileUtils.getTopParent(File file)
Returns top not-null parent for the specified file.
|
static Window |
CoreSwingUtils.getWindowAncestor(Component component)
|
static String |
TextUtils.getWord(String text,
int location)
Returns a word from text at the specified location.
|
static <T> String |
TextUtils.listToString(List<T> list)
Returns single text combined from list of elements using default separator.
|
static <T> String |
TextUtils.listToString(List<T> list,
String separator)
Returns single text combined from list of elements using specified separator.
|
static <T> String |
TextUtils.listToString(List<T> list,
String separator,
Function<T,String> textProvider)
Returns single text combined from list of elements using specified separator.
|
static <T> String |
TextUtils.listToString(List<T> list,
String separator,
Function<T,String> textProvider,
Filter<T> filter)
Returns single text combined from list of elements using specified separator.
|
static <T> T |
CollectionUtils.max(Collection<T> collection,
Comparator<T> comparator)
Returns maximum element of the
Collection according to Comparator. |
static File |
FileUtils.normalize(File file)
Returns normalized file without redundant parts in its path.
|
static Point |
TextUtils.parsePoint(String text)
Returns point extracted from text.
|
static Point |
TextUtils.parsePoint(String text,
String separator)
Returns point extracted from text.
|
static <T> List<T> |
CollectionUtils.removeNulls(List<T> list)
Removes all null elements from list.
|
static <T> T |
CollectionUtils.roundRobin(int index,
List<T> items)
Returns item from the
List at the specified index. |
static <T> T |
ArrayUtils.roundRobin(int index,
T... items)
Returns item from the array at the specified index.
|
static File[] |
FileUtils.sortFiles(File[] files)
Returns sorted array of files.
|
static List<File> |
FileUtils.sortFiles(List<File> files)
Returns sorted list of files.
|
static BufferedImage |
ImageUtils.toBufferedImage(Icon icon)
Returns
BufferedImage converted from the specified Icon. |
static BufferedImage |
ImageUtils.toBufferedImage(Image image)
Returns
BufferedImage converted from the specified Image. |
static BufferedImage |
ImageUtils.toBufferedImage(RenderedImage renderedImage)
Returns
BufferedImage converted from the specified RenderedImage. |
static ImageIcon |
ImageUtils.toImageIcon(Icon icon)
|
static ImageIcon |
ImageUtils.toImageIcon(Image image)
|
static String |
EncryptionUtils.xorText(String text)
Returns text encrypted using xor.
|
static String |
EncryptionUtils.xorText(String text,
String key)
Returns text encrypted using xor.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
TextUtils.arrayToString(String separator,
Function<T,String> textProvider,
Filter<T> filter,
T... array)
Returns single text combined from array of elements using specified separator.
|
static <T> String |
TextUtils.arrayToString(String separator,
Function<T,String> textProvider,
Filter<T> filter,
T... array)
Returns single text combined from array of elements using specified separator.
|
static <T> String |
TextUtils.arrayToString(String separator,
Function<T,String> textProvider,
T... array)
Returns single text combined from array of elements using specified separator.
|
static <T> String |
TextUtils.arrayToString(String separator,
T... array)
Returns single text combined from array of elements using specified separator.
|
static <T> String |
TextUtils.arrayToString(T... array)
Returns single text combined from array of elements using default separator.
|
static String |
EncryptionUtils.base64decode(String text)
Returns text decoded with base64.
|
static String |
EncryptionUtils.base64encode(String text)
Returns text encoded with base64.
|
static void |
FileUtils.clearFileCaches(File file)
Clears all caches for specified file.
|
static void |
FileUtils.clearFilesCaches(File... files)
Clears all caches for specified files.
|
static <T> String |
TextUtils.collectionToString(Collection<T> collection)
Returns single text combined from
Collection of elements using default separator. |
static <T> String |
TextUtils.collectionToString(Collection<T> collection,
String separator)
Returns single text combined from
Collection of elements using specified separator. |
static <T> String |
TextUtils.collectionToString(Collection<T> collection,
String separator,
Function<T,String> textProvider)
Returns single text combined from
Collection of elements using specified separator. |
static <T> String |
TextUtils.collectionToString(Collection<T> collection,
String separator,
Function<T,String> textProvider,
Filter<T> filter)
Returns single text combined from
Collection of elements using specified separator. |
static <T> String |
TextUtils.collectionToString(Collection<T> collection,
String separator,
Function<T,String> textProvider,
Filter<T> filter)
Returns single text combined from
Collection of elements using specified separator. |
static boolean |
ArrayUtils.contains(Object object,
Object[] array)
Returns whether array contains the specified object or not.
|
static boolean |
ArrayUtils.contains(String text,
String[] array)
Returns whether array contains the specified text or not.
|
static <T> ArrayList<T> |
CollectionUtils.copy(Collection<T> collection)
Returns
ArrayList that is a copy of the specified Collection. |
static boolean |
FileUtils.copyFile(File srcFile,
File dstFile)
Copies source file content into destination file.
|
static boolean |
FileUtils.copyFile(File srcFile,
File dstFile)
Copies source file content into destination file.
|
static boolean |
FileUtils.copyFile(String src,
String dst)
Copies source file content into destination file.
|
static boolean |
FileUtils.copyFile(String src,
String dst)
Copies source file content into destination file.
|
static void |
SystemUtils.copyToClipboard(String text)
Copies text to system clipboard.
|
static FileDescription |
FileUtils.createFileDescription(File file,
String fileSize)
Returns complete file description.
|
static BufferedImage |
ImageUtils.decodeImage(String imageData)
Returns
BufferedImage decoded from Base64 string. |
static String |
EncryptionUtils.decrypt(String text)
Returns text decoded using base64 and decrypted through xor.
|
static String |
EncryptionUtils.decrypt(String text,
String key)
Returns text decoded using base64 and decrypted through xor.
|
static File |
FileUtils.downloadFile(String url,
File dstFile,
boolean encodeUrl,
String contentType,
int timeout)
Downloads file from the specified url to destination file and returns it if download succeed.
|
static File |
FileUtils.downloadFile(String url,
File dstFile,
boolean encodeUrl,
String contentType,
int timeout,
FileDownloadListener listener)
Downloads file from the specified url to destination file and returns it if download succeed.
|
static File |
FileUtils.downloadFile(String url,
File dstFile,
boolean encodeUrl,
String contentType,
int timeout,
FileDownloadListener listener)
Downloads file from the specified url to destination file and returns it if download succeed.
|
static File |
FileUtils.downloadFile(String url,
File dstFile,
FileDownloadListener listener)
Downloads file from the specified url to destination file and returns it if download succeed.
|
static File |
FileUtils.downloadFile(String url,
String dst,
boolean encodeUrl,
String contentType,
int timeout)
Downloads file from the specified url to destination file and returns it if download succeed.
|
static File |
FileUtils.downloadFile(String url,
String dst,
boolean encodeUrl,
String contentType,
int timeout,
FileDownloadListener listener)
Downloads file from the specified url to destination file and returns it if download succeed.
|
static File |
FileUtils.downloadFile(String url,
String dst,
boolean encodeUrl,
String contentType,
int timeout,
FileDownloadListener listener)
Downloads file from the specified url to destination file and returns it if download succeed.
|
static String |
ImageUtils.encodeImage(BufferedImage image)
Returns image data encoded in Base64 string.
|
static String |
EncryptionUtils.encrypt(String text)
Returns text encrypted through xor and encoded using base64.
|
static String |
EncryptionUtils.encrypt(String text,
String key)
Returns text encrypted through xor and encoded using base64.
|
static boolean |
FileUtils.ensureDirectoryExists(File dir)
Returns true if directory exists or was successfully created during this check, false otherwise.
|
static boolean |
FileUtils.ensureDirectoryExists(String dir)
Returns true if directory exists or was successfully created during this check, false otherwise.
|
static <E extends Enum<E>> |
TextUtils.enumArrayToString(E... enumArray)
Converts array of enumeration constants into string with list of enumeration constants and returns it.
|
static <E extends Enum<E>> |
TextUtils.enumArrayToString(String separator,
E... enumArray)
Converts array of enumeration constants into string with list of enumeration constants and returns it.
|
static <E extends Enum<E>> |
TextUtils.enumListToString(List<E> enumList)
Converts list of enumeration constants into string with list of enumeration constants and returns it.
|
static <E extends Enum<E>> |
TextUtils.enumListToString(List<E> enumList,
String separator)
Converts list of enumeration constants into string with list of enumeration constants and returns it.
|
static <E extends Enum<E>> |
TextUtils.enumStringToList(String enumString,
Class<E> enumClass)
Converts string with list of enumeration constants into real list of enumeration constants and returns it.
|
static <E extends Enum<E>> |
TextUtils.enumStringToList(String enumString,
Class<E> enumClass,
String separator)
Converts string with list of enumeration constants into real list of enumeration constants and returns it.
|
static boolean |
ArrayUtils.equals(byte[] array1,
byte[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(byte[] array1,
byte[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(char[] array1,
char[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(char[] array1,
char[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(double[] array1,
double[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(double[] array1,
double[] array2)
Returns whether arrays are equal or not.
|
static boolean |
FileUtils.equals(File file1,
File file2)
Returns whether both files represent the same path in file system or not.
|
static boolean |
FileUtils.equals(File file1,
File file2)
Returns whether both files represent the same path in file system or not.
|
static boolean |
ArrayUtils.equals(float[] array1,
float[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(float[] array1,
float[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(int[] array1,
int[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(int[] array1,
int[] array2)
Returns whether arrays are equal or not.
|
static boolean |
CollectionUtils.equals(List list1,
List list2,
boolean strictIndices)
Returns whether
Lists are equal or not. |
static boolean |
CollectionUtils.equals(List list1,
List list2,
boolean strictIndices)
Returns whether
Lists are equal or not. |
static boolean |
ArrayUtils.equals(long[] array1,
long[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(long[] array1,
long[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(String[] array1,
String[] array2)
Returns whether arrays are equal or not.
|
static boolean |
ArrayUtils.equals(String[] array1,
String[] array2)
Returns whether arrays are equal or not.
|
static boolean |
TextUtils.equals(String string,
String compareWith)
Returns whether the first
String equals to second one. |
static boolean |
TextUtils.equals(String string,
String compareWith)
Returns whether the first
String equals to second one. |
static <T> boolean |
ArrayUtils.equals(T[] array1,
T[] array2)
Returns whether arrays are equal or not.
|
static <T> boolean |
ArrayUtils.equals(T[] array1,
T[] array2)
Returns whether arrays are equal or not.
|
static boolean |
TextUtils.equalsIgnoreCase(String string,
String compareWith)
Returns whether the first
String equals to second one ignoring case. |
static boolean |
TextUtils.equalsIgnoreCase(String string,
String compareWith)
Returns whether the first
String equals to second one ignoring case. |
static <T> ArrayList<T> |
CollectionUtils.filter(Collection<T> collection,
Filter<T> filter)
Returns list of elements filtered from collection.
|
static String |
TextUtils.format(String text,
Object... objects)
Returns message formatted with common string representations of the provided objects.
|
static <T> T |
XmlUtils.fromXML(InputStream input,
XStreamContext context)
Returns Object deserialized from XML content.
|
static <T> T |
XmlUtils.fromXML(Reader reader,
XStreamContext context)
Returns Object deserialized from XML content.
|
static <T> T |
XmlUtils.fromXML(Resource resource,
XStreamContext context)
Returns Object deserialized from XML text.
|
static <T> T |
XmlUtils.fromXML(String xml,
XStreamContext context)
Returns Object deserialized from XML content.
|
static String |
TextUtils.generateId(String prefix)
Returns random ID with specified prefix and default suffix.
|
static String |
TextUtils.generateId(String prefix,
String suffix)
Returns random ID with specified prefix and suffix.
|
static String |
TextUtils.generateId(String prefix,
String suffix)
Returns random ID with specified prefix and suffix.
|
static Rectangle |
GeometryUtils.getContainingRect(List<Point> points)
Returns rectangle containing all specified points.
|
static Rectangle |
GeometryUtils.getContainingRect(Point... points)
Returns rectangle containing all specified points.
|
static Rectangle |
GeometryUtils.getContainingRect(Rectangle... rectangles)
Returns rectangle containing all specified rectangles.
|
static Rectangle |
GeometryUtils.getContainingRect(Rectangle r1,
Rectangle r2)
Returns rectangle containing two others.
|
static Rectangle |
GeometryUtils.getContainingRect(Rectangle r1,
Rectangle r2)
Returns rectangle containing two others.
|
static Rectangle |
SystemUtils.getDeviceBounds(GraphicsConfiguration gc,
boolean applyScreenInsets)
Returns screen device bounds.
|
static Rectangle |
SystemUtils.getDeviceBounds(GraphicsDevice device,
boolean applyScreenInsets)
Returns screen device bounds.
|
static FileDescription |
FileUtils.getFileDescription(File file,
String fileSize)
Returns complete file description.
|
static String |
FileUtils.getFileExtPart(File file,
boolean withDot)
Returns file extension either with or without dot.
|
static String |
FileUtils.getFileExtPart(String name,
boolean withDot)
Returns file extension either with or without dot.
|
static Icon |
FileUtils.getFileIcon(File file)
Returns system file icon.
|
static Icon |
FileUtils.getFileIcon(File file,
boolean large)
Returns either large or small system file icon.
|
static String |
FileUtils.getFileNamePart(File file)
Returns file name without extension.
|
static String |
FileUtils.getFileNamePart(String name)
Returns file name without extension.
|
static List<File> |
FileUtils.getFilePath(File file)
Returns list of files contained in path of the specified file.
|
static String |
FileUtils.getFileTypeDescription(File file)
Returns file type description.
|
static GraphicsDevice |
SystemUtils.getGraphicsDevice(Window window)
Returns screen device for the specified window.
|
static JRootPane |
CoreSwingUtils.getRootPane(Component component)
Returns root pane for the specified component or
null if it doesn't exist. |
static String |
FileUtils.getShortFileName(String name)
Returns shortened file name.
|
static String |
FileUtils.getShortFileName(String name,
int length)
Returns shortened to the specified length file name.
|
static Icon |
FileUtils.getStandardFileIcon(File file,
boolean large)
Returns either large or small file icon from a standard icons set.
|
static Icon |
FileUtils.getStandardFileIcon(File file,
boolean large,
boolean enabled)
Returns either large or small file icon from a standard icons set.
|
static FileFilter |
FileUtils.getSwingFileFilter(AbstractFileFilter fileFilter)
Returns actual Swing file filter from the specified filter.
|
static Component |
CoreSwingUtils.getTopComponentAt(Component component,
int x,
int y)
Returns top component inside the specified container component at the specified point.
|
static Component |
CoreSwingUtils.getTopComponentAt(Component component,
Point point)
Returns top component inside the specified container component at the specified point.
|
static Window |
CoreSwingUtils.getWindowAncestor(Component component)
|
static Insets |
CoreSwingUtils.getWindowDecorationInsets(Window window)
Returns window decoration insets.
|
static int |
ArrayUtils.indexOf(Object object,
Object[] array)
Returns index of specified object in array.
|
static int |
ArrayUtils.indexOf(String text,
String[] array)
Returns index of specified text in array.
|
static int |
ArrayUtils.indexOf(String text,
String[] array,
boolean ignoreCase)
Returns index of specified text in array.
|
static <T> T[] |
ArrayUtils.insert(T[] array,
int index,
T object)
Returns new array with object inserted at the specified index.
|
static boolean |
CoreSwingUtils.isAncestorOf(Component ancestor,
Component component)
Returns whether or not specified
ancestor is an ancestor of component. |
static boolean |
CoreSwingUtils.isAncestorOf(Component ancestor,
Component component)
Returns whether or not specified
ancestor is an ancestor of component. |
static boolean |
TextUtils.isBlank(String text)
Returns whether or not specified text is
null or empty excluding linebreaks and whitespaces. |
static boolean |
FileUtils.isDirectory(File file)
Returns whether the specified file is directory or not.
|
static boolean |
CollectionUtils.isEmpty(Collection collection)
Returns whether specified
Collection is empty or not. |
static boolean |
MapUtils.isEmpty(Map map)
Returns whether specified
Map is empty or not. |
static boolean |
TextUtils.isEmpty(String text)
Returns whether or not specified text is
null or empty. |
static <T> boolean |
ArrayUtils.isEmpty(T... data)
Returns whether or not data is empty.
|
static boolean |
FileUtils.isFile(File file)
Returns whether the specified file is actually a file (and not a directory, disk or some system folder) or not.
|
static boolean |
FileUtils.isFileAccepted(File file,
List<AbstractFileFilter> filters)
Returns whether any of the specified file filters accept the file or not.
|
static boolean |
CoreSwingUtils.isFullScreen(Component component)
Returns whether or not specified component is placed on a fullscreen window.
|
static boolean |
FileUtils.isHidden(File file)
Returns whether the specified file is hidden or not.
|
static boolean |
ImageUtils.isImageSupported(String name)
Returns whether or not loading of the image with extension mentioned in the specified name is supported.
|
static boolean |
FileUtils.isParent(File parent,
File child)
Returns whether the specified child file is one of parent file children or not.
|
static boolean |
FileUtils.isParent(File parent,
File child)
Returns whether the specified child file is one of parent file children or not.
|
static boolean |
CoreSwingUtils.isSameAncestor(Component component1,
Component component2)
Returns whether specified components have the same ancestor or not.
|
static boolean |
CoreSwingUtils.isSameAncestor(Component component1,
Component component2)
Returns whether specified components have the same ancestor or not.
|
static <T> ArrayList<T> |
CollectionUtils.join(Collection<T>... collections)
Returns collection that contains elements from all specified collections.
|
static int |
ArrayUtils.lastIndexOf(Object object,
Object[] array)
Returns last index of specified object in array.
|
static int |
TextUtils.length(String text)
Returns specified text length.
|
static File[] |
FileUtils.listFiles(File directory,
FileFilter fileFilter)
Returns directory files array or empty array (instead of null) if no files present.
|
static File[] |
FileUtils.listFiles(File directory,
Filter<File> fileFilter)
Returns directory files array or empty array (instead of null) if no files present.
|
static <T> String |
TextUtils.listToString(List<T> list)
Returns single text combined from list of elements using default separator.
|
static <T> String |
TextUtils.listToString(List<T> list,
String separator)
Returns single text combined from list of elements using specified separator.
|
static <T> String |
TextUtils.listToString(List<T> list,
String separator,
Function<T,String> textProvider)
Returns single text combined from list of elements using specified separator.
|
static <T> String |
TextUtils.listToString(List<T> list,
String separator,
Function<T,String> textProvider,
Filter<T> filter)
Returns single text combined from list of elements using specified separator.
|
static <T> String |
TextUtils.listToString(List<T> list,
String separator,
Function<T,String> textProvider,
Filter<T> filter)
Returns single text combined from list of elements using specified separator.
|
static <T> T |
CollectionUtils.max(Collection<T> collection,
Comparator<T> comparator)
Returns maximum element of the
Collection according to Comparator. |
static <K,V> HashMap<K,V> |
MapUtils.newHashMap(K key,
V value)
Returns newly created HashMap with the specified key and value pair added.
|
static <K,V> HashMap<K,V> |
MapUtils.newHashMap(K key,
V value)
Returns newly created HashMap with the specified key and value pair added.
|
static <K,V> HashMap<K,V> |
MapUtils.newHashMap(Object... objects)
Returns newly created HashMap with the specified key and value pairs added.
|
static <K,V> LinkedHashMap<K,V> |
MapUtils.newLinkedHashMap(K key,
V value)
Returns newly created LinkedHashMap with the specified key and value pair added.
|
static <K,V> LinkedHashMap<K,V> |
MapUtils.newLinkedHashMap(K key,
V value)
Returns newly created LinkedHashMap with the specified key and value pair added.
|
static <K,V> LinkedHashMap<K,V> |
MapUtils.newLinkedHashMap(Object... objects)
Returns newly created LinkedHashMap with the specified key and value pairs added.
|
static <T> List<T> |
CollectionUtils.nonNull(List<T> list)
|
static <K,V> Map<K,V> |
MapUtils.nonNull(Map<K,V> map)
|
static File |
FileUtils.normalize(File file)
Returns normalized file without redundant parts in its path.
|
static boolean |
TextUtils.notBlank(String text)
Returns whether or not specified text is
null or empty excluding linebreaks and whitespaces. |
static boolean |
CollectionUtils.notEmpty(Collection collection)
Returns whether specified
Collection is empty or not. |
static boolean |
MapUtils.notEmpty(Map map)
Returns whether specified
Map is empty or not. |
static boolean |
TextUtils.notEmpty(String text)
Returns whether or not specified text is
null or empty. |
static <T> boolean |
ArrayUtils.notEmpty(T... data)
Returns whether or not data is empty.
|
static <T> T[] |
ArrayUtils.remove(T[] array,
T object)
Returns new array with the specified object removed.
|
static <K,V> void |
MapUtils.removeAllValues(Map<K,V> map,
V value)
Removes all map entries where value is the same as the specified one.
|
static <T> List<T> |
CollectionUtils.removeNulls(List<T> list)
Removes all null elements from list.
|
static String |
TextUtils.requireNonEmpty(String text)
Checks that the specified text is not
null or empty and throws a NullPointerException if it is. |
static String |
TextUtils.requireNonEmpty(String text,
String message)
Checks that the specified text is not
null or empty and throws a NullPointerException if it is. |
static String |
TextUtils.requireNonEmpty(String text,
Supplier<RuntimeException> exceptionSupplier)
Checks that the specified text is not
null or empty and throws a RuntimeException if it is. |
static <T extends Collection<?>> |
CollectionUtils.requireNotEmpty(T collection,
Supplier<RuntimeException> exceptionSupplier)
Checks that the specified
Collection is not empty and throws a customized RuntimeException if it is. |
static <T> List<T> |
CollectionUtils.sort(List<T> list,
Comparator<T> comparator)
Sorts
List using the specified Comparator. |
static File[] |
FileUtils.sortFiles(File[] files)
Returns sorted array of files.
|
static List<File> |
FileUtils.sortFiles(List<File> files)
Returns sorted list of files.
|
static List<Float> |
TextUtils.stringToFloatList(String string)
Returns a list of float parts split using specified separator.
|
static List<Float> |
TextUtils.stringToFloatList(String string,
String separator)
Returns a list of float parts split using specified separator.
|
static List<Integer> |
TextUtils.stringToIntList(String string)
Returns a list of integer parts split using specified separator.
|
static List<Integer> |
TextUtils.stringToIntList(String string,
String separator)
Returns a list of integer parts split using specified separator.
|
static List<String> |
TextUtils.stringToList(String string)
Returns a list of text parts split using specified separator.
|
static List<String> |
TextUtils.stringToList(String string,
String separator)
Returns a list of text parts split using specified separator.
|
static BufferedImage |
ImageUtils.toBufferedImage(Icon icon)
Returns
BufferedImage converted from the specified Icon. |
static BufferedImage |
ImageUtils.toBufferedImage(Image image)
Returns
BufferedImage converted from the specified Image. |
static BufferedImage |
ImageUtils.toBufferedImage(RenderedImage renderedImage)
Returns
BufferedImage converted from the specified RenderedImage. |
static List<File> |
FileUtils.toFilesList(Object... object)
Converts objects array into list of files.
|
static ImageIcon |
ImageUtils.toImageIcon(Icon icon)
|
static ImageIcon |
ImageUtils.toImageIcon(Image image)
|
static String |
TextUtils.unite(String separator,
String... parts)
Converts and returns specified parts which are not null into single string.
|
static void |
ZipUtils.unzip(File archive,
File dst,
UnzipListener listener)
Extracts ZIP archive contents into destination directory.
|
static void |
ZipUtils.unzip(String archive,
String dst,
UnzipListener listener)
Extracts ZIP archive contents into destination directory.
|
static void |
WebUtils.writeEmail(String email,
String subject,
String body)
Opens system mail agent to compose a new letter
|
static void |
WebUtils.writeEmail(String email,
String subject,
String body)
Opens system mail agent to compose a new letter
|
static void |
WebUtils.writeEmailSafely(String email,
String subject,
String body)
Opens system mail agent to compose a new letter safely
|
static void |
WebUtils.writeEmailSafely(String email,
String subject,
String body)
Opens system mail agent to compose a new letter safely
|
static String |
EncryptionUtils.xorText(String text)
Returns text encrypted using xor.
|
static String |
EncryptionUtils.xorText(String text,
String key)
Returns text encrypted using xor.
|
| Modifier and Type | Method and Description |
|---|---|
E |
ImmutableList.get(int index) |
E |
EmptyIterator.next() |
E |
EmptyEnumeration.nextElement() |
E |
ImmutableList.remove(int index) |
E |
ImmutableList.set(int index,
E element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ImmutableCollection.add(E element) |
boolean |
ImmutableList.add(E element) |
boolean |
WeakHashSet.add(E e) |
boolean |
ImmutableSet.add(E element) |
void |
ImmutableList.add(int index,
E element) |
boolean |
ImmutableCollection.contains(Object element) |
boolean |
ImmutableList.contains(Object element) |
boolean |
WeakHashSet.contains(Object o) |
boolean |
ImmutableSet.contains(Object element) |
boolean |
ImmutableCollection.equals(Object o) |
boolean |
ImmutableList.equals(Object o) |
boolean |
WeakHashSet.equals(Object o) |
boolean |
ImmutableSet.equals(Object o) |
int |
ImmutableList.indexOf(Object o) |
int |
ImmutableList.lastIndexOf(Object o) |
boolean |
ImmutableCollection.remove(Object element) |
boolean |
ImmutableList.remove(Object element) |
boolean |
WeakHashSet.remove(Object o) |
boolean |
ImmutableSet.remove(Object element) |
E |
ImmutableList.set(int index,
E element) |
| Modifier and Type | Method and Description |
|---|---|
Icon |
DirectoriesFilter.getIcon(RenderingParameters parameters) |
Icon |
AllFilesFilter.getIcon(RenderingParameters parameters) |
Icon |
NonHiddenFilter.getIcon(RenderingParameters parameters) |
abstract Icon |
AbstractFileFilter.getIcon(RenderingParameters parameters)
Returns file filter
Icon. |
Icon |
GroupedFileFilter.getIcon(RenderingParameters parameters) |
Icon |
FilesFilter.getIcon(RenderingParameters parameters) |
Icon |
DescriptiveFileFilter.getIcon(RenderingParameters parameters) |
Icon |
ImageFilesFilter.getIcon(RenderingParameters parameters) |
String |
AbstractFileFilter.getText(RenderingParameters parameters)
Returns file filter title.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Pair.equals(Object o) |
| Modifier and Type | Field and Description |
|---|---|
protected List<JarEntry> |
JarEntry.children
Children JAR entries.
|
protected Icon |
JarEntry.icon
Custom JAR entry icon.
|
protected JarEntry |
JarEntry.parent
Parent JAR entry if it has one.
|
protected ZipEntry |
JarEntry.zipEntry
ZIP entry reference for this JAR entry.
|
| Modifier and Type | Method and Description |
|---|---|
JarEntry |
JarEntry.findChildByName(String name)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarStructure.findChildByName(String name)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarEntry.findChildByName(String name,
boolean recursively)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarStructure.findChildByName(String name,
boolean recursively)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarStructure.getClassEntry(Class<?> forClass)
|
JarEntry |
JarStructure.getPackageEntry(Package forPackage)
|
JarEntry |
JarStructure.getPackageEntry(String forPackage)
|
JarEntry |
JarEntry.getParent()
|
ZipEntry |
JarEntry.getZipEntry()
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
JarEntry.equals(Object other) |
JarEntry |
JarEntry.findChildByName(String name)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarStructure.findChildByName(String name)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarEntry.findChildByName(String name,
boolean recursively)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarStructure.findChildByName(String name,
boolean recursively)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarEntry.getChildByName(String name)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarStructure.getChildByName(String name)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarEntry.getChildByName(String name,
boolean recursively)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
JarEntry |
JarStructure.getChildByName(String name,
boolean recursively)
Returns child
JarEntry with the specfiied name or null if it cannot be found. |
boolean |
JarEntry.isClassEntry(Class classType)
|
void |
JarEntry.setIcon(Icon icon)
Sets custom
JarEntry icon. |
| Constructor and Description |
|---|
JarEntry(JarStructure structure,
JarEntry parent,
ZipEntry zipEntry,
JarEntryType type,
String name)
Constructs new
JarEntry. |
JarEntry(JarStructure structure,
JarEntry parent,
ZipEntry zipEntry,
JarEntryType type,
String name)
Constructs new
JarEntry. |
JarStructure(Class jarClass,
List<String> allowedExtensions,
List<String> allowedPackages)
Constructs new
JarStructure. |
JarStructure(Class jarClass,
List<String> allowedExtensions,
List<String> allowedPackages)
Constructs new
JarStructure. |
JarStructure(Class jarClass,
List<String> allowedExtensions,
List<String> allowedPackages,
FileDownloadListener listener)
Constructs new
JarStructure. |
JarStructure(Class jarClass,
List<String> allowedExtensions,
List<String> allowedPackages,
FileDownloadListener listener)
Constructs new
JarStructure. |
JarStructure(Class jarClass,
List<String> allowedExtensions,
List<String> allowedPackages,
FileDownloadListener listener)
Constructs new
JarStructure. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
StrictHashMap.isEqualKey(Object key1,
Object key2) |
protected boolean |
StrictHashMap.isEqualKey(Object key1,
Object key2) |
protected boolean |
StrictHashMap.isEqualValue(Object value1,
Object value2) |
protected boolean |
StrictHashMap.isEqualValue(Object value1,
Object value2) |
| Modifier and Type | Field and Description |
|---|---|
protected static DurationUnits |
DurationUnits.instance
Global
DurationUnits instance. |
protected static FileSizeUnits |
FileSizeUnits.instance
Global
FileSizeUnits instance. |
| Modifier and Type | Field and Description |
|---|---|
protected Thread |
WebTimer.exec
Last timer thread.
|
| Modifier and Type | Method and Description |
|---|---|
D |
WeakComponentData.clear(C component)
Clears data stored in the
JComponent. |
D |
WeakComponentData.clear(C component,
BiConsumer<C,D> removedDataConsumer)
Clears data stored in the
JComponent. |
D |
WeakComponentData.get(C component)
Returns data stored in the
JComponent. |
D |
WeakComponentData.set(C component,
D data)
Stores data in the specified
JComponent. |
D |
WeakComponentData.set(C component,
D data,
BiConsumer<C,D> oldDataConsumer)
Stores data in the specified
JComponent. |
| Modifier and Type | Method and Description |
|---|---|
static WebTimer |
WebTimer.delay(long delay,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(long delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String delay,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String name,
long delay,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String name,
long delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String name,
String delay,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static WebTimer |
WebTimer.delay(String name,
String delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that doesn't repeat and has the specified delay and action listener.
|
static <E extends Enum<E>> |
EnumLazyIconProvider.getIcon(E enumeration,
String state,
String folder)
Returns cached or just loaded enum icon for the specified state.
|
static <E extends Enum<E>> |
EnumLazyIconProvider.getIcon(E enumeration,
String state,
String folder,
String extension)
Returns cached or just loaded enum icon for the specified state.
|
void |
HoverListener.hoverChanged(E previous,
E current)
Informs when hover object changes.
|
void |
HoverListener.hoverChanged(E previous,
E current)
Informs when hover object changes.
|
static WebTimer |
WebTimer.repeat(boolean useDaemonThread,
String name,
long delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(boolean useDaemonThread,
String name,
long delay,
long initialDelay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(boolean useDaemonThread,
String name,
long delay,
long initialDelay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
long initialDelay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
long initialDelay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
long initialDelay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(long delay,
long initialDelay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String delay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String delay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
long initialDelay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
long initialDelay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
long initialDelay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
long delay,
long initialDelay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay, initial delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
String delay,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
String delay,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
String delay,
int cyclesLimit,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
static WebTimer |
WebTimer.repeat(String name,
String delay,
int cyclesLimit,
boolean useEventDispatchThread,
ActionListener listener)
Returns newly created and started timer that repeats and has the specified delay and action listener.
|
D |
WeakComponentData.set(C component,
D data)
Stores data in the specified
JComponent. |
D |
WeakComponentData.set(C component,
D data,
BiConsumer<C,D> oldDataConsumer)
Stores data in the specified
JComponent. |
| Constructor and Description |
|---|
WebTimer(long delay,
ActionListener listener)
Constructs timer with specified delay and action listener.
|
WebTimer(long delay,
long initialDelay,
ActionListener listener)
Constructs timer with specified delay, initial delay and action listener.
|
WebTimer(String delay,
ActionListener listener)
Constructs timer with specified delay and action listener.
|
WebTimer(String name,
long delay,
ActionListener listener)
Constructs timer with specified internal thread name, delay and action listener.
|
WebTimer(String name,
long delay,
long initialDelay,
ActionListener listener)
Constructs timer with specified internal thread name, delay, initial delay and action listener.
|
WebTimer(String name,
String delay,
ActionListener listener)
Constructs timer with specified internal thread name, delay and action listener.
|
WebTimer(String name,
String delay,
String initialDelay,
ActionListener listener)
Constructs timer with specified internal thread name, delay, initial delay and action listener.
|
| Modifier and Type | Method and Description |
|---|---|
String |
JavaVersion.patch()
Returns patch.
|
| Constructor and Description |
|---|
JavaVersion(double major,
int minor,
int update,
String patch)
Constructs new
JavaVersion for the specified major version, minor version and update number. |
| Modifier and Type | Method and Description |
|---|---|
static Color |
ColorConverter.colorFromString(String string)
Parses
Color from its string form. |
Object |
ColorConverter.fromString(String string) |
String |
ColorConverter.toString(Object color) |
| Modifier and Type | Method and Description |
|---|---|
static Color |
ColorConverter.colorFromString(String string)
Parses
Color from its string form. |
static String |
ColorConverter.colorToString(Color color)
Convert specified
Color into string form. |
Object |
ColorConverter.fromString(String string) |
String |
ColorConverter.toString(Object color) |
Copyright © 2020. All rights reserved.