Class StringReader

  • All Implemented Interfaces:
    io.openapiprocessor.interfaces.Reader

    public class StringReader
    extends java.lang.Object
    implements io.openapiprocessor.interfaces.Reader
    simple reader implementation that creates an input stream of a fixed string. Probably only useful for testing.
    • Constructor Summary

      Constructors 
      Constructor Description
      StringReader​(java.lang.String content)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream read​(java.net.URI uri)  
      • Methods inherited from class java.lang.Object

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

      • StringReader

        public StringReader​(java.lang.String content)
    • Method Detail

      • read

        public java.io.InputStream read​(java.net.URI uri)
        Specified by:
        read in interface io.openapiprocessor.interfaces.Reader