Package net.sf.freecol.common.resources
Class FAFile.CREatingInputStream
- java.lang.Object
-
- java.io.InputStream
-
- net.sf.freecol.common.resources.FAFile.CREatingInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- FAFile
private static class FAFile.CREatingInputStream extends java.io.InputStream
This utility class removes all CR:s from anInputStream
. It is not particularly efficient and is intended as a temporary workaround.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.InputStream
in
-
Constructor Summary
Constructors Constructor Description CREatingInputStream(java.io.InputStream in)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
Read a character, override to eat all CR:s.
-