Constructor and Description |
---|
EMFUri(org.eclipse.emf.common.util.URI uri)
Create a new uri
|
Modifier and Type | Method and Description |
---|---|
URI |
createURI(java.lang.String s)
Create a new uri
|
boolean |
hasQuery() |
boolean |
isPlatformPlugin() |
@Nullable java.lang.String |
lastSegment() |
@Nullable java.lang.String |
query() |
@Nullable java.lang.String |
segment(int i)
Get the segment at the specified index
|
int |
segmentCount() |
java.lang.String |
toString() |
public EMFUri(org.eclipse.emf.common.util.URI uri)
uri
- the uripublic boolean isPlatformPlugin()
isPlatformPlugin
in interface URI
true
if it is a plug-in URI (platform:/plugin/....)public @Nullable java.lang.String segment(int i)
URI
public int segmentCount()
segmentCount
in interface URI
public @Nullable java.lang.String query()
public @Nullable java.lang.String lastSegment()
lastSegment
in interface URI
public boolean hasQuery()
public URI createURI(java.lang.String s)
URI
public java.lang.String toString()
toString
in class java.lang.Object