Package com.stardog.stark.io
Class FileFormatImpl
java.lang.Object
com.stardog.stark.io.FileFormatImpl
- All Implemented Interfaces:
FileFormat
Default implementation of FileFormat
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.stardog.stark.io.FileFormat
FileFormat.Compression -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stardog.stark.io.FileFormat
charset
-
Field Details
-
mName
-
mMimetypes
-
mFileExtensions
-
-
Constructor Details
-
FileFormatImpl
-
-
Method Details
-
name
The friendly format name- Specified by:
namein interfaceFileFormat- Returns:
- the name
-
defaultExtension
Return the default file extension for this format- Specified by:
defaultExtensionin interfaceFileFormat- Returns:
- the default file extension
-
defaultMimeType
Return the default mimetype for this format- Specified by:
defaultMimeTypein interfaceFileFormat- Returns:
- the default mimetype
-
extensions
Return all supported file format extensions- Specified by:
extensionsin interfaceFileFormat- Returns:
- the extensions
-
mimeTypes
Return all supported mimetypes of this format- Specified by:
mimeTypesin interfaceFileFormat- Returns:
- the mimetypes
-
toString
-