org.freehep.util.io
Class RunLengthInputStream
java.lang.Object
java.io.InputStream
org.freehep.util.io.DecodingInputStream
org.freehep.util.io.RunLengthInputStream
- All Implemented Interfaces:
- Closeable, RunLength
public class RunLengthInputStream
- extends DecodingInputStream
- implements RunLength
The RunLengthStream decodes Run Length encoding. The exact definition of Run
Length encoding can be found in the PostScript Language Reference (3rd ed.)
chapter 3.13.3. *
- Author:
- Mark Donszelmann
|
Method Summary |
int |
read()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunLengthInputStream
public RunLengthInputStream(InputStream input)
- Create a Run Length input stream
- Parameters:
input - stream to read from
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
Copyright © 2012. All Rights Reserved.