<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yonchu</author_name>
  <author_url>https://blog.hatena.ne.jp/yonchu/</author_url>
  <blog_title>よんちゅBlog</blog_title>
  <blog_url>https://yonchu.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>Zip解凍処理などは一度作ると次に作ることはなかなかないもの。 初めて使う人や久しぶりにコードを書く人などはググってコピペすることが多いだろう。というわけで、コピペ用のコードを残しておこうと思う。 Apache Antを使ってZipを解凍 Zipを扱う方法としては、Java標準にZipを扱うクラス群(java.util.zip)が存在するが、解凍・圧縮時共に文字コードをUTF-8として扱ってしまうため、環境によっては文字化けが起きてしまう。例えば、Windows上で圧縮したファイルまたはディレクトリの名前に日本語が含まれていた場合には正常に解凍できなかったりします。 この当たりの話は昔から有名…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyonchu.hatenablog.com%2Fentry%2F20100727%2F1280239709&quot; title=&quot;JavaでZipファイルを解凍(コピペ用) - よんちゅBlog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-07-27 23:08:29</published>
  <title>JavaでZipファイルを解凍(コピペ用)</title>
  <type>rich</type>
  <url>https://yonchu.hatenablog.com/entry/20100727/1280239709</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
