text
stringlengths
3
1.18M
package com.google.code.main; import java.util.List; import org.dom4j.DocumentException; import org.tanukisoftware.wrapper.WrapperListener; import org.tanukisoftware.wrapper.WrapperManager; import com.google.code.robot.HeroConf; import com.google.code.robot.Player; import com.google.code.robot.Robot; public class W...
package com.google.code.main; import java.util.List; import org.dom4j.DocumentException; import org.tanukisoftware.wrapper.WrapperListener; import org.tanukisoftware.wrapper.WrapperManager; //import org.apache.commons.lang3.StringEscapeUtils; import com.google.code.robot.HeroConf; import com.google.code....
package com.google.code.main; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; //import com.google.code.constant.T; import com.google.code....
package com.google.code.main; import com.google.code.robot.Player; import com.google.code.robot.Robot; public class FM { /** * @param args */ public static void main(String[] args) { Player gaoxiaochao = new Player("gaoxiaochao", "qwertyui"); Player wanghuaichao = new Player("wanghuaichao", "qw...
package com.google.code.main; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; //import com.google.code.constant.T; import com.google.code.web.HttpEngi...
package com.google.code.io; import java.io.PrintStream; import java.io.UnsupportedEncodingException; public class OUT { private static String DEFAULT_ENCODING = "UTF-8"; public static void setDefaultEncoding(String encoding) throws UnsupportedEncodingException { new PrintStream(System.out, true, encoding); ...
package com.google.code.constant; public enum STATUS { NORMAL("\u6B63\u5E38"), WEAK("\u865A\u5F31"), DEAD("\u6B7B\u4EA1"), COMBAT("\u4FEE\u70BC\u4E2D"), TRAIN("\u8BAD\u7EC3\u4E2D"), TEACH("\u6388\u827A\u4E2D"), FIGHT("\u6218\u6597\u4E2D"); public final String val; private STATUS(String val)...
package com.google.code.constant; public enum DECISION { TRUE, FALSE, UNKNOWN }
package com.google.code.constant; public enum WUGUAN { DUEL("\u7ADE\u6280\u573A"), HELP_MISSION("\u4E50\u4E8E\u52A9\u4EBA"), TEACH(""), DEFENCE(""), ATTACK(""), SLAVER(""), GET_WEAL("\u9526\u4E0A\u6DFB\u82B1"), DONATE(""), BROKE_LIMIT("\u7A81\u7834\u754C\u9650"), COLLECT(""), ILLUSION_TOWER(""), WORL...
package com.google.code.constant; public enum STR { NOT_LOGIN("\u672A\u767B\u5F55"), START_WEAL("\u5F00\u59CB\u5360\u535C"), MAINTAINING("\u7EF4\u62A4"), SERVER_SHUTDOWN("\u505C\u670D"), ALREADY_IN_SCENE("\u5df2\u7ecf\u5728\u5f53\u524d\u573a\u666f\u4e2d"); public String msg; private STR(String...
package com.google.code.constant; public enum WEAL { GOT("\u5DF2\u9886\u53D6"), GET("\u7ACB\u5373\u9886\u53D6"); public final String val; private WEAL(String val) { this.val = val; } }
package com.google.code.constant; import java.util.Random; public class N { public static int RND() { return new Random().nextInt(100); } public static int RND(int s, int t) { int rnd = new Random().nextInt(); rnd = rnd < 0 ? rnd * -1 : rnd; return rnd % (t - s + 1) + s; } }
package com.google.code.constant; public enum WARRIOR { JOIN("\u7ACB\u5373\u62A5\u540D"), GET("\u9886\u53D6"), STATISTICS("\u7EDF\u8BA1\u4E2D"), PAST_DUE(""), GOT("\u5DF2\u9886\u53D6"); public final String val; private WARRIOR(String val) { this.val = val; } }
package com.google.code.constant; public enum BEAUTY { SET(""), SET_NEXT_TIME("\u9886\u53D6\u5956\u52B1"); public final String val; private BEAUTY(String val) { this.val = val; } }
package com.google.code.constant; import java.text.Format; import java.text.SimpleDateFormat; import java.util.Calendar; import com.google.code.util.RTE; public class T { public static final long _1SinMS = 1000; public static final long _1MinMS = 60 * _1SinMS; public static final long _1HinMS = 60 * _1...
package com.google.code.constant; public enum ALIGN { LEFT, CENTER, RIGHT; }
package com.google.code.constant; public enum ITEM_POS { EQUIP("equip"), SHOP("shop"), PACK("pack"); public final String val; private ITEM_POS(String val) { this.val = val; } }
package com.google.code.constant; public enum MISSION { AUTO("\u81EA\u52A8\u5B8C\u6210"), ACCEPT("\u63A5\u53D7\u4EFB\u52A1"), COMPLETED("\u5DF2\u5B8C\u6210"), IMMEDIATE("\u7ACB\u5373\u5B8C\u6210"), COMPLETING("\u5B8C\u6210\u4E2D"), ACCEPTED("\u8FDB\u884C\u4E2D"), GET_REWARD("\u9886\u53D6\u5956\...
package dk.ucn.datamatiker.henrik.bundtkage.earthcake; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.text.ParseException; import java.text.SimpleDateFormat; impo...
package dk.ucn.datamatiker.henrik.bundtkage.earthcake; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class EarthCakeActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCont...
package dk.ucn.datamatiker.henrik.bundtkage.earthcake; import java.util.Date; import java.text.SimpleDateFormat; import android.location.Location; public class Quake { private Date date; private String details; private Location location; private double magnitude; private String link; public Date...
/** Automatically generated file. DO NOT MODIFY */ package dk.ucn.datamatiker.henrik.bundtkage.earthcake; public final class BuildConfig { public final static boolean DEBUG = true; }
package home.diy; import home.diy.UI.Menu_vertical; import home.diy.UI.Action_frag; import home.diy.UI.System_Info; import java.util.List; import android.app.Activity; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.app.ProgressDialog; import android.content.Intent; import ...
package home.diy; import android.os.Handler; import android.os.SystemClock; import android.widget.TextView; public class UpdateTime implements Runnable { private long time,lastupdate; private TextView texttime; private Handler handler; public UpdateTime(TextView text,long lastup,Handler h){ lastupdate=lastu...
package home.diy; import home.diy.UI.Mydialog; import android.app.Activity; import android.app.Dialog; import android.app.Fragment; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import...
package home.diy; import java.util.Properties; import com.jcraft.jsch.JSch; import com.jcraft.jsch.JSchException; import com.jcraft.jsch.Session; public class StoredSession { private Properties config; private JSch jsch; private String userName, serverUrl, password; private int portNumber; /** * Create a St...
package home.diy.UI; import home.diy.R; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; // voir pour créer une classe derive de Listfragment. public class Menu_vertical extends Fragment { public Menu_vertical() { }...
package home.diy.UI; import home.diy.Ecouteur; import home.diy.R; import home.diy.SshSystemInfo; import home.diy.UpdateTime; import java.util.List; import java.util.Timer; import android.app.Fragment; import android.app.ProgressDialog; import android.os.Bundle; import android.os.Handler; import android.os.SystemCloc...
package home.diy.UI; import android.app.DialogFragment; import android.app.Fragment; import android.app.FragmentTransaction; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.Button; imp...
package home.diy; import home.diy.UI.System_Info; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import android.os.AsyncTask; import com.jcraft.jsch.Channel; import com.jcraft.jsch.ChannelExec; import com.jcraft.jsch.JSchException; import com.jcraft.jsch.S...
package home.diy; public class Server{ private String servername,ipaddress,login,password; private int port; public Server(String name){ servername=name; } public Server(String name,String ip, String log, String pass, int port){ setServername(name); setIpaddress(ip); setLogin(log); setPassword(pa...
package home.diy; import android.app.Activity; public class SessionStorageGestion extends Activity { private String Filename = "Sessions"; public SessionStorageGestion() { } public void storeTheSession(String url, String username, String pass, int port) { } }
package home.diy; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class PreferenceFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedI...
package home.diy; import java.util.List; import com.jcraft.jsch.Session; public interface Ecouteur { public void publishedResult(Session result); public void updateProgress(String[] progress); public void publishStringResult(String result); public void publishListResult(List<String> result); }
package home.diy; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import android.os.AsyncTask; import com.jcraft.jsch.Channel; import com.jcraft.jsch.ChannelExec; import com.jcraft.jsch.JSch; import com.jcraft.jsch.JSchException; import com.jcraft.jsch.Session; public class SshU...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
package edu.uci.ics.crawler4j.url; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Set; public class TLDList { private final String tldNamesFileName = "tld-names.txt"; private Set<String> tldSet = new HashSet<>(); private s...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * This class is adopted from Htmlunit with the following copyright: * * Copyright (c) 2002-2012 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://ww...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"; you may ...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
package edu.uci.ics.crawler4j.parser; public class ExtractedUrlAnchorPair { private String href; private String anchor; public String getHref() { return href; } public void setHref(String href) { this.href = href; } public String getAnchor() { return anchor; } public void setAnchor(String anchor) {...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
package com.otakingex.fourtypes; /** * ViewConstants * 定数をまとめたインターフェイス。 * @author Tasuku */ public interface ViewConstants { // URL /* public static final String URL_TOP = "http://www.amazon.co.jp/exec/obidos/ASIN/4023308838/otakingex01-22/"; public static final String URL_KING = "http://otaking-ex.j...
package com.otakingex.fourtypes; import java.util.LinkedList; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.otakingex.fourtypes.control.Utils; import com.otakin...
package com.otakingex.fourtypes.control; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import java.util.TreeMap; import java.util.TreeSet; import java.util.logging.Level; import java.util.logg...
package com.otakingex.fourtypes.control; import java.util.Calendar; import java.util.Date; import java.util.Enumeration; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Random; import java.util.TimeZone; import java.util.TreeSet; import javax.servlet.http.HttpSe...
package com.otakingex.fourtypes; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.otakingex.fourtypes.control.Utils; import com.otakingex.fourtypes.control.WorkoutC...
package com.otakingex.fourtypes; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.otakingex.fourtypes.model.Count; import com.otakingex.fourtypes.store.BigTableStoreManager; public cla...
package com.otakingex.fourtypes; import java.util.LinkedList; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.otakingex.fourtypes.control.Utils; import com.otakin...
package com.otakingex.fourtypes; import java.io.IOException; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.RequestDispatcher; import javax.servlet.ServletContext; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletReques...
package com.otakingex.fourtypes.store; import javax.jdo.JDOHelper; import javax.jdo.PersistenceManagerFactory; public class PMF { private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory("transactions-optional"); private PMF() {} public stati...
package com.otakingex.fourtypes.store; import java.io.UnsupportedEncodingException; import java.util.Properties; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; import javax.mail.Message.RecipientType; import javax.mail.internet.InternetAddress; import javax.mai...
package com.otakingex.fourtypes.store; import java.util.logging.Level; import java.util.logging.Logger; import javax.jdo.PersistenceManager; import javax.jdo.PersistenceManagerFactory; import javax.jdo.Transaction; import com.otakingex.fourtypes.ViewConstants; import com.otakingex.fourtypes.control.Wo...
package com.otakingex.fourtypes; import java.util.Properties; import java.util.logging.Level; import java.util.logging.Logger; import javax.mail.Session; import javax.mail.Transport; import javax.mail.Message.RecipientType; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage;...
package com.otakingex.fourtypes; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.otakingex.fourtypes.control.Utils; import com.otakingex.fourtypes.control.WorkoutC...
package com.otakingex.fourtypes.master; public class TestMaster20110203 implements TestMaster { /** * シリアルバージョンUID */ private static final long serialVersionUID = -7593781657021847992L; /** * テスト1(王様・軍人指向/学者・職人指向)問題配列。 * 設問、A側(王様・軍人)回答、B側(学者・職人)回答の配列。 */ public static final String[][] TRO...
package com.otakingex.fourtypes.master; public class TestMasterSampleImpl implements TestMaster { private static final long serialVersionUID = -2706887852985362493L; private static final String[][] TROPISMARRAY = { {"1+1は?", "2", "いつも2とは限らない"}, {"神さまは", "信じる", "人間の妄想にすぎない"} }; private static final...
package com.otakingex.fourtypes.master; public class TestMasterManager { public static final String SYSPROP_KEY_CURRENTMASTER = "type4.currentmaster"; private static TestMasterManager manager = new TestMasterManager(); private TestMaster master = null; private TestMasterManager(){ String class...
package com.otakingex.fourtypes.master; import java.io.Serializable; public interface TestMaster extends Serializable { public String[][] getTropismArray(); public String[][] getKingSoldArray(); public String[][] getSchlCrftArray(); }