Interface ICookable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void cook​(InputStream is)
      Reads, scans, parses and compiles Java tokens from the given InputStream, encoded in the "platform default encoding".
      void cook​(InputStream is, String encoding)
      Reads, scans, parses and compiles Java tokens from the given InputStream with the given encoding.
      void cook​(Reader r)
      Reads, scans, parses and compiles Java tokens from the given Reader.
      void cook​(String s)
      Reads, scans, parses and compiles Java tokens from the given String.
      void cook​(String fileName, InputStream is)
      Reads, scans, parses and compiles Java tokens from the given InputStream, encoded in the "platform default encoding".
      void cook​(String fileName, InputStream is, String encoding)
      Reads, scans, parses and compiles Java tokens from the given InputStream with the given encoding.
      void cook​(String fileName, Reader r)
      Reads, scans, parses and compiles Java tokens from the given Reader.
      void cook​(String fileName, String s)
      Reads, scans, parses and compiles Java tokens from the given String.
      void cookFile​(File file)
      Reads, scans, parses and compiles Java tokens from the given File, encoded in the "platform default encoding".
      void cookFile​(File file, String encoding)
      Reads, scans, parses and compiles Java tokens from the given File with the given encoding.
      void cookFile​(String fileName)
      Reads, scans, parses and compiles Java tokens from the named file, encoded in the "platform default encoding".
      void cookFile​(String fileName, String encoding)
      Reads, scans, parses and compiles Java tokens from the named file with the given encoding.
      Map<String,​byte[]> getBytecodes()  
      void setSourceVersion​(int version)
      Specifies the version of source code accepted, in analogy with JAVAC's -source command line option.
      void setTargetVersion​(int version)
      Generates class files that target a specified release of the virtual machine, in analogy with JAVAC's -target command line option.