| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ReadableByteChannel | |
|---|---|
| java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. | 
| java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). | 
| Uses of ReadableByteChannel in java.nio.channels | 
|---|
| Subinterfaces of ReadableByteChannel in java.nio.channels | |
|---|---|
|  interface | ByteChannelA channel that can read and write bytes. | 
|  interface | ScatteringByteChannelA channel that can read bytes into a sequence of buffers. | 
| Classes in java.nio.channels that implement ReadableByteChannel | |
|---|---|
|  class | DatagramChannelA selectable channel for datagram-oriented sockets. | 
|  class | FileChannelA channel for reading, writing, mapping, and manipulating a file. | 
| static class | Pipe.SourceChannelA channel representing the readable end of a Pipe. | 
|  class | SocketChannelA selectable channel for stream-oriented connecting sockets. | 
| Methods in java.nio.channels that return ReadableByteChannel | |
|---|---|
| static ReadableByteChannel | Channels.newChannel(InputStream in)Constructs a channel that reads bytes from the given stream. | 
| Methods in java.nio.channels with parameters of type ReadableByteChannel | |
|---|---|
| static InputStream | Channels.newInputStream(ReadableByteChannel ch)Constructs a stream that reads bytes from the given channel. | 
| static Reader | Channels.newReader(ReadableByteChannel ch,
          CharsetDecoder dec,
          int minBufferCap)Constructs a reader that decodes bytes from the given channel using the given decoder. | 
| static Reader | Channels.newReader(ReadableByteChannel ch,
          String csName)Constructs a reader that decodes bytes from the given channel according to the named charset. | 
| abstract  long | FileChannel.transferFrom(ReadableByteChannel src,
             long position,
             long count)Transfers bytes into this channel's file from the given readable byte channel. | 
| Uses of ReadableByteChannel in java.util | 
|---|
| Constructors in java.util with parameters of type ReadableByteChannel | |
|---|---|
| Scanner(ReadableByteChannel source)Constructs a new Scannerthat produces values scanned
 from the specified channel. | |
| Scanner(ReadableByteChannel source,
        String charsetName)Constructs a new Scannerthat produces values scanned
 from the specified channel. | |
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.