org.reflections.vfs
Class CommonsVfs2UrlType.File

java.lang.Object
  extended by org.reflections.vfs.CommonsVfs2UrlType.File
All Implemented Interfaces:
Vfs.File
Enclosing interface:
CommonsVfs2UrlType

public static class CommonsVfs2UrlType.File
extends Object
implements Vfs.File


Constructor Summary
CommonsVfs2UrlType.File(org.apache.commons.vfs2.FileObject root, org.apache.commons.vfs2.FileObject file)
           
 
Method Summary
 String getName()
           
 String getRelativePath()
           
 InputStream openInputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsVfs2UrlType.File

public CommonsVfs2UrlType.File(org.apache.commons.vfs2.FileObject root,
                               org.apache.commons.vfs2.FileObject file)
Method Detail

getName

public String getName()
Specified by:
getName in interface Vfs.File

getRelativePath

public String getRelativePath()
Specified by:
getRelativePath in interface Vfs.File

openInputStream

public InputStream openInputStream()
                            throws IOException
Specified by:
openInputStream in interface Vfs.File
Throws:
IOException


Copyright © 2013. All Rights Reserved.