<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nue_of_k</author_name>
  <author_url>https://blog.hatena.ne.jp/nue_of_k/</author_url>
  <blog_title>萎草の茂るブログ</blog_title>
  <blog_url>https://blog.nue2004.info/</blog_url>
  <categories>
    <anon>Computer</anon>
  </categories>
  <description>私が Java で書くプログラムでは、クラスの絶対パスを取得する際 クラス名.class.getProtectionDomain().getCodeSource().getLocation().getPath(); 或いはそのインスタンスから呼び出す場合は this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath(); のようにしています。しかしこいつが結構な曲者で、例えば C:\い ろ+は のようなパス名だった場合、 /C:/%e3%81%84%20%e3%82%8d+%e3%81%af/ のように…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.nue2004.info%2Fentry%2F20121123%2F1353665482&quot; title=&quot; [Java] クラスの絶対パス名の取得と日本語・記号のデコードの問題 - 萎草の茂るブログ&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>2012-11-23 19:11:22</published>
  <title> [Java] クラスの絶対パス名の取得と日本語・記号のデコードの問題</title>
  <type>rich</type>
  <url>https://blog.nue2004.info/entry/20121123/1353665482</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
