接口 Layout

    • 方法详细资料

      • getLibraryDestination

        String getLibraryDestination​(String libraryName,
                                     LibraryScope scope)
        Returns the destination path for a given library.
        参数:
        libraryName - the name of the library (excluding any path)
        scope - the scope of the library
        返回:
        the destination relative to the root of the archive (should end with '/') or null if the library should not be included.
      • getClassesLocation

        String getClassesLocation()
        Returns the location of classes within the archive.
        返回:
        the classes location
      • isExecutable

        boolean isExecutable()
        Returns if loader classes should be included to make the archive executable.
        返回:
        if the layout is executable