com.aetrion.flickr.uploader
Class UploadMetaData

java.lang.Object
  extended by com.aetrion.flickr.uploader.UploadMetaData

public class UploadMetaData
extends java.lang.Object

Metadata that describe a photo.

Version:
$Id: UploadMetaData.java,v 1.7 2007/11/02 21:46:52 x-mago Exp $
Author:
Anthony Eden

Constructor Summary
UploadMetaData()
           
 
Method Summary
 java.lang.String getContentType()
          Get the Content-type of the Photo.
 java.lang.String getDescription()
           
 java.lang.String getSafetyLevel()
          Get the safety-level.
 java.util.Collection getTags()
           
 java.lang.String getTitle()
           
 boolean isAsync()
           
 boolean isFamilyFlag()
           
 boolean isFriendFlag()
           
 java.lang.Boolean isHidden()
           
 boolean isPublicFlag()
           
 void setAsync(boolean async)
          Switch the Uploader behaviour - sychronous or asyncrounous.
 void setContentType(java.lang.String contentType)
          Set the Content-type of the Photo.
 void setDescription(java.lang.String description)
           
 void setFamilyFlag(boolean familyFlag)
           
 void setFriendFlag(boolean friendFlag)
           
 void setHidden(java.lang.Boolean hidden)
           
 void setPublicFlag(boolean publicFlag)
           
 void setSafetyLevel(java.lang.String safetyLevel)
          Set the safety level (adultness) of a photo.
 void setTags(java.util.Collection tags)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadMetaData

public UploadMetaData()
Method Detail

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getTags

public java.util.Collection getTags()

setTags

public void setTags(java.util.Collection tags)

isPublicFlag

public boolean isPublicFlag()

setPublicFlag

public void setPublicFlag(boolean publicFlag)

isFriendFlag

public boolean isFriendFlag()

setFriendFlag

public void setFriendFlag(boolean friendFlag)

isFamilyFlag

public boolean isFamilyFlag()

setFamilyFlag

public void setFamilyFlag(boolean familyFlag)

getContentType

public java.lang.String getContentType()
Get the Content-type of the Photo.

Returns:
contentType
See Also:
Flickr.CONTENTTYPE_OTHER, Flickr.CONTENTTYPE_PHOTO, Flickr.CONTENTTYPE_SCREENSHOT

setContentType

public void setContentType(java.lang.String contentType)
Set the Content-type of the Photo.

Parameters:
contentType -
See Also:
Flickr.CONTENTTYPE_OTHER, Flickr.CONTENTTYPE_PHOTO, Flickr.CONTENTTYPE_SCREENSHOT

isHidden

public java.lang.Boolean isHidden()

setHidden

public void setHidden(java.lang.Boolean hidden)

getSafetyLevel

public java.lang.String getSafetyLevel()
Get the safety-level.

Returns:
The safety-level
See Also:
Flickr.SAFETYLEVEL_MODERATE, Flickr.SAFETYLEVEL_RESTRICTED, Flickr.SAFETYLEVEL_SAFE

setSafetyLevel

public void setSafetyLevel(java.lang.String safetyLevel)
Set the safety level (adultness) of a photo.

Parameters:
safetyLevel -
See Also:
Flickr.SAFETYLEVEL_MODERATE, Flickr.SAFETYLEVEL_RESTRICTED, Flickr.SAFETYLEVEL_SAFE

isAsync

public boolean isAsync()

setAsync

public void setAsync(boolean async)
Switch the Uploader behaviour - sychronous or asyncrounous.

The default is sychronous.

Parameters:
async - boolean


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