twitter4j.media
Class ImageUploaderFactory

java.lang.Object
  extended by twitter4j.media.ImageUploaderFactory

public final class ImageUploaderFactory
extends java.lang.Object

Since:
Twitter4J 2.1.8
Author:
Yusuke Yamamoto - yusuke at mac.com

Constructor Summary
ImageUploaderFactory()
          Creates an ImageUploaderFactory with default configuration
ImageUploaderFactory(Configuration conf)
          Creates an ImageUploaderFactory with the specified configuration
 
Method Summary
 ImageUpload getInstance()
          Returns an ImageUploader instance associated with the default media provider
 ImageUpload getInstance(MediaProvider mediaProvider)
          Returns an ImageUploader instance associated with the specified media provider
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageUploaderFactory

public ImageUploaderFactory()
Creates an ImageUploaderFactory with default configuration


ImageUploaderFactory

public ImageUploaderFactory(Configuration conf)
Creates an ImageUploaderFactory with the specified configuration

Method Detail

getInstance

public ImageUpload getInstance()
Returns an ImageUploader instance associated with the default media provider

Returns:
ImageUploader

getInstance

public ImageUpload getInstance(MediaProvider mediaProvider)
Returns an ImageUploader instance associated with the specified media provider

Parameters:
mediaProvider - media provider
Returns:
ImageUploader


Copyright © 2011. All Rights Reserved.