Class StringSource

  • All Implemented Interfaces:
    Source

    public class StringSource
    extends java.lang.Object
    implements Source
    • Constructor Summary

      Constructors 
      Constructor Description
      StringSource​(java.lang.String relativePath, java.lang.String content)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContent()  
      java.lang.String getRelativePath()  
      • Methods inherited from class java.lang.Object

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

      • StringSource

        public StringSource​(java.lang.String relativePath,
                            java.lang.String content)
    • Method Detail

      • getRelativePath

        public java.lang.String getRelativePath()
        Specified by:
        getRelativePath in interface Source
      • getContent

        public java.lang.String getContent()
        Specified by:
        getContent in interface Source