Package | Description |
---|---|
org.apache.commons.geometry.io.core.internal |
This package contains IO utilities intended for internal use only.
|
Modifier and Type | Method and Description |
---|---|
static <T,I extends InputStream> |
GeometryIOUtils.createCloseableStream(IOFunction<I,Stream<T>> streamFunction,
IOSupplier<? extends I> inputStreamSupplier)
Create a stream associated with an input stream.
|
static <T,C extends Closeable> |
GeometryIOUtils.tryApplyCloseable(IOFunction<C,T> function,
IOSupplier<? extends C> closeableSupplier)
Pass a supplied
Closeable instance to function and return the result. |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.