Package org.lockss.laaws.crawler.model
Class MimeCounter
java.lang.Object
org.lockss.laaws.crawler.model.MimeCounter
A counter for mimeTypes seen during a crawl.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncounterLink(String counterLink) booleangetCount()The number of elements of mime typeA link to the list of count elements or to a pager with count elements.@NotNull StringThe mime type to count.inthashCode()voidvoidsetCounterLink(String counterLink) voidsetMimeType(String mimeType) toString()
-
Constructor Details
-
MimeCounter
public MimeCounter()
-
-
Method Details
-
mimeType
-
getMimeType
The mime type to count.- Returns:
- mimeType
-
setMimeType
-
count
-
getCount
The number of elements of mime type- Returns:
- count
-
setCount
-
counterLink
-
getCounterLink
A link to the list of count elements or to a pager with count elements.- Returns:
- counterLink
-
setCounterLink
-
equals
-
hashCode
public int hashCode() -
toString
-