com.googlecode.jinahya.util.fsm
Class FileResourceLoader
java.lang.Object
com.googlecode.jinahya.util.fsm.FileResourceLoader
- All Implemented Interfaces:
- ResourceLoader
public class FileResourceLoader
- extends Object
- implements ResourceLoader
A ResourceLoader implementation using File I/O.
- Author:
- Jin Kwon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileResourceLoader
public FileResourceLoader()
load
public InputStream load(String resourceName)
throws IOException,
FSMException
- Description copied from interface:
ResourceLoader
- Loads resource denoted by given
resourceName.
- Specified by:
load in interface ResourceLoader
- Parameters:
resourceName - resource name
- Returns:
- loaded resource stream; never null
- Throws:
IOException - if an I/O error occurs
FSMException - if an error occurs
Copyright © 2011. All Rights Reserved.