public final class JadiceAnnotationFormat extends AbstractAnnotationFormat
Modifier and Type | Field and Description |
---|---|
static JadiceAnnotationFormat |
INSTANCE |
BASE_FORMAT_VERSION, DEFAULT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
JadiceAnnotationFormat() |
Modifier and Type | Method and Description |
---|---|
FormatReader |
createReader()
Instantiate a new
FormatReader for this format. |
FormatWriter |
createWriter()
Instantiate a new
FormatWriter for this format. |
String[] |
getDefaultExtensions()
The default file-extension for the format.
|
String |
getDescription()
Describes the format represented by this instance.
|
MimeType |
getMimeType()
Return the string-encoded MIME-Type of the format.
|
String |
getName()
Return the format's name.
|
String |
getVersion()
The version of the format support.
|
boolean |
matches(SeekableInputStream stream)
Within the read process this method is called to auto-determine the format of the data passed.
|
canWrite, isSecondary
canRead, create, equals, getPriority, hashCode, isSupported, toString
public static final JadiceAnnotationFormat INSTANCE
public String[] getDefaultExtensions()
Format
getDefaultExtensions
in class Format
public String getDescription()
Format
getDescription
in class Format
public FormatReader createReader()
Format
FormatReader
for this format.createReader
in class Format
FormatReader
for this formatpublic FormatWriter createWriter()
Format
FormatWriter
for this format.createWriter
in class Format
FormatWriter
for this formatpublic String getVersion()
Format
getVersion
in class Format
public boolean matches(SeekableInputStream stream) throws IOException
Format
matches
in class Format
stream
- contains the data to be tested.IOException
- if an io error occurspublic MimeType getMimeType()
Format
getMimeType
in class Format
Copyright © 2024 levigo holding gmbh. All rights reserved.