| Package | Description |
|---|---|
| org.opencastproject.util |
Utility classes for dealing with media packages, collections, URLs, files, and streams.
|
| org.opencastproject.util.data | |
| org.opencastproject.util.data.functions |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
IoSupport.withFile(File file,
Effect2<OutputStream,File> e)
Handle a stream inside
e and ensure that s gets closed properly. |
| Modifier and Type | Class and Description |
|---|---|
static class |
Effect2.X<A,B>
Version of
Effect0 that allows for throwing a checked exception. |
| Modifier and Type | Method and Description |
|---|---|
Effect2<A,B> |
Function2.toEffect()
Turn this function into an effect by discarding its result.
|
| Modifier and Type | Method and Description |
|---|---|
static <A,B,C> Effect2<A,B> |
Functions.toEffect(Function2<? super A,? super B,? extends C> f)
Turn a function of arity 2 into an effect by discarding its result.
|
Copyright © 2009–2020 Opencast Project. All rights reserved.