de.saumya.mojo.ruby
Class ScriptUtils
java.lang.Object
de.saumya.mojo.ruby.ScriptUtils
public class ScriptUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getScriptAsStream
public static InputStream getScriptAsStream(String name)
throws IOException
- Throws:
IOException
getScriptAsStream
public static InputStream getScriptAsStream(String name,
Class<?> clazz)
throws IOException
- Throws:
IOException
getScriptFromResource
public static URL getScriptFromResource(String name)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.