com.zeroturnaround.liverebel.util.exec.impl
Class StringScriptSource

java.lang.Object
  extended by com.zeroturnaround.liverebel.util.exec.impl.StringScriptSource
All Implemented Interfaces:
ScriptSource

public class StringScriptSource
extends Object
implements ScriptSource


Constructor Summary
StringScriptSource(String source)
           
 
Method Summary
 boolean fillFile(File file)
           
 String getSource()
           
 boolean isValidSource()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringScriptSource

public StringScriptSource(String source)
Method Detail

getSource

public String getSource()
Specified by:
getSource in interface ScriptSource
Returns:
scripts as a string.

fillFile

public boolean fillFile(File file)
                 throws IOException
Specified by:
fillFile in interface ScriptSource
Throws:
IOException

isValidSource

public boolean isValidSource()
Specified by:
isValidSource in interface ScriptSource

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.