org.fedoracommons.funapi
Class UnapiObject

java.lang.Object
  extended by org.fedoracommons.funapi.UnapiObject

public class UnapiObject
extends java.lang.Object

Wrapper object that contains either a redirectUrl or InputStream.

Since:
0.1
Version:
$Id: UnapiObject.java 33 2008-10-25 19:31:36Z pangloss $
Author:
Edwin Shin

Constructor Summary
UnapiObject(java.io.InputStream is, java.lang.String contentType)
           
UnapiObject(java.lang.String redirectUrl)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getRedirectUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnapiObject

public UnapiObject(java.lang.String redirectUrl)

UnapiObject

public UnapiObject(java.io.InputStream is,
                   java.lang.String contentType)
Method Detail

getRedirectUrl

public java.lang.String getRedirectUrl()

getInputStream

public java.io.InputStream getInputStream()

getContentType

public java.lang.String getContentType()


Copyright © 2008 Fedora Commons, Inc.. All Rights Reserved.