public static enum RDFCompressedFormat.Compression extends Enum<RDFCompressedFormat.Compression>
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
compress(OutputStream theStream) |
InputStream |
decompress(InputStream theStream) |
String |
getExtension() |
static RDFCompressedFormat.Compression |
of(String theValue) |
boolean |
supportsUnknownBaseFormat() |
static RDFCompressedFormat.Compression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RDFCompressedFormat.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RDFCompressedFormat.Compression GZIP
public static final RDFCompressedFormat.Compression BZIP2
public static final RDFCompressedFormat.Compression ZIP
public final String mExt
public static RDFCompressedFormat.Compression[] values()
for (RDFCompressedFormat.Compression c : RDFCompressedFormat.Compression.values()) System.out.println(c);
public static RDFCompressedFormat.Compression 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 String getExtension()
public boolean supportsUnknownBaseFormat()
public InputStream decompress(InputStream theStream) throws IOException
IOExceptionpublic OutputStream compress(OutputStream theStream) throws IOException
IOExceptionpublic static RDFCompressedFormat.Compression of(String theValue)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.