com.zeroturnaround.liverebel.util.exec.impl
Class ArchiveEntryScriptSource
java.lang.Object
com.zeroturnaround.liverebel.util.exec.impl.ArchiveEntryScriptSource
- All Implemented Interfaces:
- ScriptSource
public class ArchiveEntryScriptSource
- extends Object
- implements ScriptSource
ArchiveEntryScriptSource
public ArchiveEntryScriptSource(File archive,
String entryName)
ArchiveEntryScriptSource
public ArchiveEntryScriptSource(File archive,
String entryName,
String charset)
getSource
public String getSource()
throws IOException
- Specified by:
getSource in interface ScriptSource
- Returns:
- scripts as a string.
- Throws:
IOException - - if something goes wrong with reading the source
toString
public String toString()
- Overrides:
toString in class Object
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.