package validate;

import java.io.IOException;
import java.util.Properties;

import common.MessageStream;

public class S007 {
	public S007() {
	}

	/* メールアドレスは31文字以内で入力してください */
	public String execute(String ua) throws IOException {
		/* メッセージ取得 */
		MessageStream me = new MessageStream();
		Properties inMessage = me.loadUtf8Properties("/Message.properties");

		/* SOL実行（未） */
		if (ua.length() <=4 || ua.length() >=45) {
			return inMessage.getProperty("M06");
		} else {
			return null;
		}
	}
}

