public class PDFFormat extends Format
BASE_FORMAT_VERSION, DEFAULT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
PDFFormat() |
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 stream)
Within the read process this method is called to auto-determine the format of the data passed.
|
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 stream) throws IOException
Format
matches
in class Format
stream
- contains the data to be tested.IOException
- if an io error occurspublic 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.