Class Script.Inline

  • Enclosing class:
    Script

    public static final class Script.Inline
    extends Script
    Script where the script is given as literal text.
    • Constructor Summary

      Constructors 
      Constructor Description
      Inline​(java.lang.String name, java.lang.String script)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Use a portion of the script as the name.
      java.io.Reader read()
      Returns a new reader that reads the script.
      • Methods inherited from class java.lang.Object

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

      • Inline

        public Inline​(java.lang.String name,
                      java.lang.String script)
    • Method Detail

      • getName

        public java.lang.String getName()
        Use a portion of the script as the name.
        Specified by:
        getName in class Script
      • read

        public java.io.Reader read()
        Description copied from class: Script
        Returns a new reader that reads the script.
        Specified by:
        read in class Script