public interface Fqn
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Fqn.Builder
Builder interface for the Fqn.
|
| Modifier and Type | Method and Description |
|---|---|
static Fqn |
empty() |
static Fqn.Builder |
from(Fqn fqn)
Start building a Fqn from another name.
|
static Fqn.Builder |
fromSegment(String segment)
Start building a Fqn from an initial segment.
|
Fqn |
head(int toIndex) |
static Fqn.Builder |
newBuilder() |
static Fqn |
of(ReaderCursor c)
Create a fully qualified name from a ReaderCursor.
|
static Fqn |
of(String fqn)
Create a new Fully Qualified Name from a String.
|
static Fqn |
ofSegment(String segment) |
String |
segment(int i) |
int |
size() |
boolean |
startsWith(Fqn other) |
Fqn |
tail(int size) |
Fqn |
tailFrom(int fromIndex) |
static Fqn empty()
static Fqn of(ReaderCursor c)
static Fqn of(String fqn)
static Fqn.Builder fromSegment(String segment)
static Fqn.Builder from(Fqn fqn)
static Fqn.Builder newBuilder()
int size()
String segment(int i)
Fqn head(int toIndex)
toIndex - the number of segments to return.IndexOutOfBoundsException - if toIndex > than size.Fqn tail(int size)
size - the number of segments to return.IndexOutOfBoundsException - if size > than fqn size.Fqn tailFrom(int fromIndex)
fromIndex - the index of the starting segment.IndexOutOfBoundsException - if fromIndex > than size.boolean startsWith(Fqn other)
Copyright © 2015. All rights reserved.