jp.bitmeister.asn1.processor
Class ASN1StringBuilder

java.lang.Object
  extended by jp.bitmeister.asn1.processor.ASN1StringBuilder
All Implemented Interfaces:
ASN1Processor<java.lang.String,ASN1RuntimeException>

public class ASN1StringBuilder
extends java.lang.Object
implements ASN1Processor<java.lang.String,ASN1RuntimeException>

Processor that builds string representation of ASN.1 data.

An instance of this class is set to the stringBuilder field of ASN1Type class and used for toString method.

Author:
WATANABE, Jun.
See Also:
ASN1Type

Constructor Summary
ASN1StringBuilder()
          Instantiates an ASN1StringBuilder.
 
Method Summary
 java.lang.String process(ASN1Type data)
          Returns a string representation of the ASN.1 data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASN1StringBuilder

public ASN1StringBuilder()
Instantiates an ASN1StringBuilder.

Method Detail

process

public java.lang.String process(ASN1Type data)
Returns a string representation of the ASN.1 data.

Specified by:
process in interface ASN1Processor<java.lang.String,ASN1RuntimeException>
Parameters:
data - The ASN.1 data.
Returns:
A string representation of the ASN.1 data.


Copyright © 2012 BitMeister Inc. All Rights Reserved.