| java.lang.Object sun.net.www.MimeEntry
LAUNCH_APPLICATION | final public static int LAUNCH_APPLICATION(Code) | | |
LOAD_INTO_BROWSER | final public static int LOAD_INTO_BROWSER(Code) | | |
SAVE_TO_FILE | final public static int SAVE_TO_FILE(Code) | | |
UNKNOWN | final public static int UNKNOWN(Code) | | |
defaultImagePath | final public static String defaultImagePath(Code) | | |
MimeEntry | public MimeEntry(String type)(Code) | | Construct an empty entry of the given type and subtype.
|
getAction | public synchronized int getAction()(Code) | | |
getDescription | public synchronized String getDescription()(Code) | | |
getExtensions | public synchronized String[] getExtensions()(Code) | | |
getExtensionsAsList | public synchronized String getExtensionsAsList()(Code) | | |
getLaunchString | public synchronized String getLaunchString()(Code) | | |
getTempFileTemplate | public String getTempFileTemplate()(Code) | | |
launch | public Object launch(java.net.URLConnection urlc, InputStream is, MimeTable mt) throws ApplicationLaunchException(Code) | | Invoke the MIME type specific behavior for this MIME type.
Returned value can be one of several types:
- A thread -- the caller can choose when to launch this thread.
- A string -- the string is loaded into the browser directly.
- An input stream -- the caller can read from this byte stream and
will typically store the results in a file.
- A document (?) --
|
setAction | public synchronized void setAction(int action, String command)(Code) | | |
setAction | public synchronized void setAction(int action)(Code) | | |
setCommand | public synchronized void setCommand(String command)(Code) | | |
setDescription | public synchronized void setDescription(String description)(Code) | | |
setExtensions | public synchronized void setExtensions(String extensionString)(Code) | | |
setImageFileName | public synchronized void setImageFileName(String filename)(Code) | | |
|
|