public class Image extends Object
| Constructor and Description |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
static void |
create(MasterInfo info,
String path)
Write a new image to path.
|
static void |
load(MasterInfo info,
String path)
Load an image into the masterinfo.
|
static void |
rename(String src,
String dst)
Rename the src to the dst.
|
public static void create(MasterInfo info, String path) throws IOException
info - the master info to generate the imagepath - the new image pathIOExceptionpublic static void load(MasterInfo info, String path) throws IOException
info - the masterinfo to fill.path - the data to loadIOExceptionpublic static void rename(String src, String dst) throws IOException
src - The src image pathdst - The dst image pathIOExceptionCopyright © 2015. All Rights Reserved.