public interface CommandUnwrapper
Command unwrapCommand(java.io.InputStream wrappedCommandStream, IProgressMonitor monitor) throws java.io.IOException, InvalidCommandFormatException
It creates a
Command from the specified stream. Command contents can be accessed from the
Command.getCommandInputStream() method. The verification of the stream is triggered ONLY when the stream
has been entirely consumed.
wrappedCommandStream- DER encoded stream.
monitor- the progress monitor to use for reporting progress to the user. It is the caller's responsibility to call done() on the given monitor. Accepts
null, indicating that no progress should be reported and that the operation cannot be cancelled.
java.io.IOException- if an I/O error occurs.
InvalidCommandFormatException- if an error occurs while unwrapping the command.