-
- All Implemented Interfaces:
-
org.readium.r2.shared.publication.asset.PublicationAsset
public final class FileAsset implements PublicationAsset
Represents a publication stored as a file on the local file system.
-
-
Method Summary
Modifier and Type Method Description StringgetName()Name of the asset, e.g. final FilegetFile()MediaTypemediaType()Media type of the asset. Try<Fetcher, Publication.OpeningException>createFetcher(PublicationAsset.Dependencies dependencies, String credentials)Creates a fetcher used to access the asset's content. StringtoString()-
-
Method Detail
-
createFetcher
Try<Fetcher, Publication.OpeningException> createFetcher(PublicationAsset.Dependencies dependencies, String credentials)
Creates a fetcher used to access the asset's content.
-
-
-
-