Class IndexFile

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<java.io.File>

    public final class IndexFile
    extends java.io.File
    This specific File is meant to contain the index of the classes generated by a compilation-plugin
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FINAL_SUFFIX  
      static java.lang.String INDEX_FILE  
      • Fields inherited from class java.io.File

        pathSeparator, pathSeparatorChar, separator, separatorChar
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexFile​(java.io.File existingFile)  
      IndexFile​(java.lang.String modelType)  
      IndexFile​(java.lang.String parent, java.lang.String modelType)  
      IndexFile​(MemoryFile memoryFile)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      static java.util.Map<java.lang.String,​IndexFile> findIndexFilesFromClassLoader​(java.lang.ClassLoader classLoader, java.util.Set<java.lang.String> modelTypes)  
      byte[] getContent()  
      java.lang.String getModel()  
      int hashCode()  
      long length()  
      • Methods inherited from class java.io.File

        canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, isAbsolute, isDirectory, isFile, isHidden, lastModified, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
      • Methods inherited from class java.lang.Object

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

      • IndexFile

        public IndexFile​(java.lang.String modelType)
      • IndexFile

        public IndexFile​(java.lang.String parent,
                         java.lang.String modelType)
      • IndexFile

        public IndexFile​(java.io.File existingFile)
      • IndexFile

        public IndexFile​(MemoryFile memoryFile)
    • Method Detail

      • getModel

        public java.lang.String getModel()
      • length

        public long length()
        Overrides:
        length in class java.io.File
      • getContent

        public byte[] getContent()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.io.File
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.io.File
      • findIndexFilesFromClassLoader

        public static java.util.Map<java.lang.String,​IndexFile> findIndexFilesFromClassLoader​(java.lang.ClassLoader classLoader,
                                                                                                    java.util.Set<java.lang.String> modelTypes)