public interface WarningProducer extends Localized
LogRecordobjects and given to the
warningOccurredmethod. The (sometime indirect) result of a call to
warningOccurredis one of the following choices:
Otherwise the record is logged using the
LOGGER declared in this interface.
warningOccuredmethod delegates its work to an other
ImageWriteris found. For example the chain of delegations can be as below:
Warnings are localized for a locale typically inferred from the image reader or writer. The locale can be specified by a call to the
method defined in the
|Modifier and Type||Field and Description|
The logger to use as a fallback when no warning listener can be reach.
static final Logger LOGGER
boolean warningOccurred(LogRecord record)
WarningProducerinterface. However it can also be invoked by other classes that forward their warnings, like below:
record- The warning that occurred.
trueif the message has been sent to at least one warning listener, or
falseif it has been sent to the logging system as a fallback.
Copyright © 2009-2013 Geotoolkit.org. All Rights Reserved.