public final class HocrFormat extends Format
amp
,
apos
, gt
, lt
, quot
.BASE_FORMAT_VERSION, DEFAULT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
HocrFormat() |
Modifier and Type | Method and Description |
---|---|
FormatReader |
createReader()
Instantiate a new
FormatReader 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 seekableInputStream)
Since hOCR files should only be read explicitly, this method always returns false.
|
canRead, canWrite, create, createWriter, equals, getPriority, hashCode, isSecondary, isSupported, toString
public String[] getDefaultExtensions()
Format
getDefaultExtensions
in class Format
public String getDescription()
Format
getDescription
in class Format
public String getVersion()
Format
getVersion
in class Format
public boolean matches(SeekableInputStream seekableInputStream)
public FormatReader createReader()
Format
FormatReader
for this format.createReader
in class Format
FormatReader
for this formatpublic MimeType getMimeType()
Format
getMimeType
in class Format
Copyright © 2024 levigo holding gmbh. All rights reserved.