public class ImageUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
IMAGE_FORMAT_NAME_PNG |
Constructor and Description |
---|
ImageUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
saveImageToClipboard(Component comp,
String formatName) |
static void |
writeImage(Component comp,
String filename,
String formatName) |
public static String IMAGE_FORMAT_NAME_PNG
public static void saveImageToClipboard(Component comp, String formatName) throws IOException
IOException
public static void writeImage(Component comp, String filename, String formatName) throws IOException
IOException
Copyright © 2017. All rights reserved.