public class PredicateArgument extends Object implements EncodingArgument
| Constructor and Description |
|---|
PredicateArgument(ArgType argType,
String argument,
Predicate<EncodingAttributes> predicate) |
PredicateArgument(ArgType argType,
String argument1,
String argument2,
Predicate<EncodingAttributes> predicate) |
| Modifier and Type | Method and Description |
|---|---|
ArgType |
getArgType() |
Stream<String> |
getArguments(EncodingAttributes context)
Gets the Stream of arguments given the EncodingAttributes as context.
|
public PredicateArgument(ArgType argType, String argument, Predicate<EncodingAttributes> predicate)
public PredicateArgument(ArgType argType, String argument1, String argument2, Predicate<EncodingAttributes> predicate)
public Stream<String> getArguments(EncodingAttributes context)
EncodingArgumentgetArguments in interface EncodingArgumentcontext - The EncodingAttributes specified by the user. Use this in your closure to
generate the arguments you'd like to pass to ffmpeg.public ArgType getArgType()
getArgType in interface EncodingArgumentCopyright © 2020. All rights reserved.