Interface Executable
-
public interface ExecutableCreated on 08/11/17.- Author:
- Reda.Housni-Alaoui
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutableappendCommandCall(String commandCall)Appends a command call to the executableExecutableremoveCommandCall(String commandCall)Remove a command call from the executableExecutabletruncate()Erase the executable contentExecutabletruncateWithTemplate(Supplier<InputStream> template, String sourceEncoding, Object... values)
-
-
-
Method Detail
-
truncate
Executable truncate() throws IOException
Erase the executable content- Throws:
IOException
-
truncateWithTemplate
Executable truncateWithTemplate(Supplier<InputStream> template, String sourceEncoding, Object... values) throws IOException
- Parameters:
template- The template to truncate withsourceEncoding- The source encodingvalues- The values to use for the template interpolations- Throws:
IOException
-
appendCommandCall
Executable appendCommandCall(String commandCall) throws IOException
Appends a command call to the executable- Parameters:
commandCall- The command call to append to the executable- Throws:
IOException
-
removeCommandCall
Executable removeCommandCall(String commandCall)
Remove a command call from the executable- Parameters:
commandCall- The command call to remove
-
-