Uses of Class
nl.siegmann.epublib.domain.MediaType
Packages that use MediaType
-
Uses of MediaType in nl.siegmann.epublib.domain
Fields in nl.siegmann.epublib.domain declared as MediaTypeMethods in nl.siegmann.epublib.domain that return MediaTypeMethods in nl.siegmann.epublib.domain with parameters of type MediaTypeModifier and TypeMethodDescriptionprivate StringResources.createHref(MediaType mediaType, int counter) static ResourceResources.findFirstResourceByMediaType(Collection<Resource> resources, MediaType mediaType) Gets the first resource (random order) with the give mediatype.Resources.findFirstResourceByMediaType(MediaType mediaType) Gets the first resource (random order) with the give mediatype.Resources.getResourcesByMediaType(MediaType mediaType) All resources that have the given MediaType.Resources.getResourcesByMediaTypes(MediaType[] mediaTypes) All Resources that match any of the given list of MediaTypesvoidResource.setMediaType(MediaType mediaType) Constructors in nl.siegmann.epublib.domain with parameters of type MediaTypeModifierConstructorDescriptionCreates a Resource with the given data and MediaType.Creates a resource with the given id, data, mediatype at the specified href.Creates a resource with the given id, data, mediatype at the specified href. -
Uses of MediaType in nl.siegmann.epublib.epub
Method parameters in nl.siegmann.epublib.epub with type arguments of type MediaTypeModifier and TypeMethodDescriptionstatic ResourcesResourcesLoader.loadResources(ZipFile zipFile, String defaultHtmlEncoding, List<MediaType> lazyLoadedTypes) Loads the entries of the zipFile as resources.EpubReader.readEpubLazy(ZipFile zipFile, String encoding, List<MediaType> lazyLoadedTypes) Reads this EPUB without loading all resources into memory.private static booleanResourcesLoader.shouldLoadLazy(String href, Collection<MediaType> lazilyLoadedMediaTypes) Whether the given href will load a mediaType that is in the collection of lazilyLoadedMediaTypes. -
Uses of MediaType in nl.siegmann.epublib.service
Fields in nl.siegmann.epublib.service declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaTypeMediatypeService.CSSstatic final MediaTypeMediatypeService.EPUBstatic final MediaTypeMediatypeService.GIFstatic final MediaTypeMediatypeService.JAVASCRIPTstatic final MediaTypeMediatypeService.JPGstatic MediaType[]MediatypeService.mediatypesstatic final MediaTypeMediatypeService.MP3static final MediaTypeMediatypeService.MP4static final MediaTypeMediatypeService.NCXstatic final MediaTypeMediatypeService.OGGstatic final MediaTypeMediatypeService.OPENTYPEstatic final MediaTypeMediatypeService.PLSstatic final MediaTypeMediatypeService.PNGstatic final MediaTypeMediatypeService.SMILstatic final MediaTypeMediatypeService.SVGstatic final MediaTypeMediatypeService.TTFstatic final MediaTypeMediatypeService.WOFFstatic final MediaTypeMediatypeService.XHTMLstatic final MediaTypeMediatypeService.XPGTFields in nl.siegmann.epublib.service with type parameters of type MediaTypeMethods in nl.siegmann.epublib.service that return MediaTypeModifier and TypeMethodDescriptionstatic MediaTypeMediatypeService.determineMediaType(String filename) Gets the MediaType based on the file extension.static MediaTypeMediatypeService.getMediaTypeByName(String mediaTypeName) Methods in nl.siegmann.epublib.service with parameters of type MediaTypeModifier and TypeMethodDescriptionstatic booleanMediatypeService.isBitmapImage(MediaType mediaType)