Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.swtbot.swt.finder.utils
Class ImageFormatConverter

    java.lang.Object
      org.eclipse.swtbot.swt.finder.utils.ImageFormatConverter

    public class ImageFormatConverter

extends Object

Translates from strings to one of the constants in SWT#IMAGE_*

Since:
  1.3
Version:
  $Id$
Author:
  Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>

Nested Class Summary
`protected class` | `ImageFormatConverter.ImageType` Mapping from strings to constants in SWT#IMAGE_*

Constructor Summary
`ImageFormatConverter()` The default constructor.

Method Summary
`int` | `imageTypeOf(String extension)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ImageFormatConverter

    public ImageFormatConverter()

  The default constructor.

Method Detail

### imageTypeOf

    public int imageTypeOf(String extension)

  Parameters:
    `extension` - the image format
  Returns:
    one of the constants defined in SWT#IMAGE*
  Throws:
    `IllegalArgumentException` - if the type could not be resolved

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD