com.zeroturnaround.liverebel.util.exec.impl
Class StringScriptSource
java.lang.Object
com.zeroturnaround.liverebel.util.exec.impl.StringScriptSource
- All Implemented Interfaces:
- ScriptSource
public class StringScriptSource
- extends Object
- implements ScriptSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringScriptSource
public StringScriptSource(String source)
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
Copyright © 2013. All Rights Reserved.