public class PropertyArrayLoader extends AbstractLoader implements FileSourceListLoader
| Constructor and Description |
|---|
PropertyArrayLoader(DirectoryLoader dl)
Returns a new loader that uses a
DirectoryLoader class to load a file set. |
PropertyArrayLoader(FileSourceList source)
Returns a new loader for a file source.
|
PropertyArrayLoader(List<FileSource> files)
Returns a new loader for a file name, creating a file source automatically.
|
| Modifier and Type | Method and Description |
|---|---|
FileSourceList |
getSource()
Returns the source set for the loader, that is where the loader loads information from.
|
Properties[] |
load()
Loads information from a source and returns a specific object.
|
getLoadErrorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoadErrors, validateSourcepublic PropertyArrayLoader(DirectoryLoader dl)
DirectoryLoader class to load a file set.dl - directory loader for loading filespublic PropertyArrayLoader(FileSourceList source)
source - a list of files as sourcepublic PropertyArrayLoader(List<FileSource> files)
files - list of files for the loaderpublic Properties[] load()
InfoLoaderInfoLoader.getLoadErrors() to retrieve them.load in interface InfoLoaderpublic FileSourceList getSource()
InfoLoadergetSource in interface FileSourceListLoadergetSource in interface InfoLoaderCopyright © 2010–2017. All rights reserved.