jaugment2.directory
Class FileObjectFactory.RemoteFileDataSource

java.lang.Object
  |
  +--jaugment2.directory.FileObjectFactory.RemoteFileDataSource
Enclosing class:
FileObjectFactory

public static class FileObjectFactory.RemoteFileDataSource
extends java.lang.Object
implements javax.activation.DataSource


Field Summary
(package private)  SerializableInputStream in
           
(package private)  javax.activation.MimeType m
           
(package private)  java.lang.String name
           
(package private)  SerializableOutputStream out
           
 
Constructor Summary
FileObjectFactory.RemoteFileDataSource(java.io.File f)
           
FileObjectFactory.RemoteFileDataSource(java.net.URL u, javax.activation.MimeType m)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

in

SerializableInputStream in

out

SerializableOutputStream out

m

javax.activation.MimeType m

name

java.lang.String name
Constructor Detail

FileObjectFactory.RemoteFileDataSource

public FileObjectFactory.RemoteFileDataSource(java.io.File f)
                                       throws java.rmi.RemoteException,
                                              java.io.IOException,
                                              javax.activation.MimeTypeParseException

FileObjectFactory.RemoteFileDataSource

public FileObjectFactory.RemoteFileDataSource(java.net.URL u,
                                              javax.activation.MimeType m)
                                       throws java.rmi.RemoteException,
                                              java.io.IOException,
                                              javax.activation.MimeTypeParseException
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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object