かずきのBlog@hatena

すきな言語は C# + XAML の組み合わせ。Azure Functions も好き。最近は Go 言語勉強中。日本マイクロソフトで働いていますが、ここに書いていることは個人的なメモなので会社の公式見解ではありません。

Velocity

Velocityを使ったプログラム

Javaのコード private void execute() { try { InputStream is = this.getClass().getResourceAsStream( "velocity.properties"); Properties prop = new Properties(); prop.load(is); Velocity.init(prop); Template template = Velocity.getTemplate( "sa…

プロパティの設定色々

velocity.logを出力しない runtime.log.logsystem.class=org.apache.velocity.runtime.log.NullLogSystem jarの中からテンプレートを探す resource.loader = jar jar.resource.loader.description = Velocity Jar Resource Loader jar.resource.loader.class…