public class WPFilterInputStream extends FilterInputStream
This class is made available as a utility class as other file formats may also use WordPerfect's file structure, e.g. Corel Presentations 3.0 files.
| Modifier and Type | Field and Description |
|---|---|
protected static int[] |
intarry |
in| Constructor and Description |
|---|
WPFilterInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
int |
fillByteArray(InputStream in,
byte[] byteArray)
Fills the supplied byte array with bytes read from the specified
InputStream.
|
int |
read()
Converts all characters to 0 except for the readable ASCII-characters and
characters from special byte sequences.
|
int |
read(byte[] byteArray,
int off,
int len) |
available, close, mark, markSupported, read, reset, skippublic WPFilterInputStream(InputStream in)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] byteArray,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic int fillByteArray(InputStream in, byte[] byteArray) throws IOException
in - The InputStream to read the bytes from.byteArray - The byte array to fill with bytes.IOExceptionCopyright © 2008-2014 Logical Objects. All Rights Reserved.