<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://as5202t-5748.myasustor.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://as5202t-5748.myasustor.com/feed.php">
        <title>ria-web - study:java</title>
        <description></description>
        <link>https://as5202t-5748.myasustor.com/</link>
        <image rdf:resource="https://as5202t-5748.myasustor.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-07-05T12:22:48+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:compress&amp;rev=1270478684&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:csv&amp;rev=1437626029&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:encoding&amp;rev=1243390992&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:enumerated_type&amp;rev=1210262368&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:file_delete&amp;rev=1211516207&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:filter&amp;rev=1278504902&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:jmail&amp;rev=1266846658&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:netbeans&amp;rev=1207891897&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:rememberme&amp;rev=1738922779&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:sharepoint&amp;rev=1625807581&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:start&amp;rev=1738573616&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:struts&amp;rev=1281061979&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:struts2&amp;rev=1230891698&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:threadpool&amp;rev=1312344707&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:xdoclet&amp;rev=1208305627&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://as5202t-5748.myasustor.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>ria-web</title>
        <link>https://as5202t-5748.myasustor.com/</link>
        <url>https://as5202t-5748.myasustor.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:compress&amp;rev=1270478684&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-05T14:44:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>compress</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:compress&amp;rev=1270478684&amp;do=diff</link>
        <description>Compressing a byte array in the ZIP format

バイトarrayを圧縮したり、zipファイルを出力したりするのは、java.util.zipのAPIを用いれば簡単に出来る。

では、バイトarrayを圧縮してzipファイルで出力するのも可能なのか？結論から言えば可能だ。</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:csv&amp;rev=1437626029&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-07-23T04:33:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>csv</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:csv&amp;rev=1437626029&amp;do=diff</link>
        <description>Introduction

CSV(comma-separated variables)はデータをカンマ(“,”)で区切って並べたファイル形式で
主に表計算ソフトやデータベースソフトがデータを保存する時に使うformatである。

汎用性が高く、多くの電子手帳やワープロソフトなどでも利用できるため、異なる種類のアプリケーションソフト間の
データ交換に使われることも多い。</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:encoding&amp;rev=1243390992&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-27T02:23:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>encoding</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:encoding&amp;rev=1243390992&amp;do=diff</link>
        <description>半角カタカナの判定

半角カタカナの文字コードは、シフトJISで、a1 - df、Unicodeで、ff61 - ff9f なので、その判定方法は、


①If &amp;Ha1 &lt;= Asc(c) And Asc(c) &lt;= &amp;Hdf Then &#039;半角カタカナ

②If &#039;\uff61&#039; &lt;= _c &amp;&amp; _c &lt;= &#039;\uff9f&#039; Then &#039;半角カタカナ</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:enumerated_type&amp;rev=1210262368&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-05-08T15:59:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>enumerated_type</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:enumerated_type&amp;rev=1210262368&amp;do=diff</link>
        <description>Abstract utility class for impelementing an enumerated type in Java


/**
 * Abstract utility class for impelementing an enumerated type in Java.
 * Usage:
 * &lt;code&gt; GenderType gender = GenderType.MALE; &lt;code&gt;
 *
 * Subclasses should create a set of unique public final static instances, and
 * then add them to the static lists in the static constructor with &lt;pre&gt;addInstance&lt;/pre&gt;.
 *
 * See {@link OutputType} for an example.
 *
 * @author Kito D. Mann
 * @version 1.0
 */
public abstract class En…</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:file_delete&amp;rev=1211516207&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-05-23T04:16:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>file_delete</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:file_delete&amp;rev=1211516207&amp;do=diff</link>
        <description>File.delete() problem in Java

今、取り掛かっているプロジェクトでリソースpropertiesファイルの内容を変更するツールを開発している。

主なロジックの流れは次のとおり。


	*  xxx.propertiesのコピーxxx.properties_orgを作成する。</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:filter&amp;rev=1278504902&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-07T12:15:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>filter</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:filter&amp;rev=1278504902&amp;do=diff</link>
        <description>Java Servlet Filter

servlet에 의해 동적으로 생성된 이미지를 클라이언트쪽에 캐싱시키는 방법을 소개한다.
Struts Framework를 사용하고 있다면, RequestProcessor class를 확장해서 요청처리전에 Cache-Control의 Response
header를 설정함으로써 캐쉬 설정을 할 수 있다.</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:jmail&amp;rev=1266846658&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-22T13:50:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>jmail</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:jmail&amp;rev=1266846658&amp;do=diff</link>
        <description>JavaMail 日本語の文字化け

