de.saumya.mojo.ruby
Class ScriptUtils

java.lang.Object
  extended by de.saumya.mojo.ruby.ScriptUtils

public class ScriptUtils
extends Object


Method Summary
static InputStream getScriptAsStream(String name)
           
static InputStream getScriptAsStream(String name, Class<?> clazz)
           
static URL getScriptFromResource(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.