public abstract class ConfigurableFilenamePolicy.Builder.ListSegment extends ConfigurableFilenamePolicy.Builder.MetadataSegment
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
separator |
maxlength, raw
Constructor and Description |
---|
ListSegment(String... options) |
Modifier and Type | Method and Description |
---|---|
String |
getContent(IAggregationEntry entry)
Return the (unprocessed) string for this entry.
|
abstract Iterable<String> |
getContentItems(IAggregationEntry entry) |
protected boolean |
handleOption(String option)
Parse the given option.
|
append
protected com.google.common.base.Optional<String> separator
public ListSegment(String... options)
protected boolean handleOption(String option)
ConfigurableFilenamePolicy.Builder.MetadataSegment
handleOption
in class ConfigurableFilenamePolicy.Builder.MetadataSegment
option
- The option. Currently supported strings are
raw
to set the ConfigurableFilenamePolicy.Builder.MetadataSegment.raw
flag or any
positive decimal integer to set the ConfigurableFilenamePolicy.Builder.MetadataSegment.maxlength
option.true
iff the method handled the optionpublic abstract Iterable<String> getContentItems(IAggregationEntry entry)
public String getContent(IAggregationEntry entry)
ConfigurableFilenamePolicy.Builder.MetadataSegment
getContent
in class ConfigurableFilenamePolicy.Builder.MetadataSegment
Copyright © 2018 TextGrid. All rights reserved.