Back to Fresco

TailAppendingInputStream

docs/javadoc/reference/com/facebook/common/streams/TailAppendingInputStream.html

3.6.012.2 KB
Original Source

Fresco

|

|

Packages | Classes

Classes

Packages | Classes

Summary: Inherited Fields | Ctors | Methods | Inherited Methods | [Expand All]

public class

TailAppendingInputStream

extends FilterInputStream

| java.lang.Object | | ↳ | java.io.InputStream | | | ↳ | java.io.FilterInputStream | | | | ↳ | com.facebook.common.streams.TailAppendingInputStream |

Class Overview

InputStream that returns all bytes from another stream, then appends the specified 'tail' bytes.

Summary

| [Expand] Inherited Fields | | --- | | From class java.io.FilterInputStream

| protected InputStream | in | |

|

Public Constructors
Public Methods
void
int
int
int
void

| [Expand] Inherited Methods | | --- | | From class java.io.FilterInputStream

| int | available() | | void | close() | | synchronized void | mark(int arg0) | | boolean | markSupported() | | int | read() | | int | read(byte[] arg0, int arg1, int arg2) | | int | read(byte[] arg0) | | synchronized void | reset() | | long | skip(long arg0) |

| | From class java.io.InputStream

| int | available() | | void | close() | | synchronized void | mark(int arg0) | | boolean | markSupported() | | abstract int | read() | | int | read(byte[] arg0, int arg1, int arg2) | | int | read(byte[] arg0) | | synchronized void | reset() | | long | skip(long arg0) |

| | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

| | From interface java.io.Closeable

| abstract void | close() |

| | From interface java.lang.AutoCloseable

| abstract void | close() |

|

Public Constructors

public TailAppendingInputStream(InputStream inputStream, byte[] tail)

Public Methods

public void mark(int readLimit)

public int read()

Throws

| IOException | |

public int read(byte[] buffer, int offset, int count)

Throws

| IOException | |

public int read(byte[] buffer)

Throws

| IOException | |

public void reset()

Throws

| IOException | |

+Generated by Doclava. +