Interface ContentToFiles

  • 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 ContentToFiles
    Retrieve all files/objects for a specific ContentReference, specific to table formats.
    • Method Detail

      • extractFiles

        @MustBeClosed
        java.util.stream.Stream<FileReference> extractFiles​(@NotNull @NotNull
                                                            @NotNull @NotNull ContentReference contentReference)
        Extracts all files and base locations from the given Content object.
        Parameters:
        contentReference - content object to extract all files and base location(s) from
        Returns:
        stream of all files used by the provided content object - only the FileReference.base() and FileReference.path() attributes of the returned FileReferences contain useful information (aka the modification time is set to an arbitrary value and must be ignored). The FileReference.base() attribute must correspond to the base path of the referenced content.