Class AIInOut.AIStreamInOut

  • All Implemented Interfaces:
    AIInOut
    Enclosing interface:
    AIInOut

    public static class AIInOut.AIStreamInOut
    extends Object
    implements AIInOut
    AIStreamInOut is an implementation of AIInOut that reads from an input stream.
    • Constructor Detail

      • AIStreamInOut

        public AIStreamInOut​(InputStream in)
        Constructs an AIStreamInOut instance.
        Parameters:
        in - the input stream to read from
    • Method Detail

      • write

        public void write​(String content)
        Writing to an input stream is not supported.
        Specified by:
        write in interface AIInOut
        Parameters:
        content - the string to write
      • getFile

        public File getFile()
        Description copied from interface: AIInOut
        The underlying file.
        Specified by:
        getFile in interface AIInOut