Interface Executable
public interface Executable
Created on 08/11/17.
- Author:
- Reda.Housni-Alaoui
-
Method Summary
Modifier and TypeMethodDescriptionappendCommandCall(String commandCall) Appends a command call to the executableremoveCommandCall(String commandCall) Remove a command call from the executabletruncate()Erase the executable contenttruncateWithTemplate(Supplier<InputStream> template, String sourceEncoding, Object... values)
-
Method Details
-
truncate
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
Appends a command call to the executable- Parameters:
commandCall- The command call to append to the executable- Throws:
IOException
-
removeCommandCall
Remove a command call from the executable- Parameters:
commandCall- The command call to remove
-