public interface FileFormat
Represents the format of a file or stream, such as XML or JSON.
Modifier and Type | Interface and Description |
---|---|
static class |
FileFormat.Compression |
Modifier and Type | Method and Description |
---|---|
default Charset |
charset()
The charset used by the format
|
String |
defaultExtension()
Return the default file extension for this format
|
String |
defaultMimeType()
Return the default mimetype for this format
|
Stream<String> |
extensions()
Return all supported file format extensions
|
Stream<String> |
mimeTypes()
Return all supported mimetypes of this format
|
String |
name()
The friendly format name
|
@Nonnull String defaultExtension()
@Nonnull String defaultMimeType()
@Nonnull Stream<String> extensions()
Copyright © 2010-2016 Stardog Union. All Rights Reserved.