frameworkplugins/com.nokia.s60tools.util/src/com/nokia/s60tools/util/cmdline/DefaultLineReader.java
changeset 0 61163b28edca
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/frameworkplugins/com.nokia.s60tools.util/src/com/nokia/s60tools/util/cmdline/DefaultLineReader.java	Tue Jan 12 13:17:53 2010 -0600
@@ -0,0 +1,43 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+ 
+ 
+package com.nokia.s60tools.util.cmdline;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+
+
+/**
+ * An example instance of ICustomLineReader interface.
+ * This is used by default if no user-defined custom
+ * parser has not been passed for command executor
+ * instance.
+ *
+ *@see com.nokia.s60tools.util.cmdline.ICustomLineReader
+ */
+public class DefaultLineReader implements ICustomLineReader {
+
+	/* (non-Javadoc)
+	 * @see com.nokia.s60tools.util.cmdline.ICustomLineReader#readLine(java.io.BufferedReader, com.nokia.s60tools.util.cmdline.ICmdLineCommandExecutorObserver)
+	 */
+	public String readLine(BufferedReader br, 
+						   ICmdLineCommandExecutorObserver observer) throws IOException {		
+		return br.readLine();
+	}
+
+}