org.reflections.vfs
Class SystemFile

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

public class SystemFile
extends java.lang.Object
implements Vfs.File

an implementation of Vfs.File for a directory File


Constructor Summary
SystemFile(SystemDir dir, java.io.File file)
           
 
Method Summary
 java.lang.String getFullPath()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.lang.String getRelativePath()
           
 java.lang.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 dir,
                  java.io.File file)
Method Detail

getFullPath

public java.lang.String getFullPath()
Specified by:
getFullPath in interface Vfs.File

getName

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

getRelativePath

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

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface Vfs.File

toString

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


Copyright © 2010. All Rights Reserved.