| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final ExternalFileType |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Set | fromString(String storedFileTypes)
Set up the list of external file types, either from default values, or from values recorded in PreferencesService. |
| public static List | |
| public static Optional | Returns: The ExternalFileType registered, or null if none.The file extension. extension, ExternalApplicationsPreferences externalApplicationsPreferences)Look up the external file type registered for this extension, if any. |
| public static Optional | getExternalFileTypeByFile(Path file, ExternalApplicationsPreferences externalApplicationsPreferences)
|
| public static Optional | getExternalFileTypeByLinkedFile(LinkedFile linkedFile, boolean deduceUnknownType, ExternalApplicationsPreferences externalApplicationsPreferences)
|
| public static Optional | Returns: The ExternalFileType registered, or null if none. For the mime type "text/html", a valid file type is guaranteed to be returned.The MIME type. mimeType, ExternalApplicationsPreferences externalApplicationsPreferences)Look up the external file type registered for this MIME type, if any. |
| public static Optional | Returns: The ExternalFileType registered, or null if none.The file type name. name, ExternalApplicationsPreferences externalApplicationsPreferences)Look up the external file type registered with this name, if any. |
| public static Optional | Returns: The ExternalFileType registered, or null if none.The name of the file whose type to look up. filename, ExternalApplicationsPreferences externalApplicationsPreferences)Look up the external file type registered for this filename, if any. |
| public static boolean | Returns: true if an ExternalFileType with the extension exists, false otherwiseThe file extension. extension, ExternalApplicationsPreferences externalApplicationsPreferences)Returns true if there is an external file type registered for this extension. |
| public static String | toStringList(Collection<ExternalFileType> fileTypes)
Returns: A StringList of customized and removed file types compared to the default list of external file types for storing |
| FILE_TYPE_REMOVED_FLAG | back to summary |
|---|---|
| private static final String FILE_TYPE_REMOVED_FLAG | |
| HTML_FALLBACK_TYPE | back to summary |
|---|---|
| private static final ExternalFileType HTML_FALLBACK_TYPE | |
| ExternalFileTypes | back to summary |
|---|---|
| private ExternalFileTypes() | |
| fromString | back to summary |
|---|---|
| public static Set Set up the list of external file types, either from default values, or from values recorded in PreferencesService. | |
| getDefaultExternalFileTypes | back to summary |
|---|---|
| public static List | |
| getExternalFileTypeByExt | back to summary |
|---|---|
| public static Optional Look up the external file type registered for this extension, if any.
| |
| getExternalFileTypeByFile | back to summary |
|---|---|
| public static Optional | |
| getExternalFileTypeByLinkedFile | back to summary |
|---|---|
| public static Optional | |
| getExternalFileTypeByMimeType | back to summary |
|---|---|
| public static Optional Look up the external file type registered for this MIME type, if any.
| |
| getExternalFileTypeByName | back to summary |
|---|---|
| public static Optional Look up the external file type registered with this name, if any.
| |
| getExternalFileTypeForName | back to summary |
|---|---|
| public static Optional Look up the external file type registered for this filename, if any.
| |
| isExternalFileTypeByExt | back to summary |
|---|---|
| public static boolean isExternalFileTypeByExt(String extension, ExternalApplicationsPreferences externalApplicationsPreferences) Returns true if there is an external file type registered for this extension.
| |
| toStringList | back to summary |
|---|---|
public static String toStringList(Collection<ExternalFileType> fileTypes)
| |