org.fedoracommons.funapi
Class UnapiObject
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnapiObject
public UnapiObject(java.lang.String redirectUrl)
UnapiObject
public UnapiObject(java.io.InputStream is,
java.lang.String contentType)
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.