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

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

public class MockFileCacheStreamProvider
extends Object
implements com.atlassian.plugin.cache.filecache.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 com.atlassian.plugin.servlet.DownloadException
Specified by:
writeStream in interface com.atlassian.plugin.cache.filecache.FileCacheStreamProvider
Throws:
com.atlassian.plugin.servlet.DownloadException


Copyright © 2013 Atlassian. All Rights Reserved.