org.eclipse.higgins.icard.io
Interface IInputProcessor


public interface IInputProcessor


Method Summary
 IFormatDescriptor checkInput(InputStream is)
          Checks whether this IInputProcessor can process the input stream.
 IElement[] process(InputStream is, ICredential credential)
          Processes input stream and returns an array of IElements extracted.
 

Method Detail

checkInput

public IFormatDescriptor checkInput(InputStream is)
                             throws CardIOException
Checks whether this IInputProcessor can process the input stream.

Returns:
the information about input stream data format if it could be processed by this IInputProcessor and null otherwise.
Throws:
CardIOException

process

public IElement[] process(InputStream is,
                          ICredential credential)
                   throws CardIOException
Processes input stream and returns an array of IElements extracted.

Throws:
CardIOException - TODO