Searched refs:ReadableByteChannel (Results 1 - 12 of 12) sorted by relevance

/dalvik/libcore/nio/src/main/java/java/nio/channels/
H A DByteChannel.java25 * @see ReadableByteChannel
28 public interface ByteChannel extends ReadableByteChannel, WritableByteChannel {
H A DReadableByteChannel.java23 * A {@code ReadableByteChannel} is a type of {@link Channel} that can read
26 * Read operations are synchronous on a {@code ReadableByteChannel}, that is,
31 public interface ReadableByteChannel extends Channel { interface in inherits:Channel
H A DScatteringByteChannel.java27 public interface ScatteringByteChannel extends ReadableByteChannel {
H A DPipe.java62 AbstractSelectableChannel implements ReadableByteChannel,
H A DChannels.java62 public static InputStream newInputStream(ReadableByteChannel channel) {
99 public static ReadableByteChannel newChannel(InputStream inputStream) {
133 public static Reader newReader(ReadableByteChannel channel,
151 public static Reader newReader(ReadableByteChannel channel,
207 protected ReadableByteChannel channel;
209 public ChannelInputStream(ReadableByteChannel aChannel) {
232 * Wrapper class used for newInputStream(ReadableByteChannel channel)
237 public ReadableByteChannelInputStream(ReadableByteChannel aChannel) {
262 * Wrapper class used for newReader(ReadableByteChannel channel,
267 public ReaderInputStream(ReadableByteChannel aChanne
[all...]
H A DFileChannel.java505 public abstract long transferFrom(ReadableByteChannel src, long position,
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
H A DReadOnlyFileChannel.java33 import java.nio.channels.ReadableByteChannel;
74 public final long transferFrom(ReadableByteChannel src, long position,
H A DFileChannelImpl.java37 import java.nio.channels.ReadableByteChannel;
397 public long transferFrom(ReadableByteChannel src, long position, long count)
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DChannelsTest.java38 import java.nio.channels.ReadableByteChannel;
130 ReadableByteChannel rbChannel = Channels.newChannel(this.fins);
152 ReadableByteChannel rbChannel = Channels.newChannel(this.fins);
190 ReadableByteChannel rbChannel = Channels.newChannel(this.fins);
316 args = {java.nio.channels.ReadableByteChannel.class}
322 ReadableByteChannel readbc = this.fins.getChannel();
348 args = {java.nio.channels.ReadableByteChannel.class}
354 ReadableByteChannel readbc = this.fins.getChannel();
505 args = {java.nio.channels.ReadableByteChannel.class, java.nio.charset.CharsetDecoder.class, int.class}
510 ReadableByteChannel rbChanne
[all...]
H A DFileChannelTest.java46 import java.nio.channels.ReadableByteChannel;
105 private ReadableByteChannel readByteChannel;
3773 * @tests java.nio.channels.FileChannel#transferFrom(ReadableByteChannel,long,long)
3779 args = {java.nio.channels.ReadableByteChannel.class, long.class, long.class}
3818 * @tests java.nio.channels.FileChannel#transferFrom(ReadableByteChannel,long,long)
3824 args = {java.nio.channels.ReadableByteChannel.class, long.class, long.class}
3862 * @tests java.nio.channels.FileChannel#transferFrom(ReadableByteChannel,long,long)
3868 args = {java.nio.channels.ReadableByteChannel.class, long.class, long.class}
3889 * @tests java.nio.channels.FileChannel#transferFrom(ReadableByteChannel,long,long)
3895 args = {java.nio.channels.ReadableByteChannel
[all...]
/dalvik/libcore/luni/src/main/java/java/util/
H A DScanner.java31 import java.nio.channels.ReadableByteChannel;
267 * Creates a {@code Scanner} with the specified {@code ReadableByteChannel} as
271 * the {@code ReadableByteChannel} to be scanned.
273 public Scanner(ReadableByteChannel src) {
278 * Creates a {@code Scanner} with the specified {@code ReadableByteChannel} as
282 * the {@code ReadableByteChannel} to be scanned.
288 public Scanner(ReadableByteChannel src, String charsetName) {
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DScannerTest.java42 import java.nio.channels.ReadableByteChannel;
294 * @tests java.util.Scanner#Scanner(ReadableByteChannel)
300 args = {java.nio.channels.ReadableByteChannel.class}
311 // Scanner(ReadableByteChannel)
313 s = new Scanner((ReadableByteChannel) null);
323 * @tests java.util.Scanner#Scanner(ReadableByteChannel, String)
329 args = {java.nio.channels.ReadableByteChannel.class, java.lang.String.class}
349 // Scanner(ReadableByteChannel = null, Charset = null)
351 s = new Scanner((ReadableByteChannel) null, null);
357 // Scanner(ReadableByteChannel
[all...]

Completed in 101 milliseconds