com.bigllc.retsiq.simpleclient
Class DefaultObjectHandler

java.lang.Object
  extended by com.bigllc.retsiq.simpleclient.FileWriterObjectHandler
      extended by com.bigllc.retsiq.simpleclient.DefaultObjectHandler
All Implemented Interfaces:
ObjectResponseHandler

public class DefaultObjectHandler
extends FileWriterObjectHandler

The default type object response handler. This handler writes objects to a specified directory.

Author:
Marc G. Smith

Constructor Summary
DefaultObjectHandler(java.io.File directory)
           
 
Method Summary
protected  java.io.File getDirectory(java.lang.String contentType, java.lang.String contentId, java.lang.String objectId)
          Implementing super classes should return the directory to write this image to.
 
Methods inherited from class com.bigllc.retsiq.simpleclient.FileWriterObjectHandler
object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultObjectHandler

public DefaultObjectHandler(java.io.File directory)
Method Detail

getDirectory

protected java.io.File getDirectory(java.lang.String contentType,
                                    java.lang.String contentId,
                                    java.lang.String objectId)
Implementing super classes should return the directory to write this image to.

Specified by:
getDirectory in class FileWriterObjectHandler