< prev index next >

jdk/src/jdk.jline/share/classes/jdk/internal/jline/Terminal.java

Print this page


   1 /*
   2  * Copyright (c) 2002-2012, the original author or authors.
   3  *
   4  * This software is distributable under the BSD license. See the terms of the
   5  * BSD license in the documentation provided with this software.
   6  *
   7  * http://www.opensource.org/licenses/bsd-license.php
   8  */
   9 package jline;
  10 
  11 import java.io.IOException;
  12 import java.io.InputStream;
  13 import java.io.OutputStream;
  14 
  15 /**
  16  * Representation of the input terminal for a platform.
  17  *
  18  * @author <a href="mailto:mwp1@cornell.edu">Marc Prud'hommeaux</a>
  19  * @author <a href="mailto:jason@planet57.com">Jason Dillon</a>
  20  * @since 2.0
  21  */
  22 public interface Terminal
  23 {
  24     void init() throws Exception;
  25 
  26     void restore() throws Exception;
  27 
  28     void reset() throws Exception;
  29 


   1 /*
   2  * Copyright (c) 2002-2012, the original author or authors.
   3  *
   4  * This software is distributable under the BSD license. See the terms of the
   5  * BSD license in the documentation provided with this software.
   6  *
   7  * http://www.opensource.org/licenses/bsd-license.php
   8  */
   9 package jdk.internal.jline;
  10 
  11 import java.io.IOException;
  12 import java.io.InputStream;
  13 import java.io.OutputStream;
  14 
  15 /**
  16  * Representation of the input terminal for a platform.
  17  *
  18  * @author <a href="mailto:mwp1@cornell.edu">Marc Prud'hommeaux</a>
  19  * @author <a href="mailto:jason@planet57.com">Jason Dillon</a>
  20  * @since 2.0
  21  */
  22 public interface Terminal
  23 {
  24     void init() throws Exception;
  25 
  26     void restore() throws Exception;
  27 
  28     void reset() throws Exception;
  29 


< prev index next >