public class IndexNameFunction extends Object implements org.apache.camel.component.properties.PropertiesFunction
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_INDEX_DATE_FORMAT  | 
| Constructor and Description | 
|---|
IndexNameFunction()  | 
IndexNameFunction(String dateFormat)  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
apply(SimpleDateFormat df,
     String remainder,
     Date date)  | 
String | 
apply(String remainder)  | 
String | 
apply(String remainder,
     Date date)  | 
String | 
getName()  | 
public static final String DEFAULT_INDEX_DATE_FORMAT
public IndexNameFunction()
public IndexNameFunction(String dateFormat)
public String getName()
getName in interface org.apache.camel.component.properties.PropertiesFunctionpublic String apply(String remainder)
apply in interface org.apache.camel.component.properties.PropertiesFunctionpublic static String apply(SimpleDateFormat df, String remainder, Date date)
Copyright © 2021. All rights reserved.