gnu.java.net.protocol.core

Class CoreInputStream

Implemented Interfaces:
Closeable

public class CoreInputStream
extends InputStream

Field Summary

protected int
count
protected int
mark
protected int
pos
protected RawData
ptr

Constructor Summary

CoreInputStream(Core core)

Method Summary

int
available()
void
mark(int readAheadLimit)
boolean
markSupported()
int
read()
int
read(byte[] b, int off, int len)
void
reset()
long
skip(long n)

Methods inherited from class java.io.InputStream

available, close, mark, markSupported, read, read, read, reset, skip

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

count

protected int count

mark

protected int mark

pos

protected int pos

ptr

protected RawData ptr

Constructor Details

CoreInputStream

public CoreInputStream(Core core)

Method Details

available

public int available()
Overrides:
available in interface InputStream

mark

public void mark(int readAheadLimit)
Overrides:
mark in interface InputStream

markSupported

public boolean markSupported()
Overrides:
markSupported in interface InputStream

read

public int read()
Overrides:
read in interface InputStream

read

public int read(byte[] b,
                int off,
                int len)
Overrides:
read in interface InputStream

reset

public void reset()
Overrides:
reset in interface InputStream

skip

public long skip(long n)
Overrides:
skip in interface InputStream

Copyright (C) 2001 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details.