de.miethxml.toolkit.io
Class VFSFileModelContent

java.lang.Object
  extended byde.miethxml.toolkit.io.VFSFileModelContent
All Implemented Interfaces:
FileModelContent

public class VFSFileModelContent
extends java.lang.Object
implements FileModelContent

Author:
simon

Constructor Summary
VFSFileModelContent(org.apache.commons.vfs.FileObject file)
           
 
Method Summary
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VFSFileModelContent

public VFSFileModelContent(org.apache.commons.vfs.FileObject file)
Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.lang.Exception
Specified by:
getInputStream in interface FileModelContent
Throws:
java.lang.Exception

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.lang.Exception
Specified by:
getOutputStream in interface FileModelContent
Throws:
java.lang.Exception