org.unitils.dbmaintainer.script
Class ScriptContentHandle.UrlScriptContentHandle
java.lang.Object
org.unitils.dbmaintainer.script.ScriptContentHandle
org.unitils.dbmaintainer.script.ScriptContentHandle.UrlScriptContentHandle
- Enclosing class:
- ScriptContentHandle
public static class ScriptContentHandle.UrlScriptContentHandle
- extends ScriptContentHandle
A handle for getting the script content as a stream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptContentHandle.UrlScriptContentHandle
public ScriptContentHandle.UrlScriptContentHandle(URL url)
- Creates a content handle.
- Parameters:
url
- The url to the content, not null
getScriptInputStream
protected InputStream getScriptInputStream()
- Opens a stream to the content of the script.
- Specified by:
getScriptInputStream
in class ScriptContentHandle
- Returns:
- The content stream, not null
Copyright © 2011. All Rights Reserved.