public enum EndpointType extends Enum<EndpointType>
| Enum Constant and Description |
|---|
NativeStore |
Other |
RemoteRepository |
SparqlEndpoint |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSupportedFormat(String format)
returns true if the given format is supported by some repository type.
|
boolean |
supportsFormat(String format)
Returns true if the endpoint type supports the given format (e.g.
|
static EndpointType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndpointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndpointType NativeStore
public static final EndpointType SparqlEndpoint
public static final EndpointType RemoteRepository
public static final EndpointType Other
public static EndpointType[] values()
for (EndpointType c : EndpointType.values()) System.out.println(c);
public static EndpointType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean supportsFormat(String format)
format - public static boolean isSupportedFormat(String format)
format - Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.