package validate;

import java.io.IOException;
import java.util.Properties;

import common.MessageStream;

/*必須入力チェッククラス*/
public class S004 {

	public String validate(String mail) throws IOException {
		/* メッセージ取得 */
		MessageStream me = new MessageStream();
		Properties inMessage = me.loadUtf8Properties("/Message.properties");

		/* SOL実行（未） */
		if (mail == null || mail.equals("")) {
			return inMessage.getProperty("M03");
		} else {
			return null;
		}
	}
}
