Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.util.Images Class Reference

Utility class for manipulating images. More...

+ Collaboration diagram for com.realtime.crossfire.jxclient.util.Images:

Static Public Member Functions

static void saveImageIcon (@NotNull final File outputFile, @NotNull final Icon imageIcon)
 Saves an ImageIcon to a file. More...
 

Private Member Functions

 Images ()
 Private constructor to prevent instantiation. More...
 

Detailed Description

Utility class for manipulating images.

Author
Andreas Kirschbaum

Definition at line 36 of file Images.java.

Constructor & Destructor Documentation

◆ Images()

com.realtime.crossfire.jxclient.util.Images.Images ( )
private

Private constructor to prevent instantiation.

Definition at line 41 of file Images.java.

Member Function Documentation

◆ saveImageIcon()

static void com.realtime.crossfire.jxclient.util.Images.saveImageIcon ( @NotNull final File  outputFile,
@NotNull final Icon  imageIcon 
)
static

Saves an ImageIcon to a file.

I/O errors are reported to System#err but otherwise ignored.

Parameters
outputFilethe file to save to
imageIconthe image to save

Definition at line 50 of file Images.java.

Referenced by com.realtime.crossfire.jxclient.faces.FileCache.save().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: