java.lang.Object
org.proto4j.swing.annotation.Option.Query
- All Implemented Interfaces:
java.util.function.Supplier<java.lang.String>
- Enclosing class:
- Option
public static final class Option.Query
extends java.lang.Object
implements java.util.function.Supplier<java.lang.String>
A class interpreting an option string and returning a qualified
String
as a result.- Since:
- 1.1.0
- See Also:
Option
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Query(java.lang.String data, java.lang.Object component)
Creates a newOption.Query
object and tries to parse the given query string. -
Method Summary
-
Field Details
-
indicator
public static final char indicatorThe query string indicator, which is currently defined to be@
.- Since:
- 1.1.0
- See Also:
- Constant Field Values
-
separator
public static final char separatorThe currently defined query separator that marks the start for the query argument.- Since:
- 1.1.0
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Query
public Query(java.lang.String data, java.lang.Object component)Creates a newOption.Query
object and tries to parse the given query string.- Parameters:
data
- the statement to parsecomponent
- the referenced component
-
-
Method Details