Class Jsr199JavaCompiler.BytecodeFile

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

    protected static class Jsr199JavaCompiler.BytecodeFile
    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
      private byte[] bytecode  
      private java.lang.String className  
      • Fields inherited from class javax.tools.SimpleJavaFileObject

        kind, uri
    • Constructor Summary

      Constructors 
      Constructor Description
      BytecodeFile​(java.net.URI uri, java.lang.String className)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) byte[] getBytecode()  
      (package private) java.lang.String getClassName()  
      java.io.InputStream openInputStream()  
      java.io.OutputStream openOutputStream()  
      • Methods inherited from class javax.tools.SimpleJavaFileObject

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

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

      • bytecode

        private byte[] bytecode
      • className

        private java.lang.String className
    • Constructor Detail

      • BytecodeFile

        BytecodeFile​(java.net.URI uri,
                     java.lang.String className)
    • Method Detail

      • getClassName

        java.lang.String getClassName()
      • getBytecode

        byte[] getBytecode()
      • openOutputStream

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

        public java.io.InputStream openInputStream()
        Specified by:
        openInputStream in interface javax.tools.FileObject
        Overrides:
        openInputStream in class javax.tools.SimpleJavaFileObject