Class CheckingReport
java.lang.Object
com.adobe.epubcheck.api.MasterReport
com.adobe.epubcheck.reporting.CheckingReport
- All Implemented Interfaces:
LocalizableReport, Report
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final CheckerMetadata(package private) Map<String, ItemMetadata> (package private) List<ItemMetadata> (package private) final List<CheckMessage> (package private) final PrintWriter(package private) final PublicationMetadataFields inherited from class MasterReport
allReportedMessageIds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgenerate()Called to create a report after the checks have been made(package private) Map<String, ItemMetadata> (package private) List<ItemMetadata> getItems()(package private) void(package private) longvoidinfo(String resource, FeatureEnum feature, String value) Called when when a feature is found in epub.voidCalled when a report if first createdvoidmessage(Message message, EPUBLocation location, Object... args) Called when a violation of the standard is found in epub.(package private) void(package private) void(package private) void(package private) voidMethods inherited from class MasterReport
close, getCustomMessageFile, getDictionary, getEpubFileName, getErrorCount, getFatalErrorCount, getInfoCount, getLocale, getMessages, getReportingLevel, getUsageCount, getWarningCount, message, setCustomMessageFile, setEpubFileName, setLocale, setOverrideFile, setReportingLevel
-
Field Details
-
checker
-
publication
-
itemIndex
Map<String, ItemMetadata> itemIndex -
items
List<ItemMetadata> items -
messages
-
out
-
-
Constructor Details
-
CheckingReport
-
-
Method Details
-
setParameters
void setParameters() -
generate
public int generate()Description copied from interface:ReportCalled to create a report after the checks have been made -
initialize
public void initialize()Description copied from interface:ReportCalled when a report if first created -
getJsonReport
- Throws:
IOException
-
sortCollections
void sortCollections() -
getProcessDuration
long getProcessDuration() -
setStartDate
void setStartDate() -
setStopDate
void setStopDate() -
message
Description copied from interface:ReportCalled when a violation of the standard is found in epub.- Parameters:
message- The message being reportedlocation- location information for the messageargs- Arguments referenced by the format string for the message.
-
info
Description copied from interface:ReportCalled when when a feature is found in epub.- Parameters:
resource- name of the resource in the epub zip container that has this feature or null if the feature is on the container level.feature- a keyword to know what kind of feature has been foundvalue- value found
-
getItems
List<ItemMetadata> getItems() -
getItemIndex
Map<String, ItemMetadata> getItemIndex()
-