net.ontopia.utils
Class ResourcesDirectoryReader

java.lang.Object
  extended by net.ontopia.utils.ResourcesDirectoryReader

public class ResourcesDirectoryReader
extends java.lang.Object


Nested Class Summary
 class ResourcesDirectoryReader.FilenameExtensionFilter
           
static interface ResourcesDirectoryReader.ResourcesFilterIF
           
 
Constructor Summary
ResourcesDirectoryReader(java.lang.ClassLoader classLoader, java.lang.String directoryPath)
           
ResourcesDirectoryReader(java.lang.ClassLoader classLoader, java.lang.String directoryPath, boolean searchSubdirectories)
           
ResourcesDirectoryReader(java.lang.ClassLoader classLoader, java.lang.String directoryPath, boolean searchSubdirectories, ResourcesDirectoryReader.ResourcesFilterIF filter)
           
ResourcesDirectoryReader(java.lang.ClassLoader classLoader, java.lang.String directoryPath, boolean searchSubdirectories, java.lang.String filenameFilter)
           
ResourcesDirectoryReader(java.lang.ClassLoader classLoader, java.lang.String directoryPath, ResourcesDirectoryReader.ResourcesFilterIF filter)
           
ResourcesDirectoryReader(java.lang.ClassLoader classLoader, java.lang.String directoryPath, java.lang.String filenameFilter)
           
ResourcesDirectoryReader(java.lang.String directoryPath)
           
ResourcesDirectoryReader(java.lang.String directoryPath, boolean searchSubdirectories)
           
ResourcesDirectoryReader(java.lang.String directoryPath, boolean searchSubdirectories, ResourcesDirectoryReader.ResourcesFilterIF filter)
           
ResourcesDirectoryReader(java.lang.String directoryPath, boolean searchSubdirectories, java.lang.String filenameFilter)
           
ResourcesDirectoryReader(java.lang.String directoryPath, ResourcesDirectoryReader.ResourcesFilterIF filter)
           
ResourcesDirectoryReader(java.lang.String directoryPath, java.lang.String filenameFilter)
           
 
Method Summary
 void addFilter(ResourcesDirectoryReader.ResourcesFilterIF filter)
           
 java.util.Set<java.lang.String> getResources()
           
 java.util.Set<java.io.InputStream> getResourcesAsStreams()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.ClassLoader classLoader,
                                java.lang.String directoryPath)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.ClassLoader classLoader,
                                java.lang.String directoryPath,
                                boolean searchSubdirectories)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.String directoryPath)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.String directoryPath,
                                boolean searchSubdirectories)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.String directoryPath,
                                ResourcesDirectoryReader.ResourcesFilterIF filter)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.String directoryPath,
                                boolean searchSubdirectories,
                                ResourcesDirectoryReader.ResourcesFilterIF filter)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.ClassLoader classLoader,
                                java.lang.String directoryPath,
                                ResourcesDirectoryReader.ResourcesFilterIF filter)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.ClassLoader classLoader,
                                java.lang.String directoryPath,
                                boolean searchSubdirectories,
                                ResourcesDirectoryReader.ResourcesFilterIF filter)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.String directoryPath,
                                java.lang.String filenameFilter)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.String directoryPath,
                                boolean searchSubdirectories,
                                java.lang.String filenameFilter)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.ClassLoader classLoader,
                                java.lang.String directoryPath,
                                java.lang.String filenameFilter)

ResourcesDirectoryReader

public ResourcesDirectoryReader(java.lang.ClassLoader classLoader,
                                java.lang.String directoryPath,
                                boolean searchSubdirectories,
                                java.lang.String filenameFilter)
Method Detail

addFilter

public void addFilter(ResourcesDirectoryReader.ResourcesFilterIF filter)

getResources

public java.util.Set<java.lang.String> getResources()

getResourcesAsStreams

public java.util.Set<java.io.InputStream> getResourcesAsStreams()


Copyright © 2000-2012 Ontopia.