<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>agt</author_name>
  <author_url>https://blog.hatena.ne.jp/agt/</author_url>
  <blog_title>アガテナ</blog_title>
  <blog_url>https://agt.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>DI</anon>
  </categories>
  <description>*.propertiesなどから値を読み込むには、java.util.Properites、java.util.ResourceBundleなんかを使うのが普通だと思います。だけど、DIを使い慣れてくると、*.properties読み取り用にもっと良いインターフェイスが欲しくなりませんか？java.util.Properites、java.util.ResourceBundleともに実装クラスなんで、オートインジェクションが効かないしね。 public interface Config { String getString(String key); Map toMap(); } こんなんで十分…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fagt.hatenadiary.org%2Fentry%2F20041108%2Fp1&quot; title=&quot;設定ファイル用のインターフェイス - アガテナ&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>2004-11-08 00:00:00</published>
  <title>設定ファイル用のインターフェイス</title>
  <type>rich</type>
  <url>https://agt.hatenadiary.org/entry/20041108/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
