ShrinkWrap NIO.2 API 1.1.1
C F G I M N O P R S T W 

C

close() - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
 
close() - Method in class org.jboss.shrinkwrap.api.nio.file.SeekableInMemoryByteChannel

F

FS_ENV_KEY_ARCHIVE - Static variable in class org.jboss.shrinkwrap.api.nio.file.ShrinkWrapFileSystems
Map key used to store a Archive when creating a new FileSystem via FileSystems.newFileSystem(URI, Map)

G

getName() - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryNamedAsset
getRootUri(Archive<?>) - Static method in class org.jboss.shrinkwrap.api.nio.file.ShrinkWrapFileSystems
Constructs a new URI with the form: shrinkwrap://{archive.getId()}/

I

isOpen() - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
 
isOpen() - Method in class org.jboss.shrinkwrap.api.nio.file.SeekableInMemoryByteChannel

M

MemoryAsset - Class in org.jboss.shrinkwrap.api.nio.file
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.
MemoryAsset() - Constructor for class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
Creates a new instance with internal memory buffer initially sized at 0 and at position 0, capable of holding a maximum of Integer.MAX_VALUE bytes.
MemoryNamedAsset - Class in org.jboss.shrinkwrap.api.nio.file
MemoryAsset implementation complying to the NamedAsset API; thread-safe.
MemoryNamedAsset(String) - Constructor for class org.jboss.shrinkwrap.api.nio.file.MemoryNamedAsset
Sets the name of this MemoryNamedAsset to the specified (required) String name
MemoryNamedAsset(Path) - Constructor for class org.jboss.shrinkwrap.api.nio.file.MemoryNamedAsset
Sets the name of this MemoryNamedAsset via Path.toString() of the specified (required) Path
MemoryNamedAsset(ArchivePath) - Constructor for class org.jboss.shrinkwrap.api.nio.file.MemoryNamedAsset
Sets the name of this MemoryNamedAsset via ArchivePath.get() of the specified (required) ArchivePath

N

newFileSystem(Archive<?>) - Static method in class org.jboss.shrinkwrap.api.nio.file.ShrinkWrapFileSystems
Creates a new file system for the given Archive; in effect invoking this method is equal to invoking FileSystems.newFileSystem(URI, Map), passing the value of getRootUri(Archive) as the URI and the specified archive as a value in a Map under the key FS_ENV_KEY_ARCHIVE

O

openStream() - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
org.jboss.shrinkwrap.api.nio.file - package org.jboss.shrinkwrap.api.nio.file
 

P

position() - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
 
position(long) - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
position() - Method in class org.jboss.shrinkwrap.api.nio.file.SeekableInMemoryByteChannel
position(long) - Method in class org.jboss.shrinkwrap.api.nio.file.SeekableInMemoryByteChannel
PROTOCOL - Static variable in class org.jboss.shrinkwrap.api.nio.file.ShrinkWrapFileSystems
Protocol portion of a URI to ShrinkWrap FileSystems

R

read(ByteBuffer) - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
 
read(ByteBuffer) - Method in class org.jboss.shrinkwrap.api.nio.file.SeekableInMemoryByteChannel

S

SeekableInMemoryByteChannel - Class in org.jboss.shrinkwrap.api.nio.file
SeekableByteChannel implementation backed by an auto-resizing byte array; thread-safe.
SeekableInMemoryByteChannel() - Constructor for class org.jboss.shrinkwrap.api.nio.file.SeekableInMemoryByteChannel
Creates a new instance with 0 size and 0 position, and open.
ShrinkWrapFileSystems - Class in org.jboss.shrinkwrap.api.nio.file
Convenience API bridge to the NIO.2 FileSystems support for ShrinkWrap Archives.
size() - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
size() - Method in class org.jboss.shrinkwrap.api.nio.file.SeekableInMemoryByteChannel

T

truncate(long) - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
truncate(long) - Method in class org.jboss.shrinkwrap.api.nio.file.SeekableInMemoryByteChannel

W

write(ByteBuffer) - Method in class org.jboss.shrinkwrap.api.nio.file.MemoryAsset
 
write(ByteBuffer) - Method in class org.jboss.shrinkwrap.api.nio.file.SeekableInMemoryByteChannel
C F G I M N O P R S T W 
ShrinkWrap NIO.2 API 1.1.1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.