1 package jp.sourceforge.stigmata.command;
3 import java.io.BufferedReader;
4 import java.io.IOException;
5 import java.io.InputStream;
6 import java.io.InputStreamReader;
8 import jp.sourceforge.stigmata.BirthmarkContext;
9 import jp.sourceforge.stigmata.Stigmata;
13 * @author Haruaki Tamada
15 public class LicenseCommand extends AbstractStigmataCommand{
17 public String getCommandString(){
22 public void perform(Stigmata stigmata, BirthmarkContext context, String[] args){
24 InputStream in = getClass().getResourceAsStream("/META-INF/license.txt");
25 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
28 while((line = reader.readLine()) != null){
29 System.out.println(line);
32 }catch(IOException ex){