| Revision | 2272 (tree) |
|---|---|
| Time | 2021-07-28 18:59:23 |
| Author | t_nakayama1971 |
(empty log message)
| @@ -0,0 +1,29 @@ | ||
| 1 | +package core.file; | |
| 2 | + | |
| 3 | +import java.io.FilterInputStream; | |
| 4 | +import java.io.InputStream; | |
| 5 | + | |
| 6 | +/** | |
| 7 | + * NoCloseInputStream | |
| 8 | + * | |
| 9 | + * @author Tadashi Nakayama | |
| 10 | + */ | |
| 11 | +public class NoCloseInputStream extends FilterInputStream { | |
| 12 | + | |
| 13 | + /** | |
| 14 | + * コンストラクタ | |
| 15 | + * | |
| 16 | + * @param val InputStream | |
| 17 | + */ | |
| 18 | + public NoCloseInputStream(final InputStream val) { | |
| 19 | + super(val); | |
| 20 | + } | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * @see java.io.FilterInputStream#close() | |
| 24 | + */ | |
| 25 | + @Override | |
| 26 | + public void close() { | |
| 27 | + return; | |
| 28 | + } | |
| 29 | +} |