com.aetrion.flickr.photos.transform
Class TransformInterface

java.lang.Object
  extended by com.aetrion.flickr.photos.transform.TransformInterface

public class TransformInterface
extends java.lang.Object

Version:
$Id: TransformInterface.java,v 1.6 2008/01/28 23:01:44 x-mago Exp $
Author:
Anthony Eden

Field Summary
static java.lang.String METHOD_ROTATE
           
 
Constructor Summary
TransformInterface(java.lang.String apiKey, java.lang.String sharedSecret, Transport transportAPI)
           
 
Method Summary
 void rotate(java.lang.String photoId, int degrees)
          Rotate the specified photo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_ROTATE

public static final java.lang.String METHOD_ROTATE
See Also:
Constant Field Values
Constructor Detail

TransformInterface

public TransformInterface(java.lang.String apiKey,
                          java.lang.String sharedSecret,
                          Transport transportAPI)
Method Detail

rotate

public void rotate(java.lang.String photoId,
                   int degrees)
            throws java.io.IOException,
                   org.xml.sax.SAXException,
                   FlickrException
Rotate the specified photo. The only allowed values for degrees are 90, 180 and 270.

Parameters:
photoId - The photo ID
degrees - The degrees to rotate (90, 170 or 270)
Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.