public class FilePathSupplier extends java.lang.Object implements BatchSupplier<java.lang.String>
| Constructor and Description |
|---|
FilePathSupplier(long seed,
int width,
int depth) |
FilePathSupplier(long seed,
java.lang.String paramsString) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
get() |
int |
get(java.util.List<java.lang.String> buffer,
int limit) |
void |
reset()
Reset this input making this readable from the beginning
|
long |
skip(long count)
Skip some items.
|
public FilePathSupplier(long seed,
java.lang.String paramsString)
public FilePathSupplier(long seed,
int width,
int depth)
public final java.lang.String get()
get in interface java.util.function.Supplier<java.lang.String>public final int get(java.util.List<java.lang.String> buffer,
int limit)
get in interface BatchSupplier<java.lang.String>public final long skip(long count)
BatchSupplierskip in interface BatchSupplier<java.lang.String>count - count of items should be skipped from the input streampublic final void reset()
BatchSupplierreset in interface BatchSupplier<java.lang.String>public final void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable