| Package | Description |
|---|---|
| com.alee.api.resource | |
| com.alee.graphics.image.gif | |
| com.alee.managers.language.data | |
| com.alee.utils |
This package contains various utility and utility-related classes provided by 'core' module.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClassResource
Class resource. |
class |
FileResource
File system resource.
|
class |
UrlResource
URL resource. |
| Constructor and Description |
|---|
GifIcon(Resource resource)
Constructs new
GifIcon. |
| Constructor and Description |
|---|
Dictionary(Resource resource)
Loads
Dictionary from the specified Resource. |
| Modifier and Type | Method and Description |
|---|---|
static Resource |
XmlUtils.readResource(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context,
com.thoughtworks.xstream.mapper.Mapper mapper)
Returns
Resource based on the available attributes in the current node. |
| Modifier and Type | Method and Description |
|---|---|
static String |
FileUtils.computeMD5(Resource resource)
Returns MD5 for specified
File content. |
static String |
FileUtils.computeMD5(Resource resource,
int bufferLength)
Returns MD5 for specified
File content and uses a buffer of the specified length. |
static <T> T |
XmlUtils.fromXML(Resource resource)
Returns Object deserialized from XML text.
|
static <T> T |
XmlUtils.fromXML(Resource resource,
Object root)
Returns Object deserialized from XML text.
|
static <T> T |
XmlUtils.fromXML(Resource resource,
XStreamContext context)
Returns Object deserialized from XML text.
|
static BufferedImage |
ImageUtils.loadBufferedImage(Resource resource)
Returns
BufferedImage loaded from the specified Resource. |
static BufferedImage |
ImageUtils.loadCompatibleImage(Resource resource)
Returns
BufferedImage loaded from the specified Resource. |
static ImageIcon |
ImageUtils.loadImageIcon(Resource resource)
|
static String |
FileUtils.readToString(Resource resource)
|
static String |
FileUtils.readToString(Resource resource,
String encoding)
|
Copyright © 2020. All rights reserved.