Package org.joor

Class Compile.JavaFileObject

  • All Implemented Interfaces:
    javax.tools.FileObject, javax.tools.JavaFileObject
    Enclosing class:
    Compile

    static final class Compile.JavaFileObject
    extends javax.tools.SimpleJavaFileObject
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface javax.tools.JavaFileObject

        javax.tools.JavaFileObject.Kind
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.io.ByteArrayOutputStream os  
      • Fields inherited from class javax.tools.SimpleJavaFileObject

        kind, uri
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaFileObject​(java.lang.String name, javax.tools.JavaFileObject.Kind kind)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) byte[] getBytes()  
      java.lang.CharSequence getCharContent​(boolean ignoreEncodingErrors)  
      java.io.OutputStream openOutputStream()  
      • Methods inherited from class javax.tools.SimpleJavaFileObject

        delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUri
      • Methods inherited from class java.lang.Object

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

      • os

        final java.io.ByteArrayOutputStream os
    • Constructor Detail

      • JavaFileObject

        JavaFileObject​(java.lang.String name,
                       javax.tools.JavaFileObject.Kind kind)
    • Method Detail

      • getBytes

        byte[] getBytes()
      • openOutputStream

        public java.io.OutputStream openOutputStream()
        Specified by:
        openOutputStream in interface javax.tools.FileObject
        Overrides:
        openOutputStream in class javax.tools.SimpleJavaFileObject
      • getCharContent

        public java.lang.CharSequence getCharContent​(boolean ignoreEncodingErrors)
        Specified by:
        getCharContent in interface javax.tools.FileObject
        Overrides:
        getCharContent in class javax.tools.SimpleJavaFileObject