org.grinvin.io

Class DirectorySectionLoader

Implemented Interfaces:
SectionLoader

public class DirectorySectionLoader
extends java.lang.Object
implements SectionLoader

Loads sections as files from a directory.

Constructor Summary

DirectorySectionLoader(File directory)
Default constructor.

Method Summary

InputStream
openSection(String name)

Constructor Details

DirectorySectionLoader

public DirectorySectionLoader(File directory)
Default constructor.

Method Details

openSection

public InputStream openSection(String name)
            throws IOException
Specified by:
openSection in interface SectionLoader