-
- All Implemented Interfaces:
-
org.readium.r2.shared.util.SuspendingCloseable
public interface Fetcher implements SuspendingCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFetcher.Companion
-
Method Summary
Modifier and Type Method Description abstract List<Link>links()Known resources available in the medium, such as file paths on the file system or entries in a ZIP archive. abstract Resourceget(Link link)Returns the Resource at the given link's HREF. Resourceget(String href)Returns the Resource at the given href. -
-
Method Detail
-
links
abstract List<Link> links()
Known resources available in the medium, such as file paths on the file system or entries in a ZIP archive. This list is not exhaustive, and additional unknown resources might be reachable.
If the medium has an inherent resource order, it should be followed. Otherwise, HREFs are sorted alphabetically.
-
-
-
-