Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Base64 Encoder/Decoder - Decode.java

Decode.java

Caricato da:
Scarica il programma completo

  1. import java.io.IOException;
  2.  
  3. import javax.swing.JTextArea;
  4.  
  5.  
  6. public class Decode implements ICtrl {
  7.  
  8.         public void execute(JTextArea TextAreaI, JTextArea TextAreaO) throws IOException {
  9.                 String Str = TextAreaI.getText();
  10.                 byte[] txti = new sun.misc.BASE64Decoder().decodeBuffer(Str);
  11.                 String dec = new String(txti);
  12.                 TextAreaO.setText(dec);
  13.                
  14.         }
  15.  
  16.  
  17. }