com.tle.web.scripting.advanced.types
Interface MimeTypeScriptType
Declaration: public interface MimeTypeScriptType extends java.io.Serializable
All Superinterfaces: java.io.Serializable

 

A MIME type object for scripts

 

 

Methods Summary
abstract java.lang.String getDescription()
    
abstract java.util.List<java.lang.String> getFileExtensions()
    
abstract java.lang.String getType()
    

 

 

 

 

getType

 

public abstract java.lang.String getType( )

 

Returns:
The MIME type E.g. text/plain

 

 

 

getDescription

 

public abstract java.lang.String getDescription( )

 

Returns:
A friendly name for the MIME type

 

 

 

getFileExtensions

 

public abstract java.util.List<java.lang.String> getFileExtensions( )

 

Returns:
The list of known file extensions for this MIME type