aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/activation/DataContentHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/activation/DataContentHandler.java')
-rw-r--r--libjava/classpath/javax/activation/DataContentHandler.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/libjava/classpath/javax/activation/DataContentHandler.java b/libjava/classpath/javax/activation/DataContentHandler.java
index f950739..be919c2 100644
--- a/libjava/classpath/javax/activation/DataContentHandler.java
+++ b/libjava/classpath/javax/activation/DataContentHandler.java
@@ -56,7 +56,7 @@ public interface DataContentHandler
* by preference.
*/
DataFlavor[] getTransferDataFlavors();
-
+
/**
* Returns an object representing the data to be transferred.
* @param df the flavor representing the requested type
@@ -64,14 +64,14 @@ public interface DataContentHandler
*/
Object getTransferData(DataFlavor df, DataSource ds)
throws UnsupportedFlavorException, IOException;
-
+
/**
* Returns an object representing the data in its most preferred form.
* @param ds the data source of the data to be converted
*/
Object getContent(DataSource ds)
throws IOException;
-
+
/**
* Writes the object as a stream of bytes.
* @param obj the object to convert
@@ -80,6 +80,5 @@ public interface DataContentHandler
*/
void writeTo(Object obj, String mimeType, OutputStream os)
throws IOException;
-
-}
+}