Package digilib.io
Class ImageUrl
- java.lang.Object
-
- digilib.io.ImageInput
-
- digilib.io.ImageUrl
-
public class ImageUrl extends ImageInput
- Author:
- casties
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class digilib.io.ImageInput
ImageInput.InputTag
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check()
Checks the image and sets size and type.ImageInputStream
getImageInputStream()
Returns the input as ImageInputStream (if available)ImageSize
getSize()
ImageSize
getTileSize()
boolean
hasImageInputStream()
Returns if the input can be returned as ImageInputStream.-
Methods inherited from class digilib.io.ImageInput
getAspect, getFile, getInputStream, getMimetype, getTags, hasFile, hasInputStream, hasMimetype, hasTag, isChecked, setMimetype, setSize, setTag, setTags, setTileSize
-
-
-
-
Method Detail
-
hasImageInputStream
public boolean hasImageInputStream()
Description copied from class:ImageInput
Returns if the input can be returned as ImageInputStream.- Overrides:
hasImageInputStream
in classImageInput
- Returns:
- has ImageInputStream
-
getImageInputStream
public ImageInputStream getImageInputStream()
Description copied from class:ImageInput
Returns the input as ImageInputStream (if available)- Overrides:
getImageInputStream
in classImageInput
- Returns:
- the ImageInputStream
-
check
public void check()
Checks the image and sets size and type.
-
getSize
public ImageSize getSize()
- Overrides:
getSize
in classImageInput
- Returns:
- ImageSize
-
getTileSize
public ImageSize getTileSize()
- Overrides:
getTileSize
in classImageInput
- Returns:
- the tileSize
-
-