org.apache.commons.jci.readers
Class FileResourceReader

java.lang.Object
  extended by org.apache.commons.jci.readers.FileResourceReader
All Implemented Interfaces:
ResourceReader

public final class FileResourceReader
extends Object
implements ResourceReader

A simple file system based Reader implementation

Author:
tcurdt

Constructor Summary
FileResourceReader(File pRoot)
           
 
Method Summary
 byte[] getBytes(String pResourceName)
           
 boolean isAvailable(String pResourceName)
           
 String[] list()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileResourceReader

public FileResourceReader(File pRoot)
Method Detail

isAvailable

public boolean isAvailable(String pResourceName)
Specified by:
isAvailable in interface ResourceReader

getBytes

public byte[] getBytes(String pResourceName)
Specified by:
getBytes in interface ResourceReader

list

@Deprecated
public String[] list()
Deprecated. 



Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.