com.googlecode.jinahya.util.fsm
Interface TaskContext.ResourceLoader
- Enclosing class:
- TaskContext
protected static interface TaskContext.ResourceLoader
Platform specific resource loader.
load
InputStream load(ClassLoader classLoader,
String resourceName)
throws IOException,
FSMException
- Loads resource denoted by given
resourceName using
specified classLoader.
- Parameters:
classLoader - class loaderresourceName - resource name
- Returns:
- loaded resource; never null
- Throws:
IOException - if an I/O error occurs
FSMException - if an error occurs
Copyright © 2011. All Rights Reserved.