Class AbstractManifestParser
- java.lang.Object
-
- de.digitalcollections.iiif.bookshelf.business.impl.service.AbstractManifestParser
-
- Direct Known Subclasses:
GraciousManifestParser,StrictCollectionParser,StrictManifestParser
public abstract class AbstractManifestParser extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractManifestParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ThumbnailcreateThumbnail(java.util.List<de.digitalcollections.iiif.model.image.Size> sizes, java.lang.String serviceUrl, boolean isV1)abstract voidfillSummary(IiifManifestSummary manifestSummary)protected java.io.InputStreamgetContentInputStream(java.lang.String uri)protected java.io.InputStreamgetContentInputStream(java.net.URI uri)
-
-
-
Method Detail
-
createThumbnail
protected Thumbnail createThumbnail(java.util.List<de.digitalcollections.iiif.model.image.Size> sizes, java.lang.String serviceUrl, boolean isV1)
-
getContentInputStream
protected java.io.InputStream getContentInputStream(java.lang.String uri) throws java.net.URISyntaxException, java.lang.UnsupportedOperationException, java.io.IOException- Throws:
java.net.URISyntaxExceptionjava.lang.UnsupportedOperationExceptionjava.io.IOException
-
getContentInputStream
protected java.io.InputStream getContentInputStream(java.net.URI uri) throws java.lang.UnsupportedOperationException, java.io.IOException- Throws:
java.lang.UnsupportedOperationExceptionjava.io.IOException
-
fillSummary
public abstract void fillSummary(IiifManifestSummary manifestSummary) throws java.io.IOException, java.net.URISyntaxException
- Throws:
java.io.IOExceptionjava.net.URISyntaxException
-
-