com.aetrion.flickr.reflection
Class ReflectionInterface
java.lang.Object
com.aetrion.flickr.reflection.ReflectionInterface
public class ReflectionInterface
- extends java.lang.Object
Interface for testing the complete implementation of all Flickr-methods.
- Version:
- $Id: ReflectionInterface.java,v 1.8 2007/11/18 22:48:09 x-mago Exp $
- Author:
- Anthony Eden
Method Summary |
Method |
getMethodInfo(java.lang.String methodName)
Get the info for the specified method. |
java.util.Collection |
getMethods()
Get a list of all methods. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_GET_METHOD_INFO
public static final java.lang.String METHOD_GET_METHOD_INFO
- See Also:
- Constant Field Values
METHOD_GET_METHODS
public static final java.lang.String METHOD_GET_METHODS
- See Also:
- Constant Field Values
ReflectionInterface
public ReflectionInterface(java.lang.String apiKey,
Transport transport)
- Construct a ReflectionInterface.
- Parameters:
apiKey
- The API keytransport
- The Transport interface
getMethodInfo
public Method getMethodInfo(java.lang.String methodName)
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
- Get the info for the specified method.
- Parameters:
methodName
- The method name
- Returns:
- The Method object
- Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException
getMethods
public java.util.Collection getMethods()
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
- Get a list of all methods.
- Returns:
- The method names
- Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException
Copyright (C) 2005-2007 Aetrion LLC. All Rights Reserved.