Interface Executable


public interface Executable
Created on 08/11/17.
Author:
Reda.Housni-Alaoui
  • Method Details

    • 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 with
      sourceEncoding - The source encoding
      values - 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