Searched refs:mimeType (Results 1 - 19 of 19) sorted by relevance

/javamail/android/activation/src/main/java/javax/activation/
H A DActivationDataFlavor.java70 private String mimeType = null; field in class:ActivationDataFlavor
84 * mimeType = mimeType<br>
89 * @param mimeType the MIME type of the data represented by this class
93 String mimeType, String humanPresentableName) {
94 //super(mimeType, humanPresentableName); // need to call super
97 this.mimeType = mimeType;
107 * If the mimeType is "application/x-java-serialized-object;
114 * mimeType
92 ActivationDataFlavor(Class representationClass, String mimeType, String humanPresentableName) argument
143 ActivationDataFlavor(String mimeType, String humanPresentableName) argument
215 isMimeTypeEqual(String mimeType) argument
261 normalizeMimeType(String mimeType) argument
[all...]
H A DDataContentHandlerFactory.java56 * @param mimeType the MIME type to create the DataContentHandler for.
60 public DataContentHandler createDataContentHandler(String mimeType); argument
H A DCommandMap.java126 * @param mimeType the MIME type
129 abstract public CommandInfo[] getPreferredCommands(String mimeType); argument
141 * @param mimeType the MIME type
146 public CommandInfo[] getPreferredCommands(String mimeType, DataSource ds) { argument
147 return getPreferredCommands(mimeType);
154 * @param mimeType the MIME type
157 abstract public CommandInfo[] getAllCommands(String mimeType); argument
169 * @param mimeType the MIME type
174 public CommandInfo[] getAllCommands(String mimeType, DataSource ds) { argument
175 return getAllCommands(mimeType);
185 getCommand(String mimeType, String cmdName) argument
202 getCommand(String mimeType, String cmdName, DataSource ds) argument
215 createDataContentHandler(String mimeType) argument
234 createDataContentHandler(String mimeType, DataSource ds) argument
[all...]
H A DMailcapCommandMap.java349 * @param mimeType the MIME type
352 public synchronized CommandInfo[] getPreferredCommands(String mimeType) { argument
354 if (mimeType != null)
355 mimeType = mimeType.toLowerCase(Locale.ENGLISH);
360 Map cmdMap = DB[i].getMailcapList(mimeType);
369 Map cmdMap = DB[i].getMailcapFallbackList(mimeType);
415 * @param mimeType the MIME type
418 public synchronized CommandInfo[] getAllCommands(String mimeType) { argument
420 if (mimeType !
472 getCommand(String mimeType, String cmdName) argument
536 createDataContentHandler( String mimeType) argument
656 getNativeCommands(String mimeType) argument
[all...]
H A DDataContentHandler.java105 * @param mimeType The requested MIME type of the resulting byte stream.
110 public void writeTo(Object obj, String mimeType, OutputStream os) argument
H A DDataHandler.java140 * @param mimeType the MIME type of the object
142 public DataHandler(Object obj, String mimeType) { argument
144 objectMimeType = mimeType;
700 * with an Object and a mimeType string.
813 public void writeTo(Object obj, String mimeType, OutputStream os) argument
816 dch.writeTo(obj, mimeType, os);
833 private String mimeType; field in class:ObjectDataContentHandler
840 Object obj, String mimeType) {
842 this.mimeType = mimeType;
839 ObjectDataContentHandler(DataContentHandler dch, Object obj, String mimeType) argument
897 writeTo(Object obj, String mimeType, OutputStream os) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/handlers/
H A Dtext_xml.java88 public void writeTo(Object obj, String mimeType, OutputStream os) argument
90 if (!isXmlType(mimeType))
92 "Invalid content type \"" + mimeType + "\" for text/xml DCH");
94 super.writeTo(obj, mimeType, os);
H A Dmultipart_mixed.java77 public void writeTo(Object obj, String mimeType, OutputStream os) argument
H A Dmessage_rfc822.java95 public void writeTo(Object obj, String mimeType, OutputStream os) argument
/javamail/taglib/src/main/java/demo/
H A DAttachmentInfo.java115 public boolean hasMimeType(String mimeType) throws MessagingException { argument
116 return part.isMimeType(mimeType);
H A DMessageInfo.java218 public boolean hasMimeType(String mimeType) throws MessagingException { argument
219 return message.isMimeType(mimeType);
/javamail/mail/src/test/java/com/sun/mail/handlers/
H A DTextXmlTest.java80 private static void testStreamToString(String mimeType) throws Exception { argument
82 DataFlavor df = new ActivationDataFlavor(String.class, mimeType, "XML");
83 DataSource ds = new ByteArrayDataSource(xmlBytes, mimeType);
/javamail/dsn/src/main/java/com/sun/mail/dsn/
H A Dmessage_deliverystatus.java119 public void writeTo(Object obj, String mimeType, OutputStream os) argument
H A Dmessage_dispositionnotification.java120 public void writeTo(Object obj, String mimeType, OutputStream os) argument
H A Dmultipart_report.java106 public void writeTo(Object obj, String mimeType, OutputStream os) argument
/javamail/mail/src/main/java/javax/mail/
H A DPart.java150 * If the <code>subType</code> of <code>mimeType</code> is the
154 * @param mimeType the MIME type to test
158 public boolean isMimeType(String mimeType) throws MessagingException; argument
/javamail/android/activation/src/main/java/com/sun/activation/registries/
H A DMailcapFile.java349 String mimeType = primaryType + "/" + subType;
352 LogSupport.log(" Type: " + mimeType);
378 List v = (List)native_commands.get(mimeType);
382 native_commands.put(mimeType, v);
469 (Map)masterHash.get(mimeType);
471 masterHash.put(mimeType, commands);
474 LogSupport.log("Merging commands for type " + mimeType);
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeBodyPart.java290 * If the <code>subType</code> of <code>mimeType</code> is the
296 public boolean isMimeType(String mimeType) throws MessagingException { argument
297 return isMimeType(this, mimeType);
1156 static boolean isMimeType(MimePart part, String mimeType) argument
1161 return new ContentType(type).match(mimeType);
1167 return new ContentType(type.substring(0, i)).match(mimeType);
1170 return type.equalsIgnoreCase(mimeType);
H A DMimeMessage.java1007 * If the <code>subType</code> of <code>mimeType</code> is the
1011 * @param mimeType the MIME type to check
1015 public boolean isMimeType(String mimeType) throws MessagingException { argument
1016 return MimeBodyPart.isMimeType(this, mimeType);

Completed in 130 milliseconds