Package org.openrewrite.properties.tree
Class Properties.Entry
java.lang.Object
org.openrewrite.properties.tree.Properties.Entry
- All Implemented Interfaces:
Properties,Properties.Content,org.openrewrite.Tree
- Enclosing interface:
Properties
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.openrewrite.properties.tree.Properties
Properties.Comment, Properties.Content, Properties.Continuation, Properties.Entry, Properties.File, Properties.Value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P> PropertiesacceptProperties(PropertiesVisitor<P> v, P p) getKey()Automatically, removes continuations from the text.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.properties.tree.Properties
accept, getPrefix, isAcceptable, withPrefixMethods inherited from interface org.openrewrite.Tree
cast, getId, getMarkers, isScope, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed, withId, withMarkers
-
Constructor Details
-
Entry
public Entry()
-
-
Method Details
-
getKey
Automatically, removes continuations from the text.- Returns:
- the text value without continuations.
-
getKeySource
- Returns:
- the text with continuations.
-
getDelimiter
-
acceptProperties
- Specified by:
acceptPropertiesin interfaceProperties
-