Java Doc for MimeEntry.java in  » 6.0-JDK-Modules » j2me » sun » net » www » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » sun.net.www 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   sun.net.www.MimeEntry

MimeEntry
public class MimeEntry implements Cloneable(Code)


Field Summary
final public static  intLAUNCH_APPLICATION
    
final public static  intLOAD_INTO_BROWSER
    
final public static  intSAVE_TO_FILE
    
final public static  intUNKNOWN
    
final static  String[]actionKeywords
    
final public static  StringdefaultImagePath
    
 booleanstarred
    

Constructor Summary
public  MimeEntry(String type)
     Construct an empty entry of the given type and subtype.
 MimeEntry(String type, String imageFileName, String extensionString)
    
 MimeEntry(String typeName, int action, String command, String tempFileNameTemplate)
    
 MimeEntry(String typeName, int action, String command, String imageFileName, String fileExtensions)
    

Method Summary
public  Objectclone()
    
public synchronized  intgetAction()
    
public synchronized  StringgetDescription()
    
public synchronized  String[]getExtensions()
    
public synchronized  StringgetExtensionsAsList()
    
public  StringgetImageFileName()
    
public synchronized  StringgetLaunchString()
    
public  StringgetTempFileTemplate()
    
public synchronized  StringgetType()
    
public  Objectlaunch(java.net.URLConnection urlc, InputStream is, MimeTable mt)
     Invoke the MIME type specific behavior for this MIME type.
public  booleanmatches(String type)
    
public synchronized  voidsetAction(int action, String command)
    
public synchronized  voidsetAction(int action)
    
public synchronized  voidsetCommand(String command)
    
public synchronized  voidsetDescription(String description)
    
public synchronized  voidsetExtensions(String extensionString)
    
public synchronized  voidsetImageFileName(String filename)
    
public synchronized  voidsetType(String type)
    
public synchronized  StringtoProperty()
    
public  StringtoString()
    

Field Detail
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)



actionKeywords
final static String[] actionKeywords(Code)



defaultImagePath
final public static String defaultImagePath(Code)



starred
boolean starred(Code)




Constructor Detail
MimeEntry
public MimeEntry(String type)(Code)
Construct an empty entry of the given type and subtype.



MimeEntry
MimeEntry(String type, String imageFileName, String extensionString)(Code)



MimeEntry
MimeEntry(String typeName, int action, String command, String tempFileNameTemplate)(Code)



MimeEntry
MimeEntry(String typeName, int action, String command, String imageFileName, String fileExtensions)(Code)




Method Detail
clone
public Object clone()(Code)



getAction
public synchronized int getAction()(Code)



getDescription
public synchronized String getDescription()(Code)



getExtensions
public synchronized String[] getExtensions()(Code)



getExtensionsAsList
public synchronized String getExtensionsAsList()(Code)



getImageFileName
public String getImageFileName()(Code)



getLaunchString
public synchronized String getLaunchString()(Code)



getTempFileTemplate
public String getTempFileTemplate()(Code)



getType
public synchronized String getType()(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:
  1. A thread -- the caller can choose when to launch this thread.
  2. A string -- the string is loaded into the browser directly.
  3. An input stream -- the caller can read from this byte stream and will typically store the results in a file.
  4. A document (?) --



matches
public boolean matches(String type)(Code)



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)



setType
public synchronized void setType(String type)(Code)



toProperty
public synchronized String toProperty()(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.