com.atlassian.plugin.cache.filecache.impl
Class MockFileCacheStreamProvider

java.lang.Object
  extended by com.atlassian.plugin.cache.filecache.impl.MockFileCacheStreamProvider
All Implemented Interfaces:
FileCacheStreamProvider

public class MockFileCacheStreamProvider
extends Object
implements FileCacheStreamProvider


Constructor Summary
MockFileCacheStreamProvider(String contents)
           
MockFileCacheStreamProvider(String contents, RuntimeException re)
           
 
Method Summary
 void writeStream(OutputStream dest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockFileCacheStreamProvider

public MockFileCacheStreamProvider(String contents)

MockFileCacheStreamProvider

public MockFileCacheStreamProvider(String contents,
                                   RuntimeException re)
Method Detail

writeStream

public void writeStream(OutputStream dest)
                 throws DownloadException
Specified by:
writeStream in interface FileCacheStreamProvider
Throws:
DownloadException


Copyright © 2013 Atlassian. All Rights Reserved.