public class Utilities
extends java.lang.Object
| Constructor and Description |
|---|
Utilities() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
getRemoteImage(java.lang.String url)
Saves a remote image as BufferedImage.
|
static java.io.File |
handleConfigInput(java.lang.String configFileName)
If configFilename is a remote file, save it locally.
|
public static java.io.File handleConfigInput(java.lang.String configFileName)
throws java.lang.Exception
configFilename - The configuration file (local or remote)java.lang.Exceptionpublic static java.awt.image.BufferedImage getRemoteImage(java.lang.String url)
throws java.lang.Exception
url - Url to a remote image.java.lang.Exception