@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class DelegatingFileTypeMap extends FileTypeMap
Constructor and Description |
---|
DelegatingFileTypeMap(FileTypeMap delegate) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType(File file) |
String |
getContentType(String filename) |
getDefaultFileTypeMap, setDefaultFileTypeMap
public DelegatingFileTypeMap(@NonNull FileTypeMap delegate)
public String getContentType(File file)
getContentType
in class FileTypeMap
public String getContentType(String filename)
getContentType
in class FileTypeMap
Copyright © 2016–2022. All rights reserved.