{"id":7646,"date":"2011-08-18T21:00:39","date_gmt":"2011-08-18T12:00:39","guid":{"rendered":"http:\/\/www.sssg.org\/blogs\/hiro345\/?p=7646"},"modified":"2012-01-17T15:58:03","modified_gmt":"2012-01-17T06:58:03","slug":"base64%e3%81%ae%e3%82%a8%e3%83%b3%e3%82%b3%e3%83%bc%e3%83%89%e3%81%a8%e3%83%87%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%a0%e3%82%92java%e3%81%a7%e5%ae%9f%e7%8f%be","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/7646.html","title":{"rendered":"Base64\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\u3068\u30c7\u30b3\u30fc\u30c9\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Java\u3067\u5b9f\u73fe\u3059\u308b\u306b\u306f"},"content":{"rendered":"<p>Base64\u306b\u3064\u3044\u3066\u306f\u3001\u300c<a href=\"http:\/\/ja.wikipedia.org\/wiki\/Base64\">Base64 &#8211; Wikipedia<\/a>\u300d\u306b\u8a73\u3057\u304f\u3042\u308a\u307e\u3059\u304c\u300164\u7a2e\u985e\u306e\u5370\u5b57\u53ef\u80fd\u306a\u82f1\u6570\u5b57\u306e\u307f\u3092\u7528\u3044\u3066\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u3092\u542b\u3080\u30c7\u30fc\u30bf\u3092\u8868\u73fe\u3059\u308b\u305f\u3081\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\u65b9\u5f0f\u3067\u3059\u3002Linux\u306e\u30b3\u30de\u30f3\u30c9\u306b\u306f\u3001\u3053\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\u3067\u8868\u73fe\u3055\u308c\u305f\u6587\u5b57\u5217\u3092\u6271\u3046\u305f\u3081\u306e\u3001base64\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u304c\u3042\u308a\u3001\u3053\u308c\u3092\u4f7f\u3046\u3068\u3001\u6587\u5b57\u5217\u3092Base64\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u305f\u308a\u3001\u30c7\u30b3\u30fc\u30c9\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08<a href=\"\/\/www.sssg.org\/blogs\/hiro345\/archives\/4362.html\">base64 | hiro345<\/a>\uff09\u3002\u666e\u6bb5\u306f\u3053\u308c\u3092\u4f7f\u3063\u3066\u3044\u308c\u3070\u3044\u3044\u306e\u3067\u3059\u304c\u3001Java\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u3067\u540c\u69d8\u306e\u51e6\u7406\u3092\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p><!--more-->\u3044\u304f\u3064\u304b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001Apache Commons Codec\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\uff08<a href=\"http:\/\/commons.apache.org\/codec\/\">Codec &#8211; Home<\/a>\u304b\u3089\u5165\u624b\u53ef\u80fd\uff09\u3092\u4f7f\u3046\u65b9\u6cd5\u3068\u3001JavaMail\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\uff08<a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javamail\/index.html\">JavaMail API<\/a>\u304b\u3089\u5165\u624b\u53ef\u80fd\uff09\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u524d\u8005\u306f76\u6587\u5b57\u6539\u884c\u3055\u308c\u306a\u3044\u6587\u5b57\u5217\u3068\u306a\u308b\u306e\u3067\u3001\u81ea\u524d\u3067\u5909\u63db\u304c\u5fc5\u8981\u306a\u3088\u3046\u3067\u3059\u3002\u5f8c\u8005\u306f\u6539\u884c\u3055\u308c\u305f\u30c7\u30fc\u30bf\u304c\u5165\u624b\u3067\u304d\u308b\u306e\u3067\u3001\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p>byte\u306e\u914d\u5217\u3092\u4f7f\u3063\u305f\u51e6\u7406\u306b\u306a\u308b\u306e\u3067\u3001\u82e5\u5e72\u8907\u96d1\u306a\u6c17\u304c\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3053\u3053\u3067\u306fUTF-8\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u6587\u5b57\u3092\u6271\u3046\u3068\u3044\u3046\u524d\u63d0\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u5024\u3092byte\u914d\u5217\u306e\u307e\u307e\u30c7\u30b3\u30fc\u30c9\u3059\u308b\u3053\u3068\u306f\u666e\u901a\u306f\u306a\u304f\u3001\u3044\u3063\u305f\u3093\u6587\u5b57\u3067\u8868\u73fe\u3055\u308c\u305f\u5024\u3067\u4fdd\u5b58\u3057\u3066\u304b\u3089\u3001\u305d\u308c\u3092\u5225\u306e\u3068\u3053\u308d\u3067\u30c7\u30b3\u30fc\u30c9\u3059\u308b\u306f\u305a\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u3044\u3063\u305f\u3093encodedStr\u3067\u6587\u5b57\u5217\u8868\u73fe\u306b\u5909\u63db\u3057\u305f\u308a\u3001\u305d\u3053\u304b\u3089encodedStr.getBytes(&quot;UTF&#x2d;8&quot;) \u306e\u3088\u3046\u306a\u51e6\u7406\u3092\u3057\u3066decoded\u306ebyte\u914d\u5217\u3092\u53d6\u5f97\u3057\u305f\u308a\u3057\u3066\u3044\u307e\u3059\u3002API\u306e\u5229\u7528\u65b9\u6cd5\u3060\u3051\u77e5\u308a\u305f\u3044\u4eba\u306b\u3068\u3063\u3066\u306f\u3001\u5197\u9577\u306a\u51e6\u7406\u306b\u898b\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"brush: java; gutter: true\">\r\npackage org.sssg.soft.sample.codec.base64;\r\n \r\nimport java.io.ByteArrayInputStream;\r\nimport java.io.ByteArrayOutputStream;\r\nimport java.io.IOException;\r\nimport java.io.InputStream;\r\nimport java.io.OutputStream;\r\nimport java.io.UnsupportedEncodingException;\r\nimport java.util.ArrayList;\r\nimport java.util.List;\r\n \r\nimport javax.mail.MessagingException;\r\nimport javax.mail.internet.MimeUtility;\r\n \r\nimport org.apache.commons.codec.binary.Base64;\r\n \r\npublic class App {\r\n  String[] list = { &quot;ABCDEFG&quot;, &quot;0123456789&quot;, &quot;\u3042\u3044\u3046\u3048\u304a&quot;,\r\n      &quot;\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082&quot;, };\r\n  byte[] encoded = new byte[0];\r\n  byte[] decoded = new byte[0];\r\n \r\n  public void commonsBase64() {\r\n    for (String str : list) {\r\n      String encodedStr = &quot;&quot;;\r\n      String decodedStr = &quot;&quot;;\r\n      try {\r\n        encoded = Base64.encodeBase64(str.getBytes(&quot;UTF-8&quot;));\r\n        encodedStr = new String(encoded);\r\n        byte[] decodedByte = encodedStr.getBytes(&quot;UTF-8&quot;);\r\n        decoded = Base64.decodeBase64(decodedByte);\r\n        decodedStr = new String(decoded);\r\n      } catch (UnsupportedEncodingException e) {\r\n        e.printStackTrace();\r\n      }\r\n      print(str, spilit(encodedStr), decodedStr);\r\n    }\r\n  }\r\n  \r\n  public void javaxmailBase64() {\r\n    for (String str : list) {\r\n      String encodedStr = &quot;&quot;;\r\n      String decodedStr = &quot;&quot;;\r\n      try {\r\n        byte[] bs = str.getBytes(&quot;UTF-8&quot;);\r\n            ByteArrayOutputStream baos = new ByteArrayOutputStream();\r\n            OutputStream os = MimeUtility.encode(baos, &quot;base64&quot;);\r\n            os.write(bs);\r\n            os.close();\r\n        encoded = baos.toByteArray();\r\n        encodedStr = new String(encoded);\r\n        \r\n        bs = encodedStr.getBytes(&quot;UTF-8&quot;);        \r\n            byte[] tmp = new byte[bs.length];\r\n            ByteArrayInputStream bais = new ByteArrayInputStream(bs);\r\n            InputStream is = MimeUtility.decode(bais, &quot;base64&quot;);\r\n            int n = is.read(tmp);\r\n            decoded = new byte[n];\r\n            System.arraycopy(tmp, 0, decoded, 0, n);\r\n        decodedStr = new String(decoded);\r\n      } catch (UnsupportedEncodingException e) {\r\n        e.printStackTrace();\r\n      } catch (MessagingException e) {\r\n        e.printStackTrace();\r\n      } catch (IOException e) {\r\n        e.printStackTrace();\r\n      }\r\n      print(str, encodedStr, decodedStr);\r\n \r\n    }\r\n  }\r\n \r\n  public void print(String str, List&lt;String&gt; encodedLines, String decodedStr) {\r\n    System.out.println(str);\r\n    printLine();\r\n    print(encodedLines);\r\n    printLine();\r\n    System.out.println(decodedStr);\r\n    System.out.println(&quot;&quot;);\r\n    System.out.println(&quot;&quot;);\r\n  }\r\n  \r\n  public void print(String str, String encodedStr, String decodedStr) {\r\n    System.out.println(str);\r\n    printLine();\r\n    System.out.println(encodedStr);\r\n    printLine();\r\n    System.out.println(decodedStr);\r\n    System.out.println(&quot;&quot;);\r\n    System.out.println(&quot;&quot;);\r\n  }\r\n  \r\n  public void print(List&lt;String&gt; lines) {\r\n    for (String s: lines) {\r\n      System.out.println(s);\r\n    }\r\n  }\r\n  \r\n  private final static int LINE_LENGTH = 76;\r\n  public List&lt;String&gt; spilit(String line) {\r\n    List&lt;String&gt; lines = new ArrayList&lt;String&gt;();\r\n    int i = 0;\r\n    while (i&lt;line.length()) {\r\n      int end = i + LINE_LENGTH;\r\n      if (end &gt; line.length()) {\r\n        end = line.length();\r\n      }\r\n      String s = line.substring(i, end);\r\n      lines.add(s);\r\n      i += LINE_LENGTH;\r\n    }\r\n    return lines;\r\n  }\r\n  private void printLine() {\r\n    for (int i = 0; i &lt; LINE_LENGTH; i++) {\r\n      System.out.print(&quot;-&quot;);\r\n    }\r\n    System.out.println(&quot;&quot;);\r\n  }\r\n  public static void main(String[] args) {\r\n    App app = new App();\r\n    System.out.println(&quot;Apache Commons Codec:---------------------&quot;);\r\n    app.commonsBase64();\r\n    System.out.println(&quot;javax.mail.internet.MimeUtility:----------&quot;);\r\n    app.javaxmailBase64();\r\n  }\r\n}\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<div class=\"code\" style=\"overflow: scroll; width: 490px; white-space: nowrap;background-color:black;color:white;padding:4px;\">Apache&nbsp;Commons&nbsp;Codec&#x3a;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;<br \/>\nABCDEFG<br \/>\n&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d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2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;<br \/>\n44GC44GE44GG44GI44GK44GL44GN44GP44GR44GT44GV44GX44GZ44Gb44Gd44Gf44Gh44Gk44Gm<br \/>\n44Go44Gq44Gr44Gs44Gt44Gu44Gv44Gy44G144G444G744G+44G&#x2f;44KA44KB44KC<br \/>\n&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;<br \/>\n\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082<\/p>\n<p>javax.mail.internet.MimeUtility&#x3a;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;<br \/>\nABCDEFG<br \/>\n&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x2d;&#x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3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Base64\u306b\u3064\u3044\u3066\u306f\u3001\u300cBase64 &#8211; Wikipedia\u300d\u306b\u8a73\u3057\u304f\u3042\u308a\u307e\u3059\u304c\u300164\u7a2e\u985e\u306e\u5370\u5b57\u53ef\u80fd\u306a\u82f1\u6570\u5b57\u306e\u307f\u3092\u7528\u3044\u3066\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u3092\u542b\u3080\u30c7\u30fc\u30bf\u3092\u8868\u73fe\u3059\u308b\u305f\u3081\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\u65b9\u5f0f\u3067\u3059\u3002Linux\u306e\u30b3\u30de\u30f3\u30c9\u306b\u306f &hellip; <a href=\"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/7646.html\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[243,1207,564],"class_list":["post-7646","post","type-post","status-publish","format-standard","hentry","category-java","tag-base64","tag-java","tag-mime"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/7646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=7646"}],"version-history":[{"count":4,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/7646\/revisions"}],"predecessor-version":[{"id":8677,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/7646\/revisions\/8677"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=7646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=7646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=7646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}