added in API level 1
FileNameMap
public
interface
FileNameMap
| java.net.FileNameMap |
A simple interface which provides a mechanism to map between a file name and a MIME type string.
Summary
Public methods | |
|---|---|
abstract
String
|
getContentTypeFor(String fileName)
Gets the MIME type for the specified file name. |
Public methods
getContentTypeFor
added in API level 1
String getContentTypeFor (String fileName)
Gets the MIME type for the specified file name.
| Parameters | |
|---|---|
fileName |
String:
the specified file name |
| Returns | |
|---|---|
String |
a String indicating the MIME
type for the specified file name.
|
Interfaces
Classes
- Authenticator
- CacheRequest
- CacheResponse
- ContentHandler
- CookieHandler
- CookieManager
- DatagramPacket
- DatagramSocket
- DatagramSocketImpl
- HttpCookie
- HttpURLConnection
- IDN
- Inet4Address
- Inet6Address
- InetAddress
- InetSocketAddress
- InterfaceAddress
- JarURLConnection
- MulticastSocket
- NetPermission
- NetworkInterface
- PasswordAuthentication
- Proxy
- ProxySelector
- ResponseCache
- SecureCacheResponse
- ServerSocket
- Socket
- SocketAddress
- SocketImpl
- SocketPermission
- StandardSocketOptions
- URI
- URL
- URLClassLoader
- URLConnection
- URLDecoder
- URLEncoder
- URLStreamHandler
Enums
Exceptions

