@NotThreadSafe public final class PointValuesLoaderInput extends Object implements PointValuesLoader.Input
Helper class for scripts: it produces PointValues for a
PointValuesLoader from the XML text of a Reader.
| Constructor and Description |
|---|
PointValuesLoaderInput(Reader reader)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the input.
|
Optional<DateTime> |
getFirstVersion()
Gets the first version.
|
Optional<DateTime> |
getLastVersion()
Gets the last version.
|
Optional<PointValue> |
input()
Inputs a point value.
|
public PointValuesLoaderInput(@Nonnull
Reader reader)
reader - A reader for the XML text.public void close()
@Nonnull @CheckReturnValue public Optional<DateTime> getFirstVersion()
@Nonnull @CheckReturnValue public Optional<DateTime> getLastVersion()
public Optional<PointValue> input() throws Exception
input in interface PointValuesLoader.InputException - When appropriate.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.