org.eclipse.gemini.blueprint.test.internal.util.jar.storage
Class MemoryStorage

java.lang.Object
  extended by org.eclipse.gemini.blueprint.test.internal.util.jar.storage.MemoryStorage
All Implemented Interfaces:
Storage

public class MemoryStorage
extends Object
implements Storage

Memory based storage. This class writes the information to a byte array.

Author:
Costin Leau

Constructor Summary
MemoryStorage()
           
 
Method Summary
 void dispose()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 org.springframework.core.io.Resource getResource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryStorage

public MemoryStorage()
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface Storage

getInputStream

public InputStream getInputStream()
Specified by:
getInputStream in interface Storage

getOutputStream

public OutputStream getOutputStream()
Specified by:
getOutputStream in interface Storage

getResource

public org.springframework.core.io.Resource getResource()
Specified by:
getResource in interface Storage


Copyright © 2006-2012. All Rights Reserved.