jaugment2.directory
Class DirectoryServiceSwingRepresentation.InputStreamDataSource

java.lang.Object
  |
  +--jaugment2.directory.DirectoryServiceSwingRepresentation.InputStreamDataSource
Enclosing class:
DirectoryServiceSwingRepresentation

public static class DirectoryServiceSwingRepresentation.InputStreamDataSource
extends java.lang.Object
implements javax.activation.DataSource


Field Summary
(package private)  java.io.InputStream in
           
(package private)  javax.activation.MimeType m
           
(package private)  java.lang.String name
           
 
Constructor Summary
DirectoryServiceSwingRepresentation.InputStreamDataSource(java.io.InputStream in, javax.activation.MimeType m, java.lang.String name)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

in

java.io.InputStream in

m

javax.activation.MimeType m

name

java.lang.String name
Constructor Detail

DirectoryServiceSwingRepresentation.InputStreamDataSource

public DirectoryServiceSwingRepresentation.InputStreamDataSource(java.io.InputStream in,
                                                                 javax.activation.MimeType m,
                                                                 java.lang.String name)
Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface javax.activation.DataSource

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Specified by:
getOutputStream in interface javax.activation.DataSource

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface javax.activation.DataSource

getName

public java.lang.String getName()
Specified by:
getName in interface javax.activation.DataSource