public class DataGeneratorInputStream extends InputStream
| Constructor and Description |
|---|
DataGeneratorInputStream(long length) |
DataGeneratorInputStream(long length,
long totalMilliSec) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
mark(int threshold) |
int |
read() |
void |
reset() |
void |
resetToBeginning() |
available, markSupported, read, read, skippublic DataGeneratorInputStream(long length)
public DataGeneratorInputStream(long length,
long totalMilliSec)
public void mark(int threshold)
mark in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void reset()
reset in class InputStreampublic void resetToBeginning()
Copyright © 2008–2016. All rights reserved.