public class StgFileLoader extends AbstractLoader implements FileLoader
| Constructor and Description |
|---|
StgFileLoader(String fileName)
Returns a new loader for a file name, creating a file source automatically.
|
| Modifier and Type | Method and Description |
|---|---|
FileSource |
getSource()
Returns the source set for the loader, that is where the loader loads information from.
|
STGroup |
load()
Loads information from a source and returns a specific object.
|
getLoadErrorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoadErrors, validateSourcepublic StgFileLoader(String fileName)
fileName - a file name to load an STG frompublic STGroup load()
InfoLoaderInfoLoader.getLoadErrors() to retrieve them.load in interface InfoLoaderpublic FileSource getSource()
InfoLoadergetSource in interface FileLoadergetSource in interface InfoLoaderCopyright © 2010–2017. All rights reserved.