接口 OutputHandler

  • 所有已知实现类:
    DefaultOutputHandler

    public interface OutputHandler
    Manage user output to different sources.
    版本:
    $Id: OutputHandler.java 2649 2005-10-10 16:51:51Z brett $
    作者:
    Brett Porter
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static java.lang.String ROLE  
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void write​(java.lang.String line)
      Write a single line of input, excluding the newline at the end.
      void writeLine​(java.lang.String line)
      Write a single line of input, including the newline at the end.
    • 字段详细资料

      • ROLE

        static final java.lang.String ROLE
    • 方法详细资料

      • write

        void write​(java.lang.String line)
            throws java.io.IOException
        Write a single line of input, excluding the newline at the end.
        参数:
        line - the line
        抛出:
        java.io.IOException
      • writeLine

        void writeLine​(java.lang.String line)
                throws java.io.IOException
        Write a single line of input, including the newline at the end.
        参数:
        line - the line
        抛出:
        java.io.IOException