|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
net.sf.freecol.client.gui.FAFile.CREatingInputStream
private static class FAFile.CREatingInputStream
This utility class removes all CR:s from an InputStream.
It is not particularly efficient and is intended as a temporary
workaround.
| Field Summary | |
|---|---|
private java.io.InputStream |
in
|
| Constructor Summary | |
|---|---|
FAFile.CREatingInputStream(java.io.InputStream in)
Constructor. |
|
| Method Summary | |
|---|---|
int |
read()
Read a character, override to eat all CR:s. |
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.io.InputStream in
| Constructor Detail |
|---|
FAFile.CREatingInputStream(java.io.InputStream in)
in - The input stream to wrap.| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - if wrapped stream throws it.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||