Class MemoryAsset

java.lang.Object
org.jboss.shrinkwrap.api.nio.file.MemoryAsset
All Implemented Interfaces:
Closeable, AutoCloseable, ByteChannel, Channel, ReadableByteChannel, SeekableByteChannel, WritableByteChannel, Asset
Direct Known Subclasses:
MemoryNamedAsset

public class MemoryAsset extends Object implements Asset, SeekableByteChannel
An Asset implementation backed by an internal memory representation; able to be directly added to an Archive, and supports all operations designated by the NIO.2 SeekableByteChannel API. Thread-safe.