Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyStringReplacerDecoratorReader ¶
type KeyStringReplacerDecoratorReader struct { Reader reader.Reader OldString string NewString string }
KeyStringReplacerDecoratorReader a decorator that perfoms string substitution in a property value
type PlaceholderReplacerDecoratorReader ¶
type PlaceholderReplacerDecoratorReader struct { Reader reader.Reader StartDelimiter string EndDelimiter string DefaultValueSeparator string IgnoreUnresolvablePlaceholders bool }
PlaceholderReplacerDecoratorReader a decorator that resolves property placeholders
type PriorityQueueDecoratorReader ¶
PriorityQueueDecoratorReader A Reader that wraps a prioritized list of other Readers. Each Reader in the list has a priority that is used to resolve conflicts when a key is defined more than once. If two or more Readers have the same priority, the one added by last has the highest priority
func NewPriorityQueueDecoratorReader ¶
func NewPriorityQueueDecoratorReader() *PriorityQueueDecoratorReader
NewPriorityQueueDecoratorReader creats a new PriorityQueueDecoratorReader instance
func (*PriorityQueueDecoratorReader) Add ¶
func (f *PriorityQueueDecoratorReader) Add(newReader reader.Reader, priority int) *PriorityQueueDecoratorReader
Add adds a new Reader
type ToLowerCaseKeyDecoratorReader ¶
ToLowerCaseKeyDecoratorReader transforms all property keys to lowercase