Class NaiveUserAgent.ByteStream

  • All Implemented Interfaces:
    FSStream
    Enclosing class:
    NaiveUserAgent

    private static class NaiveUserAgent.ByteStream
    extends java.lang.Object
    implements FSStream
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] input  
    • Constructor Summary

      Constructors 
      Constructor Description
      ByteStream​(byte[] input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.Reader getReader()  
      java.io.InputStream getStream()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • input

        private final byte[] input
    • Constructor Detail

      • ByteStream

        ByteStream​(byte[] input)
    • Method Detail

      • getStream

        public java.io.InputStream getStream()
        Specified by:
        getStream in interface FSStream
      • getReader

        public java.io.Reader getReader()
        Specified by:
        getReader in interface FSStream