org.reflections.vfs
Class SystemFile

java.lang.Object
  extended by org.reflections.vfs.SystemFile
All Implemented Interfaces:
Vfs.File

public class SystemFile
extends Object
implements Vfs.File

an implementation of Vfs.File for a directory File


Constructor Summary
SystemFile(SystemDir root, File file)
           
 
Method Summary
 String getName()
           
 String getRelativePath()
           
 InputStream openInputStream()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemFile

public SystemFile(SystemDir root,
                  File 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()
Specified by:
openInputStream in interface Vfs.File

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.