public class

ImageFormat

extends Object
java.lang.Object
   ↳ com.facebook.imageformat.ImageFormat

Class Overview

Class representing all used image formats.

Summary

Nested Classes
interface ImageFormat.FormatChecker  
Fields
public static final ImageFormat UNKNOWN
Public Constructors
ImageFormat(String name, String fileExtension)
Public Methods
String getFileExtension()
Get the default file extension for the given image format.
String getName()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final ImageFormat UNKNOWN

Public Constructors

public ImageFormat (String name, String fileExtension)

Public Methods

public String getFileExtension ()

Get the default file extension for the given image format.

Returns
  • file extension for the image format

public String getName ()

public String toString ()