public class FileExtensionDescriptor extends Object
Constructor and Description |
---|
FileExtensionDescriptor(String displayName,
String mimeType,
List<String> fileExtensions)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Gets text to be displayed, e.g. as the text for filters in file dialogs.
|
List<String> |
getFileExtensions()
Gets the file extensions for the specified MIME type.
|
String |
getMimeType()
Gets the MIME type for the specified file extensions.
|
public String getDisplayName()
public String getMimeType()
Copyright © 2012–2016 Drombler. All rights reserved.