投稿

10月, 2015の投稿を表示しています

Java のgetResourceAsStreamについて

参考元URL:http://sweng.web.fc2.com/ja/program/java/how-to-use-getresourceasstream.html   因みに、拡張子問わず何のファイルでも行ける。   通常: getClass (). getResourceAsStream ( "aiueo/app.properties" );   static: TestApp2 . class . getResourceAsStream ( " aiueo/ app.properties" ); クラスパス: getClass (). getClassLoader (). getResourceAsStream ( " aiueo/ app.properties" );