Package io.quarkus.runtime.configuration
Class NameIterator
java.lang.Object
io.quarkus.runtime.configuration.NameIterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConfiguration key maximum allowed length. -
Constructor Summary
ConstructorsConstructorDescriptionNameIterator(String name) NameIterator(String name, boolean startAtEnd) NameIterator(String name, int pos) -
Method Summary
Modifier and TypeMethodDescriptiongetAllPreviousSegmentsWith(String suffix) getName()intintGet the cursor position.intvoidgoToEnd()voidbooleanhasNext()booleanvoidnext()booleannextSegmentEquals(String other) booleannextSegmentEquals(String other, int offs, int len) voidprevious()booleanpreviousSegmentEquals(String other) booleanpreviousSegmentEquals(String other, int offs, int len) toString()
-
Field Details
-
MAX_LENGTH
public static final int MAX_LENGTHConfiguration key maximum allowed length.- See Also:
-
-
Constructor Details
-
NameIterator
-
NameIterator
-
NameIterator
-
-
Method Details
-
goToEnd
public void goToEnd() -
goToStart
public void goToStart() -
getPosition
public int getPosition()Get the cursor position. It will be-1if the cursor is at the beginning of the string, orname.length()if it is at the end.- Returns:
- the cursor position
-
getPreviousStart
public int getPreviousStart() -
getNextEnd
public int getNextEnd() -
nextSegmentEquals
-
nextSegmentEquals
-
getNextSegment
-
previousSegmentEquals
-
previousSegmentEquals
-
getPreviousSegment
-
getAllPreviousSegments
-
getAllPreviousSegmentsWith
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious() -
next
public void next() -
previous
public void previous() -
getName
-
toString
-