Package org.kie.efesto.common.api.io
Class IndexFile
- java.lang.Object
-
- java.io.File
-
- org.kie.efesto.common.api.io.IndexFile
-
- All Implemented Interfaces:
Serializable,Comparable<File>
public final class IndexFile extends File
This specificFileis 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 StringFINAL_SUFFIXstatic StringINDEX_FILE-
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Map<String,IndexFile>findIndexFilesFromClassLoader(ClassLoader classLoader, Set<String> modelTypes)byte[]getContent()StringgetModel()inthashCode()longlength()-
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
-
-
-
-
Field Detail
-
INDEX_FILE
public static final String INDEX_FILE
- See Also:
- Constant Field Values
-
FINAL_SUFFIX
public static final String FINAL_SUFFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IndexFile
public IndexFile(String modelType)
-
IndexFile
public IndexFile(File existingFile)
-
IndexFile
public IndexFile(MemoryFile memoryFile)
-
-
Method Detail
-
getModel
public String getModel()
-
getContent
public byte[] getContent()
-
-