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