public class YamlFileResourceOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
YamlFileResourceOptions.Builder |
| Modifier | Constructor and Description |
|---|---|
protected |
YamlFileResourceOptions(Charset charset,
ToIntFunction<PropertyPathTraverser.PathElement> numberOfLinesBeforeFunction)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static YamlFileResourceOptions.Builder |
builder() |
Charset |
getCharset() |
protected ToIntFunction<PropertyPathTraverser.PathElement> |
getIndentFunction() |
int |
getNumberOfEmptyLinesBefore(PropertyPathTraverser.PathElement pathElement) |
protected YamlFileResourceOptions(@Nullable Charset charset, @Nullable ToIntFunction<PropertyPathTraverser.PathElement> numberOfLinesBeforeFunction)
builder() to instantiate option objects.charset - the charsetnumberOfLinesBeforeFunction - function defining how many lines before a path element should be in the exportpublic static YamlFileResourceOptions.Builder builder()
public Charset getCharset()
public int getNumberOfEmptyLinesBefore(PropertyPathTraverser.PathElement pathElement)
@Nullable protected final ToIntFunction<PropertyPathTraverser.PathElement> getIndentFunction()
Copyright © 2016–2019 The AuthMe Team. All rights reserved.