Package com.aowagie.text.pdf
Class AcroFields.RevisionStream
- java.lang.Object
-
- java.io.InputStream
-
- com.aowagie.text.pdf.AcroFields.RevisionStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- AcroFields
private static class AcroFields.RevisionStream extends java.io.InputStream
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
b
private boolean
closed
private int
length
private RandomAccessFileOrArray
raf
private int
rangePosition
-
Constructor Summary
Constructors Modifier Constructor Description private
RevisionStream(RandomAccessFileOrArray raf, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read()
int
read(byte[] b, int off, int len)
-
-
-
Field Detail
-
b
private final byte[] b
-
raf
private final RandomAccessFileOrArray raf
-
length
private final int length
-
rangePosition
private int rangePosition
-
closed
private boolean closed
-
-
Constructor Detail
-
RevisionStream
private RevisionStream(RandomAccessFileOrArray raf, int length)
-
-
Method Detail
-
read
public int read() throws java.io.IOException
- Specified by:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.InputStream
- Throws:
java.io.IOException
-
-