<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>WatchService とは JDK7でクロージャがやっぱり追加されることになったのはいいのですが、リリース時期が延びるそうで、NIO2を待たなければならないのは残念。ベータ版でNIO2を試してみよう。 WatchService とはファイルシステムに対する変更を監視できるサービス。自力でのポーリングなんかより簡単で効率よし。 β88(jdk-7-ea-bin-b88-windows-i586-08_apr_2010.exe)で試す。 WatchServiceのサンプル WatchService のサンプルはこんな感じ。 import java.nio.file.FileSystems; i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20100412%2F1271089782&quot; title=&quot;JDK7 の WatchService を試す - A Memorandum&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-04-12 01:29:42</published>
  <title>JDK7 の WatchService を試す</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/20100412/1271089782</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
