Class InMemoryByteStorageFactory
- java.lang.Object
-
- com.android.tools.build.apkzlib.bytestorage.InMemoryByteStorageFactory
-
- All Implemented Interfaces:
ByteStorageFactory
public class InMemoryByteStorageFactory extends java.lang.Object implements ByteStorageFactory
ByteStorageFactorythat createsByteStorageinstances that keep all data in memory.
-
-
Constructor Summary
Constructors Constructor Description InMemoryByteStorageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteStoragecreate()Creates a new storage.
-
-
-
Method Detail
-
create
public ByteStorage create() throws java.io.IOException
Description copied from interface:ByteStorageFactoryCreates a new storage.- Specified by:
createin interfaceByteStorageFactory- Returns:
- a storage that should be closed when no longer used.
- Throws:
java.io.IOException
-
-