public enum RDFNotation extends Enum<RDFNotation>
Enum Constant and Description |
---|
DIR
Directory with RDF content
|
JSONLD
JSON-LD
|
LIST
List of URIs with RDF content in other RDF Formats
|
N3
Notation 3 notation
|
NQUAD
NQuads
|
NTRIPLES
N-TRIPLES notation
|
RAR
RAR Package with multiple files in other RDF Formats
|
RDFXML
XML notation
|
TAR
Tar Package with multiple files in other RDF Formats
|
TURTLE
TURTLE notation
|
ZIP
ZIP Package with multiple files in other RDF Formats
|
Modifier and Type | Method and Description |
---|---|
static RDFNotation |
guess(File fileName) |
static RDFNotation |
guess(String fileName) |
static RDFNotation |
parse(String str) |
static RDFNotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RDFNotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RDFNotation RDFXML
public static final RDFNotation NTRIPLES
public static final RDFNotation TURTLE
public static final RDFNotation N3
public static final RDFNotation TAR
public static final RDFNotation RAR
public static final RDFNotation ZIP
public static final RDFNotation NQUAD
public static final RDFNotation JSONLD
public static final RDFNotation LIST
public static final RDFNotation DIR
public static RDFNotation[] values()
for (RDFNotation c : RDFNotation.values()) System.out.println(c);
public static RDFNotation 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 static RDFNotation parse(String str)
public static RDFNotation guess(String fileName) throws IllegalArgumentException
IllegalArgumentException
public static RDFNotation guess(File fileName) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2020 DataWeb Research. All rights reserved.