Verified Owner
Top Description Methods
org.jabref.gui.externalfiletype

public Interface ExternalFileType

Known Direct Implementers
org.jabref.gui.externalfiletype.StandardExternalFileType, org.jabref.gui.externalfiletype.UnknownExternalFileType, org.jabref.gui.externalfiletype.CustomExternalFileType
Annotations
@NullMarked
Imports
org.jabref.gui.icon.JabRefIcon, org.jabref.model.entry.field.Field, .FieldFactory, org.jspecify.annotations.NullMarked

"Twin" interface: org.jabref.logic.util.FileType

Method Summary

Modifier and TypeMethod and Description
public String
public default Field

Returns:

The field name.
getField
()

Get the bibtex field name used for this file type.

public JabRefIcon
public String
public String
public String
public default String[]

Returns:

A String[] containing all information about this file type.
toStringArray
()

Return a String array representing this file type.

Method Detail

getExtensionback to summary
public String getExtension()
getFieldback to summary
public default Field getField()

Get the bibtex field name used for this file type. Currently, we assume that field name equals filename extension.

Returns:Field

The field name.

getIconback to summary
public JabRefIcon getIcon()
getMimeTypeback to summary
public String getMimeType()
getNameback to summary
public String getName()
getOpenWithApplicationback to summary
public String getOpenWithApplication()
toStringArrayback to summary
public default String[] toStringArray()

Return a String array representing this file type. This is used for storage into Preferences, and the same array can be used to construct the file type later, using the String[] constructor.

Returns:String[]

A String[] containing all information about this file type.