LinkListExtension extension

on

Properties

allAreAudio bool

Available on List<Link>, provided by the LinkListExtension extension

Returns whether all the resources in the collection are audio clips.
no setter
allAreBitmap bool

Available on List<Link>, provided by the LinkListExtension extension

Returns whether all the resources in the collection are bitmaps.
no setter
allAreHtml bool

Available on List<Link>, provided by the LinkListExtension extension

Returns whether all the resources in the collection are HTML documents.
no setter
allAreVideo bool

Available on List<Link>, provided by the LinkListExtension extension

Returns whether all the resources in the collection are video clips.
no setter

Methods

allMatchMediaType(MediaType mediaType) bool

Available on List<Link>, provided by the LinkListExtension extension

Returns whether all the resources in the collection are matching the given media type.
allMatchMediaTypes(List<MediaType> mediaTypes) bool

Available on List<Link>, provided by the LinkListExtension extension

Returns whether all the resources in the collection are matching any of the given media types.
deepLinkWithHref(String href) Link?

Available on List<Link>, provided by the LinkListExtension extension

filterByMediaType(MediaType mediaType) List<Link>

Available on List<Link>, provided by the LinkListExtension extension

Finds all the links matching the given media type.
filterByMediaTypes(List<MediaType> mediaTypes) List<Link>

Available on List<Link>, provided by the LinkListExtension extension

Finds all the links matching any of the given media types.
filterByRel(String rel) List<Link>

Available on List<Link>, provided by the LinkListExtension extension

Finds all the links with the given relation.
firstWithHref(String href) Link?

Available on List<Link>, provided by the LinkListExtension extension

Finds the first link matching the given HREF.
firstWithMediaType(MediaType mediaType) Link?

Available on List<Link>, provided by the LinkListExtension extension

Finds the first link matching the given media type.
firstWithRel(String rel) Link?

Available on List<Link>, provided by the LinkListExtension extension

Finds the first link with the given relation.
hrefCommonFirstComponent() File?

Available on List<Link>, provided by the LinkListExtension extension

Returns a File to the directory containing all links, if there is such a directory.
indexOfFirstWithHref(String href) int?

Available on List<Link>, provided by the LinkListExtension extension

Returns the first Link with the given href, or null if not found.