geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r128416 - /geronimo/trunk/specs/javamail/src/java/javax/mail/Part.java
Date Thu, 27 Jan 2005 19:47:00 GMT
Author: jboynes
Date: Thu Jan 27 11:46:59 2005
New Revision: 128416

URL: http://svn.apache.org/viewcvs?view=rev&rev=128416
Log:
formatting cleanup
Modified:
   geronimo/trunk/specs/javamail/src/java/javax/mail/Part.java

Modified: geronimo/trunk/specs/javamail/src/java/javax/mail/Part.java
Url: http://svn.apache.org/viewcvs/geronimo/trunk/specs/javamail/src/java/javax/mail/Part.java?view=diff&rev=128416&p1=geronimo/trunk/specs/javamail/src/java/javax/mail/Part.java&r1=128415&p2=geronimo/trunk/specs/javamail/src/java/javax/mail/Part.java&r2=128416
==============================================================================
--- geronimo/trunk/specs/javamail/src/java/javax/mail/Part.java	(original)
+++ geronimo/trunk/specs/javamail/src/java/javax/mail/Part.java	Thu Jan 27 11:46:59 2005
@@ -26,15 +26,14 @@
 /**
  * Note: Parts are used in Collections so implementing classes must provide
  * a suitable implementation of equals and hashCode.
- * 
+ *
  * @version $Rev$ $Date$
  */
 public interface Part {
     public static final String ATTACHMENT = "attachment";
     public static final String INLINE = "inline";
 
-    public abstract void addHeader(String name, String value)
-            throws MessagingException;
+    public abstract void addHeader(String name, String value) throws MessagingException;
 
     public abstract Enumeration getAllHeaders() throws MessagingException;
 
@@ -52,46 +51,35 @@
 
     public abstract String[] getHeader(String name) throws MessagingException;
 
-    public abstract InputStream getInputStream()
-            throws IOException, MessagingException;
+    public abstract InputStream getInputStream() throws IOException, MessagingException;
 
     public abstract int getLineCount() throws MessagingException;
 
-    public abstract Enumeration getMatchingHeaders(String[] names)
-            throws MessagingException;
+    public abstract Enumeration getMatchingHeaders(String[] names) throws MessagingException;
 
-    public abstract Enumeration getNonMatchingHeaders(String[] names)
-            throws MessagingException;
+    public abstract Enumeration getNonMatchingHeaders(String[] names) throws MessagingException;
 
     public abstract int getSize() throws MessagingException;
 
-    public abstract boolean isMimeType(String mimeType)
-            throws MessagingException;
+    public abstract boolean isMimeType(String mimeType) throws MessagingException;
 
     public abstract void removeHeader(String name) throws MessagingException;
 
-    public abstract void setContent(Multipart content)
-            throws MessagingException;
+    public abstract void setContent(Multipart content) throws MessagingException;
 
-    public abstract void setContent(Object content, String type)
-            throws MessagingException;
+    public abstract void setContent(Object content, String type) throws MessagingException;
 
-    public abstract void setDataHandler(DataHandler handler)
-            throws MessagingException;
+    public abstract void setDataHandler(DataHandler handler) throws MessagingException;
 
-    public abstract void setDescription(String description)
-            throws MessagingException;
+    public abstract void setDescription(String description) throws MessagingException;
 
-    public abstract void setDisposition(String disposition)
-            throws MessagingException;
+    public abstract void setDisposition(String disposition) throws MessagingException;
 
     public abstract void setFileName(String name) throws MessagingException;
 
-    public abstract void setHeader(String name, String value)
-            throws MessagingException;
+    public abstract void setHeader(String name, String value) throws MessagingException;
 
     public abstract void setText(String content) throws MessagingException;
 
-    public abstract void writeTo(OutputStream out)
-            throws IOException, MessagingException;
+    public abstract void writeTo(OutputStream out) throws IOException, MessagingException;
 }

Mime
View raw message