Class MemoryFile

  • All Implemented Interfaces:
    javax.tools.FileObject, javax.tools.JavaFileObject
    Direct Known Subclasses:
    MemoryByteCode, MemorySource

    public class MemoryFile
    extends javax.tools.SimpleJavaFileObject
    this is just a dummy class used for serialization -- it is providing a non-parametric constructor
    • Nested Class Summary

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

        javax.tools.JavaFileObject.Kind
    • Field Summary

      • Fields inherited from class javax.tools.SimpleJavaFileObject

        kind, uri
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        MemoryFile()
      the non parametric constructor is important here for making serialization work
      protected MemoryFile​(java.net.URI uri, javax.tools.JavaFileObject.Kind kind)
      construct a SimpleJavaFileObject of the given kind and with the given URI.
    • Method Summary

      • Methods inherited from class javax.tools.SimpleJavaFileObject

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

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

      • MemoryFile

        protected MemoryFile​(java.net.URI uri,
                             javax.tools.JavaFileObject.Kind kind)
        construct a SimpleJavaFileObject of the given kind and with the given URI.
        Parameters:
        uri - the URI for this file object
        kind - the kind of this file object
      • MemoryFile

        public MemoryFile()
        the non parametric constructor is important here for making serialization work