Package com.stardog.stark.io
Interface FileFormat
- All Known Subinterfaces:
QueryResultFormat,RDFFormat,RDFFormat.BinaryRDFFormat
- All Known Implementing Classes:
CompressedRDFFormat,FileFormatImpl
public interface FileFormat
Represents the format of a file or stream, such as XML or JSON.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault Charsetcharset()The charset used by the formatReturn the default file extension for this formatReturn the default mimetype for this formatReturn all supported file format extensionsReturn all supported mimetypes of this formatname()The friendly format name
-
Method Details
-
name
The friendly format name- Returns:
- the name
-
charset
The charset used by the format- Returns:
- the charset
-
defaultExtension
Return the default file extension for this format- Returns:
- the default file extension
-
defaultMimeType
Return the default mimetype for this format- Returns:
- the default mimetype
-
extensions
Return all supported file format extensions- Returns:
- the extensions
-
mimeTypes
Return all supported mimetypes of this format- Returns:
- the mimetypes
-