com.google.appengine.api.images.dev
Class LocalImagesService

java.lang.Object
  extended by com.google.appengine.api.images.dev.LocalImagesService

@ServiceProvider(value=)
public final class LocalImagesService
extends java.lang.Object

Java stub implementation of the images api backend using Image 2D. Depends on ImageIO being able to load and save in the correct image formats.


Field Summary
static java.lang.String PACKAGE
          The package name for this service.
 
Constructor Summary
LocalImagesService()
           
 
Method Summary
 ImagesCompositeResponse composite(Status status, ImagesCompositeRequest request)
           
 java.lang.String getPackage()
          
 ImagesHistogramResponse histogram(Status status, ImagesHistogramRequest request)
          Calculate the histogram of the supplied image.
 void init(LocalServiceContext context, java.util.Map<java.lang.String,java.lang.String> properties)
          
 void start()
          
 void stop()
          
 ImagesTransformResponse transform(Status status, ImagesTransformRequest request)
          Apply the transform request to the contained image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE

public static final java.lang.String PACKAGE
The package name for this service.

See Also:
Constant Field Values
Constructor Detail

LocalImagesService

public LocalImagesService()
Method Detail

getPackage

public java.lang.String getPackage()


init

public void init(LocalServiceContext context,
                 java.util.Map<java.lang.String,java.lang.String> properties)


start

public void start()


stop

public void stop()


transform

public ImagesTransformResponse transform(Status status,
                                         ImagesTransformRequest request)
Apply the transform request to the contained image.

Parameters:
status - RPC status
request - request to be processed
Returns:
a transform response containing the processed image

composite

public ImagesCompositeResponse composite(Status status,
                                         ImagesCompositeRequest request)
Parameters:
status - RPC status
request - request to be processed
Returns:
a transform response containing the processed image

histogram

public ImagesHistogramResponse histogram(Status status,
                                         ImagesHistogramRequest request)
Calculate the histogram of the supplied image.

Parameters:
status - RPC status
request - request to be processed
Returns:
a histogram response containing the histogram of the image