org.springframework.boot.loader.tools

Interface LaunchScript

  • All Known Implementing Classes:
    DefaultLaunchScript
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface LaunchScript
    A script that can be prepended to the front of a JAR file to make it executable.
    Since:
    1.3.0
    Author:
    Phillip Webb
    • Method Detail

      • toByteArray

        byte[] toByteArray()
        The content of the launch script as a byte array.
        Returns:
        the script bytes