| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Thumbnail |
|
| 1.0;1 |
| 1 | package net.spy.digg; | |
| 2 | ||
| 3 | /** | |
| 4 | * Thumbnail as may appear on a story. | |
| 5 | */ | |
| 6 | public interface Thumbnail { | |
| 7 | ||
| 8 | /** | |
| 9 | * Get the original width of the image. | |
| 10 | */ | |
| 11 | int getWidth(); | |
| 12 | ||
| 13 | /** | |
| 14 | * Get the original height of the image. | |
| 15 | */ | |
| 16 | int getHeight(); | |
| 17 | ||
| 18 | /** | |
| 19 | * Get the width of the thumbnail of the image. | |
| 20 | */ | |
| 21 | int getTnWidth(); | |
| 22 | ||
| 23 | /** | |
| 24 | * Get the height of the thumbnail of the image. | |
| 25 | */ | |
| 26 | int getTnHeight(); | |
| 27 | ||
| 28 | /** | |
| 29 | * Get the content type of the link. | |
| 30 | */ | |
| 31 | String getContentType(); | |
| 32 | ||
| 33 | /** | |
| 34 | * Get the URL of the thumbnail. | |
| 35 | */ | |
| 36 | String getURL(); | |
| 37 | } |