public final class NullInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
static NullInputStream |
INSTANCE
singleton reference
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
return 0
|
int |
read()
return -1
|
close, mark, markSupported, read, read, reset, skippublic static final NullInputStream INSTANCE
public int read()
read in class InputStreampublic int available()
available in class InputStreamCopyright © 2022 vpc open source initiative. All rights reserved.