Class AtoB


  • public class AtoB
    extends java.lang.Object
    The AtoB class is a utility program designed to "translate" an ASCII BASE 64 encoded blob into a BINARY BASE 64 encoded blob. It assumes that the name of a data file is passed to the program via the command line, and that the contents contain a blob encoded in an ASCII BASE 64 format. Note that the data file may contain an optional "-----BEGIN" header and/or an optional "-----END" trailer.

    The program may be invoked as follows:

    
          AtoB <input filename> <output filename>
    
          NOTE:  <input filename>   must contain an ASCII
                                    BASE 64 encoded blob
    
                 <output filename>  contains a BINARY
                                    BASE 64 encoded blob
     
    Version:
    $Revision$, $Date$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ARGC  
      static java.lang.String HEADER  
      static java.lang.String TRAILER  
    • Constructor Summary

      Constructors 
      Constructor Description
      AtoB()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] argv)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AtoB

        public AtoB()
    • Method Detail

      • main

        public static void main​(java.lang.String[] argv)