public final class StreamResourceUtil extends Object
Modifier and Type | Method and Description |
---|---|
static <T> DataModelStreamSupport<? super T> |
loadSupport(ClassLoader classLoader,
String resourceName,
ProcessScript<T> script,
DriverScript.Kind direction)
Creates a new instance.
|
public static <T> DataModelStreamSupport<? super T> loadSupport(ClassLoader classLoader, String resourceName, ProcessScript<T> script, DriverScript.Kind direction) throws IOException
T
- type of data model objectclassLoader
- the class loaderresourceName
- owner's resource namescript
- current scriptdirection
- the target directionIOException
- if failed to create a valid support objectIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.