edu.harvard.hul.ois.jhove
Class InfoMessage

java.lang.Object
  extended by edu.harvard.hul.ois.jhove.Message
      extended by 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
_message, _offset, _subMessage, NULL
 
Constructor Summary
InfoMessage(java.lang.String message)
          Create an InfoMessage.
InfoMessage(java.lang.String message, long offset)
          Create an InfoMessage.
InfoMessage(java.lang.String message, java.lang.String subMessage)
          Create an InfoMessage.
InfoMessage(java.lang.String message, java.lang.String subMessage, long offset)
          Create an InfoMessage.
 
Method Summary
 
Methods inherited from class edu.harvard.hul.ois.jhove.Message
getMessage, getOffset, getSubMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoMessage

public InfoMessage(java.lang.String message)
Create an InfoMessage.

Parameters:
message - Human-readable string giving the information.

InfoMessage

public InfoMessage(java.lang.String message,
                   long offset)
Create an InfoMessage.

Parameters:
message - Human-readable string giving the information.
offset - The offset in the file relevant to the situation being described

InfoMessage

public InfoMessage(java.lang.String message,
                   java.lang.String subMessage)
Create an InfoMessage.

Parameters:
message - Human-readable string giving the information.
subMessage - Human-readable additional information.

InfoMessage

public InfoMessage(java.lang.String message,
                   java.lang.String subMessage,
                   long offset)
Create an InfoMessage.

Parameters:
message - Human-readable string giving the information.
subMessage - Human-readable additional information.
offset - The offset in the file relevant to the situation being described