📄 stringhandler.java
字号:
/* * $Id: StringHandler.java,v 1.1.1.1 2002/06/05 21:56:32 root Exp $ * * Developed for "Rethinking CS101", a project of Lynn Andrea Stein's AP Group. * For more information, see <a href="http://www.ai.mit.edu/projects/cs101/">the * CS101 homepage</a> or email <las@ai.mit.edu>. * * Copyright (C) 1996 Massachusetts Institute of Technology. * Please do not redistribute without obtaining permission. */package cs101.util;/** An interface for objects that can handle Strings received from the * network by cs101.net.Client. * <p> * Copyright (c) 1998 Massachusetts Institute of Technology * * @see cs101.net.Client * * @author Lynn Andrea Stein, las@ai.mit.edu * @version $Id: StringHandler.java,v 1.1.1.1 2002/06/05 21:56:32 root Exp $ */public interface StringHandler { public void handleString( String s );} /* * $Log: StringHandler.java,v $ * Revision 1.1.1.1 2002/06/05 21:56:32 root * CS101 comes to Olin finally. * * Revision 1.4 1998/07/24 17:19:34 tparnell * Placate new javadoc behavior * * Revision 1.3 1998/07/23 15:10:45 tparnell * *** empty log message *** * * Revision 1.2 1998/07/23 14:57:34 tparnell * javadoc fix * * Revision 1.1 1998/03/13 22:18:22 tparnell * Import from server crash. I think the src and class files match up. * * Revision 1.1 1996/11/18 17:25:06 las * Added revised SharedWhiteboard support classes. These versions of * Client and Server supercede the previous ones and are not directly * backwards compatible. In particular, Server is an instantiable class * rather than a primarily static one (use RunServer to run it), and * Client uses StringHandler rather than subclassing to specialize it. * Line.java just picked up some obscure documentation along the way. * Otherwise, classes are direct imports from SharedWhiteboard. * * Revision 1.2 1996/11/17 22:28:19 las * Everything compiles (now). Client, Server, ClientDialog, ServerDialog, * StringHandler, and RunServer need to be moved to cs101.util. But * first, to test.... * */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -