Package com.pd4ml
Class StatusMessage
- java.lang.Object
-
- com.pd4ml.StatusMessage
-
public class StatusMessage extends java.lang.Object
Conversion status message class. Instances of the class can be returned byPD4ML.getLastRenderInfo(String)
method call and usually identify conversion errors or warnings, i.e. the resulting PDF does not conform PDF/A (if PDF/A requested)
-
-
Field Summary
Fields Modifier and Type Field Description static int
ERROR
static StatusMessage[]
messages
static int
WARNING
-
Constructor Summary
Constructors Constructor Description StatusMessage(int type, int id, java.lang.String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addUniqueMessage(java.util.Vector<StatusMessage> statusMessages, StatusMessage message)
java.lang.Object
clone()
java.lang.String
getDetails()
java.lang.String
getMessage()
static StatusMessage
getMessage(int id, java.lang.String details)
boolean
isError()
boolean
isWarning()
void
setDetails(java.lang.String details)
-
-
-
Field Detail
-
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
-
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
-
messages
public static StatusMessage[] messages
-
-
Method Detail
-
getMessage
public static StatusMessage getMessage(int id, java.lang.String details)
-
addUniqueMessage
public static void addUniqueMessage(java.util.Vector<StatusMessage> statusMessages, StatusMessage message)
-
clone
public java.lang.Object clone()
-
getDetails
public java.lang.String getDetails()
-
setDetails
public void setDetails(java.lang.String details)
-
isError
public boolean isError()
-
isWarning
public boolean isWarning()
-
getMessage
public java.lang.String getMessage()
-
-