ここでは、JavaMailを利用しメッセージを送る時、起こる文字化けについて纏めたいと思う。

ちなみに、メイラーによる文字化けの現象に関してはreferenceを参考してほしい。</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:netbeans&amp;rev=1207891897&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-11T05:31:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>netbeans</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:netbeans&amp;rev=1207891897&amp;do=diff</link>
        <description>useful hot key

Here is some useful hot keys for Netbeans. But I prefer eclipse to netbeans personally. :-(
               Netbeans  Eclipse  Run to cursor    F4    Ctrl+R   Starts debugger    F5                       Lanches the midlet without debugging</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:rememberme&amp;rev=1738922779&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-07T10:06:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>rememberme</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:rememberme&amp;rev=1738922779&amp;do=diff</link>
        <description>Spring rememeber-meログイン

ログインを維持してくれるremember-meログイン機能をSpring securityを用いて実装する方法を紹介します。

実装形態は次節で説明しますが、ここでは、persistence token実装形態を選択しています。</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:sharepoint&amp;rev=1625807581&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-07-09T05:13:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sharepoint</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:sharepoint&amp;rev=1625807581&amp;do=diff</link>
        <description>Java consuming SharePoint REST API

SharePoint2016オンプレ環境のREST APIと連携するJava Clientの実装例を紹介します。

SharePoint RESTサービスの概要

SharePoint 2016ではREST(REpresentational State Transfer)サービスを導入しています。</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:start&amp;rev=1738573616&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-03T09:06:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:start&amp;rev=1738573616&amp;do=diff</link>
        <description>* Java

	*  Struts Framework
	*  Struts2
	*  NetBeans
	*  xDoclet
	*  encoding
	*  CSV
	*  compressing a byte array
	*  JavaMail 文字化け
	*  Implementing an enumerated type in Java
	*  File.delete() problem in Java
	*  Thread Pool Example
	*  Servlet Filter
	*  Generate xml with Dom
	*  Java consuming SharePoint REST API
	*  Sharepoint online連携
	*  Spring remembermeログイン</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:struts&amp;rev=1281061979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-06T02:32:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>struts</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:struts&amp;rev=1281061979&amp;do=diff</link>
        <description>Cache Control

you can control the cache of JSP pages with extending RequestProcessor.class


protected void processContent(HttpServletRequest request, HttpServletResponse response) {
 	if (request.getServletPath().equals(&quot;/order/orderGear.do&quot;)){
	       logger.info( request.getServletPath() + &quot; is CACHE ON!&quot;);
                if (logger.isDebugEnabled()) {
		        logger.debug(&quot;CACHE ON&quot;);
		}
		response.setHeader(&quot;Cache-control&quot;, &quot;Public, max-age:1800&quot;);
		response.setHeader(&quot;Expires&quot;, &quot;1&quot;);…</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:struts2&amp;rev=1230891698&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-02T10:21:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>struts2</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:struts2&amp;rev=1230891698&amp;do=diff</link>
        <description>Struts2 memo

[Struts2]

	*  Prerequisite libraries for setup</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:threadpool&amp;rev=1312344707&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-08-03T04:11:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>threadpool</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:threadpool&amp;rev=1312344707&amp;do=diff</link>
        <description>Why a Thread Pool?

multi-thread program에서 실행되는 thread의 수가 많아질수록 실행되는데 걸리는 시간보다 thread간에 처리를 옮기는 데 시간을 더 많이 소비하게된다.

이 문제를 해결하기 위해 ThreadPool을 사용한다.</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:xdoclet&amp;rev=1208305627&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-16T00:27:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>xdoclet</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:xdoclet&amp;rev=1208305627&amp;do=diff</link>
        <description>XDoclet Parsing Error

現象


(TemplateEngine.invokeMethod         547 ) Invoking method failed: xdoclet.tagshandler.ClassTagsHandler.forAllClasses, line=36 of template file: jar:file:/D:/nbproject/Eric/resource/lib/xdoclet-1.2.3/xdoclet-web-module-1.2.3.jar!/xdoclet/modules/web/resources/web_xml.xdt

java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
以下　政略</description>
    </item>
</rdf:RDF>
