jp.bitmeister.asn1.processor
Interface ASN1Processor<T,E extends java.lang.Throwable>

All Known Implementing Classes:
ASN1StringBuilder

public interface ASN1Processor<T,E extends java.lang.Throwable>

Interface for classes which apply some process to ASN.1 data.

This interface provides the common method for making processors which apply some process to ASN.1 data. A class that implements this interface is a processor that receives an ASN.1 data and returns an instance of T as the result. E indicates an exception that may be thrown while the process.

Author:
WATANABE, Jun.

Method Summary
 T process(ASN1Type data)
          Processing method.
 

Method Detail

process

T process(ASN1Type data)
          throws E extends java.lang.Throwable
Processing method.

Parameters:
data - The ASN.1 data.
Returns:
The result of this process.
Throws:
E - Thrown when an error occurred while the process.
E extends java.lang.Throwable