Package edu.harvard.hul.ois.jhove
Class InfoMessage
- java.lang.Object
-
- edu.harvard.hul.ois.jhove.Message
-
- edu.harvard.hul.ois.jhove.InfoMessage
-
public class InfoMessage extends Message
This class encapsulates an informational message from a Module, giving information (not necessarily a problem) about the content being analyzed or the way that JHOVE deals with it.
-
-
Field Summary
-
Fields inherited from class edu.harvard.hul.ois.jhove.Message
_offset, _subMessage, message, NULL
-
-
Constructor Summary
Constructors Constructor Description InfoMessage(JhoveMessage message)Creates an InfoMessage with an identifier.InfoMessage(JhoveMessage message, long offset)Creates an InfoMessage with an identifier.InfoMessage(JhoveMessage message, String subMessage)Creates an InfoMessage with an identifier.InfoMessage(JhoveMessage message, String subMessage, long offset)Creates an InfoMessage with an identifier.InfoMessage(String message)Creates an InfoMessage.InfoMessage(String message, long offset)Creates an InfoMessage.InfoMessage(String message, String subMessage)Creates an InfoMessage.InfoMessage(String message, String subMessage, long offset)Creates an InfoMessage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPrefix()-
Methods inherited from class edu.harvard.hul.ois.jhove.Message
getId, getJhoveMessage, getMessage, getOffset, getSubMessage
-
-
-
-
Constructor Detail
-
InfoMessage
public InfoMessage(String message)
Creates an InfoMessage.- Parameters:
message- Human-readable message giving the information.
-
InfoMessage
public InfoMessage(JhoveMessage message)
Creates an InfoMessage with an identifier.- Parameters:
message- The message text and its identifier.
-
InfoMessage
public InfoMessage(String message, long offset)
Creates an InfoMessage.- Parameters:
message- Human-readable message giving the information.offset- The offset in the file relevant to the situation being described.
-
InfoMessage
public InfoMessage(JhoveMessage message, long offset)
Creates an InfoMessage with an identifier.- Parameters:
message- The message text and its identifier.offset- The offset in the file relevant to the situation being described.
-
InfoMessage
public InfoMessage(String message, String subMessage)
Creates an InfoMessage.- Parameters:
message- Human-readable message giving the information.subMessage- Human-readable additional information.
-
InfoMessage
public InfoMessage(JhoveMessage message, String subMessage)
Creates an InfoMessage with an identifier.- Parameters:
message- The message text and its identifier.subMessage- Human-readable additional information.
-
InfoMessage
public InfoMessage(String message, String subMessage, long offset)
Creates an InfoMessage.- Parameters:
message- Human-readable message giving the information.subMessage- Human-readable additional information.offset- The offset in the file relevant to the situation being described.
-
InfoMessage
public InfoMessage(JhoveMessage message, String subMessage, long offset)
Creates an InfoMessage with an identifier.- Parameters:
message- The message text and its identifier.subMessage- Human-readable additional information.offset- The offset in the file relevant to the situation being described.
-
-