org.jboss.resteasy.plugins.providers
Class IIOImageProviderHelper

java.lang.Object
  extended by org.jboss.resteasy.plugins.providers.IIOImageProviderHelper

public final class IIOImageProviderHelper
extends java.lang.Object

A IIOImageProviderHelper.

Version:
$Revision:$
Author:
Ryan J. McDonough

Method Summary
static javax.imageio.ImageReader getImageReaderByMediaType(MediaType mediaType)
          FIXME Comment this
static javax.imageio.ImageWriter getImageWriterByMediaType(MediaType mediaType)
          FIXME Comment this
static javax.imageio.IIOImage readImage(java.io.InputStream in, javax.imageio.ImageReader reader, int imageIndex)
          FIXME Comment this
static void writeImage(java.lang.annotation.Annotation[] annotations, MediaType mediaType, javax.imageio.ImageWriter writer, java.io.OutputStream out, javax.imageio.IIOImage image)
          FIXME Comment this
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getImageWriterByMediaType

public static javax.imageio.ImageWriter getImageWriterByMediaType(MediaType mediaType)
FIXME Comment this

Parameters:
mediaType -
Returns:

readImage

public static javax.imageio.IIOImage readImage(java.io.InputStream in,
                                               javax.imageio.ImageReader reader,
                                               int imageIndex)
                                        throws java.io.IOException
FIXME Comment this

Parameters:
in -
mediaType -
imageIndex -
Returns:
Throws:
java.io.IOException

getImageReaderByMediaType

public static javax.imageio.ImageReader getImageReaderByMediaType(MediaType mediaType)
FIXME Comment this

Parameters:
mediaType -
Returns:

writeImage

public static void writeImage(java.lang.annotation.Annotation[] annotations,
                              MediaType mediaType,
                              javax.imageio.ImageWriter writer,
                              java.io.OutputStream out,
                              javax.imageio.IIOImage image)
                       throws java.io.IOException
FIXME Comment this

Parameters:
annotations -
mediaType -
writer -
out -
image -
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.